github wneessen/go-mail v0.1.4
v0.1.4: Change in Write functions and lots of test **BREAKING CHANGE**

latest releases: v0.7.2, v0.7.1, v0.7.0...
pre-release3 years ago

Changelog

  • BREAKING CHANGE 709b4e6 adds an int64 return value to the various Writer functions. A test on the Msg.Write() method showed, that the returned number of bytes does not match the actul number of bytes returned. Reason for this was that the body writing methods were not counting the bytes, which I see as an incorrect behaviour. By returning the int64 value of written bytes the test will succeed again
  • Lots of tests have been added. Almost 40% of additional code coverage has been added since the last pre-release
  • bfcd52b adds String() methods to Header and AddrHeader
  • 4585a53 adds error return values to Option functions that require input validation
  • a87577d introduces the proper encoding of filenames for Attachments and Embeds
  • ce1c37b adds error checks for Msg.AttachFile() and Msg.EmbedFile(). If a file cannot be read it will be ignored and not added to the mail

Don't miss a new go-mail release

NewReleases is sending notifications on new releases.