Update module github.com/jhillyerd/enmime to v0.11.1
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
github.com/jhillyerd/enmime | require | minor |
v0.7.0 -> v0.11.1
|
Release Notes
jhillyerd/enmime (github.com/jhillyerd/enmime)
v0.11.1
What's Changed
- Read all part content use ReadPartErrorPolicy. by @ly020044 in https://github.com/jhillyerd/enmime/pull/284
- Fix Go 1.20 parse errors: Maintain an internal copy of net/textproto with few fixes for email header by @iredmail in https://github.com/jhillyerd/enmime/pull/283
- Fix lint errors introduced by textproto import by @jhillyerd in https://github.com/jhillyerd/enmime/pull/285
New Contributors
- @ly020044 made their first contribution in https://github.com/jhillyerd/enmime/pull/284
- @iredmail made their first contribution in https://github.com/jhillyerd/enmime/pull/283
Full Changelog: https://github.com/jhillyerd/enmime/compare/v0.11.0...v0.11.1
v0.11.0
What's Changed
- feat: parse DSN by @dmytrokasianenko-outreach in https://github.com/jhillyerd/enmime/pull/268
- Remove CHANGELOG.md, see GitHub releases instead by @jhillyerd in https://github.com/jhillyerd/enmime/pull/272
- fix: Reject invalid MIME header name characters to support Go 1.20 by @jhillyerd in https://github.com/jhillyerd/enmime/pull/270
- parser: Add MaxStoredPartErrors option by @jhillyerd in https://github.com/jhillyerd/enmime/pull/274
- be able to control randomness of boundary headers by @xoba in https://github.com/jhillyerd/enmime/pull/276
- feat: export DecodeRFC2047 (#277) by @usedbytes in https://github.com/jhillyerd/enmime/pull/278
New Contributors
- @xoba made their first contribution in https://github.com/jhillyerd/enmime/pull/276
- @usedbytes made their first contribution in https://github.com/jhillyerd/enmime/pull/278
- @dependabot made their first contribution in https://github.com/jhillyerd/enmime/pull/281
Full Changelog: https://github.com/jhillyerd/enmime/compare/v0.10.1...v0.11.0
v0.10.1
Added
v0.10.0
Added
- Support for parser options! (#248)
- Option to skip parsing of malformed parts (#248)
- Envelope.Date() method for parsing date (#253)
- Option to handle missing multipart boundaries (#257)
Fixed
- Remove trailing HTML tags (#252)
- Buffer overrun in quoted-printable (#254)
- Corrected quoted-printable equals counting (#255)
- Improve splitting inside quoted text (#256)
v0.9.4
Added
- Remove HTML tags in malformed content types (#229)
- Maximal number of errors recorded in Part limited (#240)
- Builder: Support other parts (#244)
- Additional decoding in mail address (#247)
- Integration test include Go 1.18
Fixed
- Fix for quote-printed utf-8 header with quotes (#237)
- Parse address joined with semicolons (#238)
- Use extended parser after fixing address list (#239)
- Parse media types which are escaped at first rune (#246)
Changed
- Rely on stdlib for decoding to UTF-8, simplifies address parsing (#234)
v0.9.3
Added
Fixed
- Fix new lines (ie in filenames) in mediatype.Parse (#224)
- Fix crash in QPCleaner, when line is too long and buffer is almost full (#220)
v0.9.2
Added
- Auto-quote header parameters containing whitespace (#209)
Fixed
- Remove leading header parameter whitespace (#208)
Changed
- Move ParseMediaType to its own
mediatype
package to reduce the length of header.go. Introduce wrapper func to preserve public API.
v0.9.1
Added
-
mime-dump
now prints a stack trace when parsing fails for easier debugging
Fixed
- Handle trailing whitespace in
;
separated headers (#195, thanks demofrager) - Ignore empty sections in
;
separated headers (#199, thanks pavelbazika) - Handle very long lines inside mime boundaries (#200, thanks pavelbazika)
- Handle 8-bit characters in unencoded media type params (#201, thanks pavelbazika)
- Handle tiny destination buffers and long lines in quoted-printable blocks (#203)
Changed
- Encoder now uses QP or b64 encoding for 8-bit filenames instead of flattening to ASCII (#197, thanks Alexfilus)
v0.9.0
Added
-
SendWithReversePath
method to builder, allows specifying a reverse-path that differs from the from address (#179, thanks cgroschupp) - A
Sender
interface that allows our users to provide their own mail sending routines, or mock them in tests. #182
Fixed
- Reject empty addresses during builder validation (#187, thanks jawr)
- Allow unset subject line during builder validation (#191, thanks psanford)
Changed
- Updated dependencies
v0.8.4
Fixed
- Attachment file names containing semicolons are no longer truncated (#174)
v0.8.3
Fixed
- Reverted folded header parsing changes due to compatibility problems (#172)
- Improved performance and memory consumption of boundary reader (#170, thanks bttrfl and dcormier)
v0.8.2
Fixed
- Use DFS instead of BFS to locate HTML body to match behavior of popular email clients (#157, thanks huaconghub)
- Improvements to media type parsing
- Improvements to unescaping quotes with higher codepoints (#165, thanks pavelbazika)
- Improvements to folded header parsing (#166, thanks pacellig)
v0.8.1
Fixed
- Handle incorrectly indented headers (#149, thanks requaos)
- Handle trailing separator characters in header (#154, thanks joekamibeppu)
Changed
- enmime no longer uses git-flow, and will now accept MRs against master
v0.8.0
Added
- Inject a
application/octet-stream
as default content type when none is present (#140, thanks requaos) - Add support for content-type params to part & encoding (#148, thanks pzeinlinger)
- UTF-7 support (#17)
Fixed
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.