Skip to content

Releases: stalwartlabs/mail-parser

v0.10.0

26 Jan 14:32
Compare
Choose a tag to compare
  • Perfect hashing using hashify crate rather than static gperf generated code.
  • Added DkimSignature, ArcAuthenticationResults, ArcMessageSignature and ArcSeal headers.
  • HeaderName is non-exhaustive.
  • Parse obsolete timezones (#95).
  • Fix: Folding ws between "Content-Type:" and "plain/text" leads to empty header (#96).
  • Fix: Multiline quoted continuations (closes #92).
  • Fix: Deserialize (#93).
  • Retain mbox IO errors (#91).
  • Hide concrete type behind impl type (#94).
  • Removed ludicrous feature, the Rust compiler is smart enough to optimize array lookups.

v0.9.2

27 Nov 08:36
Compare
Choose a tag to compare
  • Fixed quoted_printable_decode external function (not used by mail-parser directly).
  • Fix Received header serialization for bincode compatibility.

v0.9.1

22 Sep 11:41
Compare
Choose a tag to compare

mail-parser 0.9.1

  • Fixed panic when Content-Disposition is empty (#63)
  • Removed content_type() and address() functions that could panic!. Use as_content_type() and as_address() instead.
  • Updated Rust edition to 2021.

v0.9.0

05 Sep 16:14
Compare
Choose a tag to compare

This version introduces multiple breaking changes. Please read the following notes carefully.

  • Parsing is now done using MessageParser, which allows to customize the parsing process.
  • Added parser for Received headers.
  • Added MessageParser::parse_headers function to parse only the headers of a message.
  • Removed RfcHeader enum, now all headers are represented using HeaderName.
  • All address types are now stored in the HeaderValue::Address variant using the Address enum.
  • Renamed the as_ prefix to to_ in some functions.

0.8.2

22 Feb 13:19
Compare
Choose a tag to compare
  • Fix: Parsing address name with \ characters (#41)
  • Fix: Missing space when folded header begins with RFC2047 word (#43)

0.8.1

09 Feb 00:15
Compare
Choose a tag to compare
  • Added raw_message() function.

0.8.0

01 Dec 15:06
Compare
Choose a tag to compare
  • Removed get_() prefixes (#31).
  • Maildir import: Use modified time instead of created time (#32)

0.7.0

21 Oct 13:51
Compare
Choose a tag to compare
  • Base64/QuotedPrintable decoding optimizations.
  • Automatic parsing of base64/qp encoded nested messages.
  • Refactoring or MessageStream to use iterators more efficiently.
  • Added "ludicrous mode" Cargo option to use some unsafe code for additional performance.
  • Fixed support for empty messages.
  • Fixed raw offsets of multipart/* parts to include MIME epilogue.
  • Fixed values of non-RFC headers.

0.6.1

09 Sep 09:13
c9b2120
Compare
Choose a tag to compare
  • Support for malformed unstructured fields containing encoded words (#29).
  • Add support for gb2312 charsets (#30).

0.6.0

21 Aug 10:29
Compare
Choose a tag to compare
  • Maildir parsing support.
  • Headers and attributes are now stored in a Vec instead of a HashMap for tiny performance enhancement.
  • Support for Content-Type attributes spanning multiple lines.
  • Support for malformed Thunderbird messages (#27).
  • Fixed raw offset range for body parts.