Tags: CandisIO/enmime
Tags
Tag for the candis version of enmie till it gets merged into the actual repo
Fixed - Handle incorrectly indented headers (jhillyerd#149, thanks requaos) - Handle trailing separator characters in header (jhillyerd#154, thanks joekamibeppu) Changed - enmime no longer uses git-flow, and will now accept PRs against master
Added - Inject a `application/octet-stream` as default content type when none is present (jhillyerd#140, thanks requaos) - Add support for content-type params to part & encoding (jhillyerd#148, thanks pzeinlinger) - UTF-7 support (jhillyerd#17) Fixed - Handle missing parameter values in the middle of the media parameter list (jhillyerd#139, thanks requaos) - Fix boundaryReader to respect length instead of capacity (jhillyerd#145, thanks dcormier) - Handle very empty mime parts (jhillyerd#144, thanks dcormier)
Added - Public DecodeHeaders function for getting header data without processing the body parts (thanks requaos.) - Test coverage over 90% (thanks requaos!) Changed - Update dependencies Fixed - Do not attempt to detect character set for short messages (jhillyerd#131, thanks requaos.) - Possible slice out of bounds error (jhillyerd#134, thanks requaos.) - Tests on Go 1.13 no longer fail due to textproto change (jhillyerd#137, thanks to requaos.)
Added: - Make ParseMediaType public. Fixed: - Improve quoted display name handling (jhillyerd#112, thanks to requaos.) - Refactor MIME part boundary detection (thanks to requaos.) - Several improvements to MIME attribute decoding (thanks to requaos.) - Detect text/plain attachments properly (thanks to davrux.)
Added - Use github.com/pkg/errors to decorate errors with stack traces (thanks to dcomier.) - Several improvements to Content-Type header decoding (thanks to dcormier.) - File modification date to encode/decode (thanks to dann7387.) - Handle non-delimited address lists (thanks to requaos.) - RFC-2047 attribute name deocding (thanks to requaos.) Fixed - Only detect charset on `text/*` parts (thanks to dcormier.) - Stop adding extra newline during encode (thanks to dann7387.) - Math bug in selecting QP or base64 encoding (thanks to dann7387.)
v0.4.0 Added - Override declared character set if another is detected with high confidence (thanks to nerdlich.) - Handle unquoted specials in media type parameters (thanks to requaos.) - Handle barren Content-Type headers (thanks to dcormier.) - Better handle malformed media type parameters (thanks to dcormier.) Changed - Use iso-8859-1 character map when implicitly declared (thanks to requaos.) - Treat "inline" disposition as message content, not attachment unless it is accompanied by parameters (e.g. a filename, thanks to requaos.)
PreviousNext