-
-
v0.11.2fee642d7 · ·
go-message v0.11.2 Alex Wennerberg (1): textproto: add error on invalid header key Dmitry Valter (1): Fix incorrect line folding of RFC2047-encoded strings Max Mazurov (1): textproto: add limits for header field length and total amount of fields Simon Ser (9): mail: minor comments and docs improvements readme: remove stability badge textproto: minor doc improvements mail: add headerParser mail: add Header.MessageID and Header.MsgIDList mail: add tests for Header.{MessageID,MsgIDList} textproto: remove unused skipSpace function textproto: add MultipartReader tests mail: add Message-Id test with IPv6 address
-
v0.11.08eb6e2ed · ·
go-message v0.11.0 This version adds support for all charsets in x/text/encoding to the charset package. Breaking change: charset.EncodeHeader and charset.DecodeHeader have been dropped. Full commit history: Simon Ser (4): mail: add more AttachmentHeader.Filename tests charset: drop DecodeHeader and EncodeHeader go fmt Add support for all charsets fox.cpp (1): textproto: Drop f.b assignment from WriteHeader
-
v0.10.327960133 · ·
go-message v0.10.3 Drew DeVault (1): Add utility function for generating Message-Id Simon Ser (4): textproto: add a (disabled) test for LF messages message: add a test for reading single-part entities textproto: remove logs, added by mistake textproto: fix parsing messages with LF line endings
-
v0.10.0547c9220 · ·
go-message v0.10.0 This release contains breaking changes. The header API has been completely re-written to ensure header fields don't get re-ordered and are modified in a way that doesn't break DKIM signatures. See the documentation for the new API [1]. You now need to explicitly import "github.com/emersion/go-message/charset" to opt-in to automatic charset decoding. In the mail package, Text parts have been renamed to Inline. [1]: https://godoc.org/github.com/emersion/go-message/textproto#Header NamedKitten (1): Fix tests. Simon Ser (4): charset: set message.CharsetReader on init, add docs readme: update CI badge to sr.ht mail: add CreateSingleInlineWriter Update golang.org/x/text emersion (23): Add new Header API Add readHeader More docs for new Header API Add basic writeHeader go fmt Preserve whitespace when writing headers Add example for new header API Improve TestHeaderWithWhitespace Move wire header API into subpackage Use new header API textproto: add example Move formatHeaderField to textproto Remove Header.{Set,}ContentDescription, add Header.{Set,}Text readme: add more features ci: switch to sr.ht Add go.mod Make Writer fail on invalid encoding/charset Document Writer mail: rename Text to Inline textproto: fix Header functions not having ptr receiver mail: remove New{Attachment,Inline}Header mail: add missing inline.go mail: remove dependency on charset package
-
-