Skip to content

Releases: wneessen/go-mail-middleware

v0.1.1: Security update

27 Sep 09:06
120c374

Choose a tag to compare

This update is a security update which bumps the go-mail version to 0.7.1 due to a security vulnerability in it. The details can be found in the security advisory: GHSA-wpwj-69cm-q9c5

While it is very unlikely that this vulnerability does affect go-mail-middleware directly, we encourage users to update to the latest release anyways.

What's Changed

  • Updated go-mail dependency to v0.7.1 due to a vulnerability by @wneessen in #84

Full Changelog: v0.1.0...v0.1.1

v0.1.0: Dependency updates, compatibility changes and DKIM bounary handling

21 Sep 16:18
fa26e75

Choose a tag to compare

Welcome to go-mail-middleware v0.1.0! 🎉

This release is mainly a maintenance update, but it also brings some compatibility changes as well as a fix in the boundary handling for the DKIM middleware.

Warning

BREAKING CHANGES! This release introduces some changes that might potentially break your code base, so please review carefully before upgrading.

Change in Supported Go Versions

With this release, go-mail-middleware will follow the changes of go-mail release v0.7.0, which will no longer commit to supporting the last four Go versions. Instead, we will follow the official Go release policy and only support versions that are actively maintained by the Go team. For details on the reasoning, please check the release notes of go-mail v0.7.0.

Change in boundary handling for the DKIM middleware

|Breaking change| With PR #80 and #81 the boundary handling has been changed in accordance to a go-mail change that was released in v0.6.2. While we think this change should not affect any current code, we mark this as potentially breaking, due to the lack of enough use cases. Please test your code before upgrading to this release. The fix was contributed by @rykov of the paperboy project. Thanks very much for your contribution!

What's Changed

  • DKIM: Preserve existing boundary, if set by @rykov in #80
  • DKIM: Fix boundary for multipart emails by @rykov in #81
  • Prepare release by @wneessen in #83

Dependency updates

  • Bump github.com/wneessen/go-mail from 0.5.2 to 0.6.1 by @dependabot[bot] in #63
  • Bump github.com/ProtonMail/gopenpgp/v2 from 2.8.1 to 2.8.2 by @dependabot[bot] in #64
  • Bump golang.org/x/text from 0.21.0 to 0.22.0 by @dependabot[bot] in #65
  • Bump github.com/wneessen/go-mail from 0.6.1 to 0.6.2 by @dependabot[bot] in #66
  • Bump github.com/ProtonMail/gopenpgp/v2 from 2.8.2 to 2.8.3 by @dependabot[bot] in #67
  • Bump golang.org/x/text from 0.22.0 to 0.23.0 by @dependabot[bot] in #68
  • Bump golang.org/x/text from 0.23.0 to 0.24.0 by @dependabot[bot] in #69
  • Bump golang.org/x/crypto from 0.33.0 to 0.35.0 by @dependabot[bot] in #70
  • Bump github.com/emersion/go-msgauth from 0.6.8 to 0.7.0 by @dependabot[bot] in #71
  • Bump golang.org/x/text from 0.24.0 to 0.25.0 by @dependabot[bot] in #72
  • Bump github.com/ProtonMail/gopenpgp/v2 from 2.8.3 to 2.9.0 by @dependabot[bot] in #73
  • Bump golang.org/x/text from 0.25.0 to 0.26.0 by @dependabot[bot] in #74
  • Bump github.com/cloudflare/circl from 1.6.0 to 1.6.1 by @dependabot[bot] in #75
  • Bump golang.org/x/text from 0.26.0 to 0.27.0 by @dependabot[bot] in #76
  • Bump golang.org/x/text from 0.27.0 to 0.28.0 by @dependabot[bot] in #77
  • Bump golang.org/x/text from 0.28.0 to 0.29.0 by @dependabot[bot] in #78
  • Bump github.com/wneessen/go-mail from 0.6.2 to 0.7.0 by @dependabot[bot] in #79

