Skip to content

v0.3.6: Bugfixes and improvements

Compare
Choose a tag to compare
@wneessen wneessen released this 26 Dec 16:07
· 1228 commits to main since this release
f454ae8

This release is mainly a bugfix release but also introduces slight improvements.

One major bugfix is in Client.Send(), not sending all mails in case an error occured during a bulk mailing. Client.Send() provides the possibility to send multiple *Msg in one go. If one of the *Msg caused an error with the sending mail server, we were returning completely, while not processing any *Msg that came after the failing message.

This release fixes this behaviour by processing each message first and then return a accumulated error in case any of the *Msg processing failed

Additionally, this release separates the Client.Send() method into two different versions. One that makes use of the new errors.Join() functionality that is introduced with Go 1.20 and one that handles it the old way for any supported version lower than Go 1.20

Also welcome @james-d-elliott as new contributor to the project, providing a bugfix in the Client.Dialer and adding an option to disable NOOP calls. Thanks for the contribution, James!

What's Changed

New Contributors

Full Changelog: v0.3.5...v0.3.6