fix(deps): update module github.com/wneessen/go-mail to v0.3.2 #1297

Merged
konrad merged 1 commits from renovate/github.com-wneessen-go-mail-0.x into main 2022-10-21 12:59:51 +00:00
Member

This PR contains the following updates:

Package Type Update Change
github.com/wneessen/go-mail require patch v0.3.1 -> v0.3.2

⚠ 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.2

Compare Source

Initially the Msg implemented a io.Reader interface by providing a Read methods. Unfortunately the method chosen for this method was very naive. It works fine for smaller messages but could result in wrong data returned for larger messages or i. e. used in a bufio.Reader with non consecutive reads. Since we did not track the position and state of the reading operation, duplicate data might be returned to the caller eventually even leading into infinite loops.

This release fixes the issue be introducing a new Reader type. The Reader type satisfies the io.Reader interface and returns the data properly as well as returns EOF in case the end of data is reached.

The initial Read() method has been removed from the Msg type and instead a NewReader() method has been introduced that returns the Reader type.

BREAKING CHANGE: Since we remove the Read method from the Msg the Msg does not satisfy the io.Reader interface anymore, which is considered a breaking change. But given that the returned data of the original implementation might return duplicate or wrong data, this breaking change is considered as the right decision.

What's Changed

Full Changelog: https://github.com/wneessen/go-mail/compare/v0.3.1...v0.3.2


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.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/wneessen/go-mail](https://github.com/wneessen/go-mail) | require | patch | `v0.3.1` -> `v0.3.2` | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>wneessen/go-mail</summary> ### [`v0.3.2`](https://github.com/wneessen/go-mail/releases/tag/v0.3.2) [Compare Source](https://github.com/wneessen/go-mail/compare/v0.3.1...v0.3.2) Initially the `Msg` implemented a `io.Reader` interface by providing a `Read` methods. Unfortunately the method chosen for this method was very naive. It works fine for smaller messages but could result in wrong data returned for larger messages or i. e. used in a `bufio.Reader` with non consecutive reads. Since we did not track the position and state of the reading operation, duplicate data might be returned to the caller eventually even leading into infinite loops. This release fixes the issue be introducing a new `Reader` type. The `Reader` type satisfies the `io.Reader` interface and returns the data properly as well as returns `EOF` in case the end of data is reached. The initial `Read()` method has been removed from the `Msg` type and instead a `NewReader()` method has been introduced that returns the `Reader` type. **BREAKING CHANGE**: Since we remove the `Read` method from the `Msg` the `Msg` does not satisfy the `io.Reader` interface anymore, which is considered a breaking change. But given that the returned data of the original implementation might return duplicate or wrong data, this breaking change is considered as the right decision. #### What's Changed - Introduce golangci-lint by [@&#8203;wneessen](https://github.com/wneessen) in https://github.com/wneessen/go-mail/pull/66 - Fix codecov Go version setup by [@&#8203;wneessen](https://github.com/wneessen) in https://github.com/wneessen/go-mail/pull/67 - New Reader type by [@&#8203;wneessen](https://github.com/wneessen) in https://github.com/wneessen/go-mail/pull/68 **Full Changelog**: https://github.com/wneessen/go-mail/compare/v0.3.1...v0.3.2 </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yNDAuMiIsInVwZGF0ZWRJblZlciI6IjMyLjI0MC4yIn0=-->
renovate added the
dependencies
label 2022-10-20 17:01:29 +00:00
renovate added 1 commit 2022-10-20 17:01:30 +00:00
konrad merged commit b96e681270 into main 2022-10-21 12:59:51 +00:00
konrad deleted branch renovate/github.com-wneessen-go-mail-0.x 2022-10-21 12:59:51 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1297
No description provided.