Skip to content

Releases: emersion/go-message

0.10.0

14 May 16:26
v0.10.0
547c922
Compare
Choose a tag to compare
0.10.0 Pre-release
Pre-release
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

0.9.2

23 Mar 09:11
v0.9.2
63ac839
Compare
Choose a tag to compare
0.9.2 Pre-release
Pre-release
Anton Golubenko (1):

      Add non standart ansi_x3.110-1983 encoding

Max Gonzih (1):
      Don't split Quoted Printable characters during folding procedure

Ruslan Levitskiy (1):
      fix 'unhandled charset "cp1252"' error

v0.9.1

04 Mar 17:13
f7e2be8
Compare
Choose a tag to compare
v0.9.1 Pre-release
Pre-release
mail: do not return an error if header field is missing in Header.Add…

0.9

02 Aug 22:42
1716e3f
Compare
Choose a tag to compare
0.9 Pre-release
Pre-release

First release.