Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/wneessen/go-mail from 0.2.9 to 0.3.1 #4

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 17, 2022

Bumps github.com/wneessen/go-mail from 0.2.9 to 0.3.1.

Release notes

Sourced from github.com/wneessen/go-mail's releases.

v0.3.1: Access to message attachments

This release introduces a couple of new methods on the Msg, which will help the Msg.Middleware to deal with Msg attachments.

To get the Msg attachments, we can now use the Msg.GetAttachments() methods to get the list of currently assigned attachments to the Msg.

To set the Msg attachments, we can now use the Msg.SetAttachments() methods to set a list of *File as Msg attachments.

What's Changed

Full Changelog: wneessen/go-mail@v0.3.0...v0.3.1

v0.3.0: Access to message body parts

This release introduces a couple of new methods on the Msg as well as the Part. This will help the Msg.Middleware to be more extensible since we allow access not only to headers but also to body parts.

To get the Msg body parts, one can now utilize the Msg.GetParts() methods to get the list of currently assigned message parts to the Msg.

Each Part has now an additional list of getters/setters, to read and modify the given part:

  • Part.GetContent(): get the parts content
  • Part.GetContentType(): get the parts content type
  • Part.GetEncoding(): get the parts encoding
  • Part.GetWriteFunc(): get the parts write function

Each of these Part.Get*() methods also has an corresponding Part.Set*() methods what overrides the current value

Noteworthy changes

  • a3a2b0e4b45409b9d0271da19182a875a827af72 Introduces the new getter/setter methods
Commits
  • da089fc Update doc.go
  • 4264923 Merge pull request #63 from dhia-gharsallaoui/main
  • b94a42e Expose Msg attachments fields
  • 94924cb Update doc.go
  • a3a2b0e Merge pull request #61 from wneessen/60-expose-msg-fields
  • 15caea0 Closes #60. Added final test coverage and an additional SetContent method
  • dbe5874 #60 Working on Get/Set methods to access the Msg part slice
  • 4e0d92d Merge pull request #59 from wneessen/version-bump-029
  • 5b8ceb8 Bump version to 0.2.9
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 17, 2022
Bumps [github.com/wneessen/go-mail](https://github.com/wneessen/go-mail) from 0.2.9 to 0.3.1.
- [Release notes](https://github.com/wneessen/go-mail/releases)
- [Commits](wneessen/go-mail@v0.2.9...v0.3.1)

---
updated-dependencies:
- dependency-name: github.com/wneessen/go-mail
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/wneessen/go-mail-0.3.1 branch from 91c1cb0 to 2c21e46 Compare October 17, 2022 11:15
@wneessen wneessen merged commit b30bad6 into main Oct 17, 2022
@wneessen wneessen deleted the dependabot/go_modules/github.com/wneessen/go-mail-0.3.1 branch October 17, 2022 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant