Changelog for purebred-email-0.7
Version 0.7 (2025-08-31)
-
Support non-ASCII UTF-8 in
Subjectand other unstructured headers. (#82) -
Support non-ASCII UTF-8 in display name in the
Data.IMF.Textparser (theByteStringparser still only supports non-ASCII input via encoded-word). (#87) -
Export
contentTypeMultipartso that users can create all kinds of multipart messages. (#81) -
Add
headerAuthor, for and reading theAuthor:header field defined in [RFC 9057]. (#77) -
Add support for parsing MIME subparts without bodies. The new
entities'traversal visits all parts, projectingJust bodywhere there is a body otherwiseNothing. TheMIMEdata type gets the newPartNoBodyconstructor. (#90)
Version 0.6 (2022-09-13)
-
Parameterise the
ContentTypedata type over the "parameters" field. The type becomesContentTypeWith a. The data constructor name remainsContentType. ReintroduceContentTypeas a type synonym forContentTypeWith Parameters. A "bare content type" without parameters can be represented asContentTypeWith (). -
Introduce
emptyParameters :: Parameters. It is the same asmemptybut is convenient wherememptyis ambiguous. -
Accept
Content-Type: multipart/relatedwithouttypeparameter.RFC 2387 requires the
typeparameter. Nevertheless some producers, including GMail and Fastmail, generate non-conformant messages without thetypeparameter. Wrap theRelatedconstructor'sContentTypefield in aMaybe. (#68) -
Introduce the
ContentIDtype and use it for themultipart/relatedstartparameter. -
Add missing end-of-input assertions to several "secondary" parsers, which could otherwise accept invalid data.
-
defaultCharsets: recogniseasciias an alias ofus-ascii. (#69)
Older versions
See Git commit history