fix(deps): update module github.com/wneessen/go-mail to v0.3.2 #1297
No reviewers
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#1297
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.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 aio.Reader
interface by providing aRead
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 abufio.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. TheReader
type satisfies theio.Reader
interface and returns the data properly as well as returnsEOF
in case the end of data is reached.The initial
Read()
method has been removed from theMsg
type and instead aNewReader()
method has been introduced that returns theReader
type.BREAKING CHANGE: Since we remove the
Read
method from theMsg
theMsg
does not satisfy theio.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.
This PR has been generated by Renovate Bot.