...

Text file src/github.com/go-mail/mail/CHANGELOG.md

Documentation: github.com/go-mail/mail

     1# Change Log
     2All notable changes to this project will be documented in this file.
     3This project adheres to [Semantic Versioning](http://semver.org/).
     4
     5## *Unreleased*
     6
     7## [2.3.1] - 2018-11-12
     8
     9### Fixed
    10
    11- #39: Reverts addition of Go modules `go.mod` manifest.
    12
    13## [2.3.0] - 2018-11-10
    14
    15### Added
    16
    17- #12: Adds `SendError` to provide additional info about the cause and index of
    18  a failed attempt to transmit a batch of messages.
    19- go-gomail#78: Adds new `Message` methods for attaching and embedding
    20  `io.Reader`s: `AttachReader` and `EmbedReader`.
    21
    22### Fixed
    23
    24- #26: Fixes RFC 1341 compliance by properly capitalizing the
    25  `MIME-Version` header.
    26- #30: Fixes IO errors being silently dropped in `Message.WriteTo`.
    27
    28## [2.2.0] - 2018-03-01
    29
    30### Added
    31
    32- #20: Adds `Message.SetBoundary` to allow specifying a custom MIME boundary.
    33- #22: Adds `Message.SetBodyWriter` to make it easy to use text/template and
    34  html/template for message bodies. Contributed by Quantcast.
    35- #25: Adds `Dialer.StartTLSPolicy` so that `MandatoryStartTLS` can be required,
    36  or `NoStartTLS` can disable it. Contributed by Quantcast.
    37
    38## [2.1.0] - 2017-12-14
    39
    40### Added
    41
    42- go-gomail#40: Adds `Dialer.LocalName` field to allow specifying the hostname
    43  sent with SMTP's HELO command.
    44- go-gomail#47: `Message.SetBody`, `Message.AddAlternative`, and
    45  `Message.AddAlternativeWriter` allow specifying the encoding of message parts.
    46- `Dialer.Dial`'s returned `SendCloser` automatically redials after a timeout.
    47- go-gomail#55, go-gomail#56: Adds `Rename` to allow specifying filename
    48  of an attachment.
    49- go-gomail#100: Exports `NetDialTimeout` to allow setting a custom dialer.
    50- go-gomail#70: Adds `Dialer.Timeout` field to allow specifying a timeout for
    51  dials, reads, and writes.
    52
    53### Changed
    54
    55- go-gomail#52: `Dialer.Dial` automatically uses CRAM-MD5 when available.
    56- `Dialer.Dial` specifies a default timeout of 10 seconds.
    57- Gomail is forked from <https://github.com/go-gomail/gomail/> to
    58  <https://github.com/go-mail/mail/>.
    59
    60### Deprecated
    61
    62- go-gomail#52: `NewPlainDialer` is deprecated in favor of `NewDialer`.
    63
    64### Fixed
    65
    66- go-gomail#41, go-gomail#42: Fixes a panic when a `Message` contains a
    67  nil header.
    68- go-gomail#44: Fixes `AddAlternativeWriter` replacing the message body instead
    69  of adding a body part.
    70- go-gomail#53: Folds long header lines for RFC 2047 compliance.
    71- go-gomail#54: Fixes `Message.FormatAddress` when name is blank.
    72
    73## [2.0.0] - 2015-09-02
    74
    75- Mailer has been removed. It has been replaced by Dialer and Sender.
    76- `File` type and the `CreateFile` and `OpenFile` functions have been removed.
    77- `Message.Attach` and `Message.Embed` have a new signature.
    78- `Message.GetBodyWriter` has been removed. Use `Message.AddAlternativeWriter`
    79instead.
    80- `Message.Export` has been removed. `Message.WriteTo` can be used instead.
    81- `Message.DelHeader` has been removed.
    82- The `Bcc` header field is no longer sent. It is far more simpler and
    83efficient: the same message is sent to all recipients instead of sending a
    84different email to each Bcc address.
    85- LoginAuth has been removed. `NewPlainDialer` now implements the LOGIN
    86authentication mechanism when needed.
    87- Go 1.2 is now required instead of Go 1.3. No external dependency are used when
    88using Go 1.5.

View as plain text