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