Skip to content

Releases: stalwartlabs/mail-parser

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.

0.5.0

15 Jul 13:49
Compare
Choose a tag to compare
  • Message headers are now stored as a MessagePart with index 0.
  • Improved MessagePart API.
  • Nested base64/quoted-printable encoded message/rfc822 parts are automatically parsed when calling get_message.
  • Better handling of malformed MIME messages.
  • Added raw offsets to MIME parts.