Skip to content

Releases: emersion/go-message

0.18.1

08 Apr 10:39
v0.18.1
Compare
Choose a tag to compare
go-message v0.18.1

Lars Lehtonen (1):
      mail: fix dropped error

Simon Ser (3):
      Add more robust line wrapper
      message: drop extraneous newline
      message: handle Writer.Close errors in Entity.WriteTo

0.18.0

10 Jan 11:21
v0.18.0
Compare
Choose a tag to compare
go-message v0.18.0

Simon Ser (7):
      Upgrade golang.org/x/text
      go fmt
      ci: add gofmt check
      ci: switch to alpine/latest
      mail: improve test name for Header.Date CFWS
      mail: return zero time on missing Date field
      mail: unset Message-Id if empty

0.17.0

27 Aug 15:45
v0.17.0
Compare
Choose a tag to compare
go-message v0.17.0

Karel Balej (1):
      charset: support x-UTF_8J

Matheus Guissi (1):
      Fixing wrong var in example_test.go

Simon Ser (7):
      readme: restrict CI badge to master branch
      Upgrade dependencies
      go fmt
      message: add note about charset used when writing new messages
      readme: switch back to pkg.go.dev for docs
      Fix unused variable
      Upgrade dependencies

j.r (1):
      Add function to set Message-ID hostname manually

0.16.0

26 May 09:21
v0.16.0
Compare
Choose a tag to compare
go-message v0.16.0

David Bennington (2):
      Introduce ReadWithOptions
      Tolerate (incorrect) folding whitespace used in base64 encoded body content

Simon Ser (4):
      github: redirect to Libera webchat for questions
      mail: don't set an empty header field in SetMsgIDList
      Simplify ReadOptions defaults
      Improve ReadOptions docs

Tim Culverhouse (1):
      fix: prevent setting empty address list headers

iRedMail (1):
      Update golang.org/x/text v0.3.7

0.15.0

11 Jun 12:41
v0.15.0
Compare
Choose a tag to compare
go-message v0.15.0

2pi (1):
      mail: use stdlib instead of external dependency

Simon Ser (9):
      readme: switch GoDoc links to godocs.io
      ci: drop codecov
      textproto: misc doc & style cleanup
      go fmt
      Bump minimum Go version to 1.14
      mail: fix typo in Header.Copy doc comment
      Add HeaderFromMap
      textproto: add Header.Map
      Update dependencies

0.14.1

06 Jan 12:53
v0.14.1
Compare
Choose a tag to compare
0.14.1 Pre-release
Pre-release
go-message v0.14.1

Simon Ser (4):
      mail: add Header.SetMessageID
      textproto: don't always ignore EOF in ReadHeader
      textproto: return line bytes on error in readLineSlice
      Move header size restriction from textproto to message

iRedMail (1):
      Respect existing `Mime-Version:` header

0.14.0

25 Nov 20:24
v0.14.0
e7268f8
Compare
Choose a tag to compare
0.14.0 Pre-release
Pre-release
go-message v0.14.0

Reto Brunner (3):
      mail: use type aliases for Address
      Export ParseAddressList and add ParseAddress for symetry
      operate on a copy of the header for write methods

Simon Ser (9):
      Update dependencies
      charset: drop us-ascii quirk
      charset: drop more us-ascii aliases quirks
      message: introduce Entity.Walk
      Fix misleading doc comment
      message: bubble encoding errors to WalkFunc
      message, mail: add Header.Copy
      textproto: introduce Header.Values
      charset: re-enable hz-gb-2312

0.13.0

26 Oct 21:43
v0.13.0
9280793
Compare
Choose a tag to compare
0.13.0 Pre-release
Pre-release
go-message v0.13.0

This release contains one breaking change: GenerateMessageID has been
replaced by Header.GenerateMessageID.

Ben Fiedler (1):
      Match test error message to produced error

James (1):
      Ensure errors returned from fields.Text() verify IsUnknownCharset

Matthias Schneider (1):
      encoding: exported IsUnknownEncoding #99

Reto Brunner (1):
      Export Unknown{Charset,Encoding}Errors

Simon Ser (8):
      readme: update CI badge to only show status for commits
      go fmt
      charset: remove charsets supported by htmlindex
      charset: fix htmlindex fallback
      mail: replace GenerateMessageID with Header.GenerateMessageID
      mail: add Header.SetMsgIDList
      go.mod: bump minimum Go version to 1.13
      mail: warn against using Address.String for a header field

Tamás Gulácsi (1):
      charset: Try htmlindex, too

0.12.0

28 May 13:21
v0.12.0
Compare
Choose a tag to compare
0.12.0 Pre-release
Pre-release
go-message v0.12.0

Dmitry Valter (1):
      textproto: check header characters

René 'Necoro' Neumann (1):
      Add CreateInlineWriter to get a writer that allows alternatives, but no attachments.

Reto Brunner (1):
      Remove hz-gb-2312 encoding as it can crash

Simon Ser (2):
      Add test converting an Entity to quoted-printable
      textproto: add Header.Raw and HeaderFields.Raw

Vladimír Dudr (1):
      writer: add Mime-Version header when missing

fox.cpp (1):
      textproto: Add HeaderFields.Len

0.11.2

15 Apr 10:30
v0.11.2
Compare
Choose a tag to compare
0.11.2 Pre-release
Pre-release
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