Changelog for purebred-email-0.7
Version 0.7 (2025-08-31)
-
Support non-ASCII UTF-8 in
Subject
and other unstructured headers. (#82) -
Support non-ASCII UTF-8 in display name in the
Data.IMF.Text
parser (theByteString
parser still only supports non-ASCII input via encoded-word). (#87) -
Export
contentTypeMultipart
so 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 body
where there is a body otherwiseNothing
. TheMIME
data type gets the newPartNoBody
constructor. (#90)
Version 0.6 (2022-09-13)
-
Parameterise the
ContentType
data type over the "parameters" field. The type becomesContentTypeWith a
. The data constructor name remainsContentType
. ReintroduceContentType
as a type synonym forContentTypeWith Parameters
. A "bare content type" without parameters can be represented asContentTypeWith ()
. -
Introduce
emptyParameters :: Parameters
. It is the same asmempty
but is convenient wheremempty
is ambiguous. -
Accept
Content-Type: multipart/related
withouttype
parameter.RFC 2387 requires the
type
parameter. Nevertheless some producers, including GMail and Fastmail, generate non-conformant messages without thetype
parameter. Wrap theRelated
constructor'sContentType
field in aMaybe
. (#68) -
Introduce the
ContentID
type and use it for themultipart/related
start
parameter. -
Add missing end-of-input assertions to several "secondary" parsers, which could otherwise accept invalid data.
-
defaultCharsets
: recogniseascii
as an alias ofus-ascii
. (#69)
Older versions
See Git commit history