fix(deps): update module github.com/wneessen/go-mail to v0.3.5 #1325
No reviewers
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#1325
Loading…
Reference in New Issue
No description provided.
Delete Branch "renovate/github.com-wneessen-go-mail-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v0.3.4
->v0.3.5
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
wneessen/go-mail
v0.3.5
Compare Source
This release fixes a bug in the
msgWriter
error handling as well as introduces the newGetAddrHeader
method. Thanks to @oschwald for both, the error report and the feature request.msgWriter.writeBody
method was not working properly. We basically overwrote themw.err
withnil
if the function that followed after a failed write attempt was successful again.SetHeader
andSetHeaderPreformatted
have been deprecated in favour ofSetGenHeader
andSetGenHeaderPreformatted
As pointed out in #80 the naming was pretty confusing, given that we already haveSetAddrHeader
.With the new naming convention it should be more clear to the user, which method to use for which action. For compatibility reasons the old methods have been kept for now but in reality they are just aliases to the new methods.
GetAddrHeader
andGetAddrHeaderString
have been introduced As requested in #80 analogous toGetGenHeader
we also need a similar method for the address headers. Since address headers are*mail.Address
pointer, we've also added a*String
method that will extract the address string and return a string slice instead.GetTo
,GetFrom
,GetCc
andGetBcc
(with a*String
counterpart as well). This way the user has full flexibility. Either they use the more "low-level"GetAddrHeader
method or the higher level methods for the corresponding address typeNOTE; We encourage users who use the
SetHeader
method in their code to switch toSetGenHeader
instead.What's Changed
Full Changelog: https://github.com/wneessen/go-mail/compare/v0.3.4...v0.3.5
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.