New Contributors

  • @rykov made their first contribution in #80

Full Changelog: v0.0.9...v0.1.0

v0.0.9: Dependencies update

31 Dec 18:00
94183e8

Choose a tag to compare

This release updates some third party dependencies.

What's Changed

  • Bump github.com/wneessen/go-mail from 0.5.0 to 0.5.1 by @dependabot in #56
  • Bump github.com/ProtonMail/gopenpgp/v2 from 2.7.5 to 2.8.0 by @dependabot in #59
  • Bump golang.org/x/text from 0.19.0 to 0.20.0 by @dependabot in #58
  • Bump github.com/wneessen/go-mail from 0.5.1 to 0.5.2 by @dependabot in #57
  • Bump github.com/ProtonMail/gopenpgp/v2 from 2.8.0 to 2.8.1 by @dependabot in #60
  • Bump golang.org/x/text from 0.20.0 to 0.21.0 by @dependabot in #61
  • Update dependencies: bump x/crypto and x/sys to latest versions by @wneessen in #62

Full Changelog: v0.0.8...v0.0.9

v0.0.8: Security release

07 Oct 13:48
6d14448

Choose a tag to compare

This release invalidates v0.0.7 due to an high severity vulnerability in github.com/cloudflare/circl that was overlooked during today's release.

What's Changed

  • Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 by @dependabot in #55

Full Changelog: v0.0.7...v0.0.8

v0.0.7; Dependancy updates

07 Oct 13:43
8e2d220

Choose a tag to compare

What's Changed

Full Changelog: v0.0.6...v0.0.7

v0.0.6: Dependancy updates and fixes

01 Jul 11:01
ea584fd

Choose a tag to compare

This release updates 3rd party dependencies and deployes some fixes.

Fix DKIM signing for multipart messages

A fix for DKIM signatures in multipart messages has been deployed to address #45. Since the middleware needs to write the message to a buffer, a random boundary is generated for multipart messages. Since this is only a temporary output, when the message is actually sent, a new boundary is generated and therefore the body hash does not match anymore. For now a fixed random boundary will be set to the Msg when the DKIM middleware is used. It is planned to add a GetBoundary method to go-mail, so that if the user already set a fixed boundary, we are not overriding it.

What's Changed

New Contributors

Full Changelog: v0.0.5...v0.0.6

v0.0.5: Improved error handling

30 Oct 13:05
4e48e85

Choose a tag to compare

This release introduces improved error handling for the two go-mail-middleware modules. Thanks to @alexballas

What's Changed

  • Error handling improvements for go-mail-middleware by @alexballas in #11

New Contributors

Full Changelog: v0.0.4...v0.0.5

v0.0.4: DKIM middleware

26 Oct 17:47
2c7af52

Choose a tag to compare

This release adds a DKIM middleware, which allows direct integration of DKIM signatures with go-mail.

What's Changed

  • Introduce golangci-lint by @wneessen in #5
  • Bump github.com/wneessen/go-mail from 0.3.1 to 0.3.2 by @dependabot in #7
  • Fix the Middleware interface due to the changes in go-mail v0.3.3 by @wneessen in #8
  • A test for Type() was missing by @wneessen in #9
  • DKIM middleware implementation by @wneessen in #10

Full Changelog: v0.0.3...v0.0.4

v0.0.3: Dependency updates

17 Oct 11:19
b30bad6

Choose a tag to compare

What's Changed

  • Bump golang.org/x/text from 0.3.7 to 0.3.8 by @dependabot in #3
  • Bump github.com/wneessen/go-mail from 0.2.9 to 0.3.1 by @dependabot in #4

New Contributors

Full Changelog: v0.0.2...v0.0.3

v0.0.2: Empty subject fix

03 Oct 09:27
1565172

Choose a tag to compare

This release fixes a bug in the subject_capitalize middleware, that would throw a index out of range error when a message had no subject set.