Releases: wneessen/go-mail-middleware
v0.1.1: Security update
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
Full Changelog: v0.1.0...v0.1.1
v0.1.0: Dependency updates, compatibility changes and DKIM bounary handling
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
Full Changelog: v0.0.9...v0.1.0
v0.0.9: Dependencies update
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
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
What's Changed
- Update README.md by @wneessen in #46
- Bump golang.org/x/text from 0.16.0 to 0.17.0 by @dependabot in #47
- Bump github.com/wneessen/go-mail from 0.4.2 to 0.4.3 by @dependabot in #48
- Bump github.com/wneessen/go-mail from 0.4.3 to 0.4.4 by @dependabot in #50
- Bump golang.org/x/text from 0.17.0 to 0.18.0 by @dependabot in #51
- Bump golang.org/x/text from 0.18.0 to 0.19.0 by @dependabot in #53
- Bump github.com/wneessen/go-mail from 0.4.4 to 0.5.0 by @dependabot in #52
- Dependency updates by @wneessen in #54
Full Changelog: v0.0.6...v0.0.7
v0.0.6: Dependancy updates and fixes
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
- Dependency update: bump go-mail to v0.3.5 by @wneessen in #12
- Bump golang.org/x/text from 0.4.0 to 0.5.0 by @dependabot in #13
- Bump golang.org/x/text from 0.5.0 to 0.6.0 by @dependabot in #15
- CRLF fix and dependency updates by @wneessen in #17
- add openpgp encryption middleware by @dhia-gharsallaoui in #18
- A couple of fixed for the openpgp middleware by @wneessen in #19
- Fixes and tests by @wneessen in #20
- Refactored the package for different PGP encoding schemes by @wneessen in #21
- Introducing actions by @wneessen in #22
- Added signing and enc/signing by @wneessen in #23
- More work on the PGP Schemes by @wneessen in #24
- Bump golang.org/x/text from 0.6.0 to 0.7.0 by @dependabot in #26
- Bump golang.org/x/text from 0.7.0 to 0.8.0 by @dependabot in #27
- Bump github.com/wneessen/go-mail from 0.3.9-0.20230129135243-cfaeb51bef7f to 0.3.9 by @dependabot in #28
- Bump golang.org/x/text from 0.8.0 to 0.9.0 by @dependabot in #31
- Bump golang.org/x/text from 0.9.0 to 0.10.0 by @dependabot in #33
- Bump golang.org/x/text from 0.10.0 to 0.11.0 by @dependabot in #35
- Bump github.com/wneessen/go-mail from 0.3.9 to 0.4.0 by @dependabot in #34
- Update dependencies by @wneessen in #40
- Bump golang.org/x/text from 0.14.0 to 0.15.0 by @dependabot in #41
- Bump golang.org/x/text from 0.15.0 to 0.16.0 by @dependabot in #42
- Fix DKIM signing for multipart messages by @wneessen in #45
New Contributors
- @dhia-gharsallaoui made their first contribution in #18
Full Changelog: v0.0.5...v0.0.6
v0.0.5: Improved error handling
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
- @alexballas made their first contribution in #11
Full Changelog: v0.0.4...v0.0.5
v0.0.4: DKIM middleware
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
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
- @dependabot made their first contribution in #3
Full Changelog: v0.0.2...v0.0.3
v0.0.2: Empty subject fix
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.