Maurus Decimus
f39064dc3c
Fix HTML text parsing issues
2026-10-06 15:45:20 +02:00
Maurus Decimus
79b2f3fd5e
Non-conforming RFC5322 address oddly mangled ( fixes #162 )
2026-10-06 15:32:24 +02:00
Maurus Decimus
52cb6bd6c7
SSSE3 tier vectorises
2026-10-02 17:36:31 +02:00
Maurus Decimus
4a6bacfbd8
Updated decoders
2026-10-02 16:41:05 +02:00
Maurus Decimus
bf226297ac
Added header_count function
2026-10-01 21:48:59 +02:00
Maurus Decimus
c22d5fe970
Updated Miri details
2026-09-29 10:58:56 +02:00
Maurus Decimus
096b8b01e2
Updated benchmarks
2026-09-28 19:26:54 +02:00
Maurus Decimus
a5a5d74ba0
Merge v1.0.0 branch into main ( fixes #156 closes #127 fixes #109 closes #107 closes #98 closes #82 closes #73 fixes #119 fixes #70 fixes #67 )
2026-09-28 14:00:35 +02:00
Maurus Decimus
4eba485d94
Bump to hashify 0.3
2026-09-23 11:35:41 +02:00
Maurus Decimus
cac12a5c2b
Updated threading algorithm
2026-09-18 14:05:03 +02:00
Maurus Decimus
918cc0c891
v0.11.9
2026-09-09 19:13:19 +01:00
Maurus Decimus
d26ec82e6a
Added base64_decode_slice behind the new base64_slice feature, which adds a memchr dependency
2026-09-09 19:12:46 +01:00
Maurus Decimus
499ae0f2ff
Fix: HeaderName breaks rkyv serialization from <= 0.11.6
2026-08-22 10:39:04 +02:00
Maurus Decimus
350034b33c
clippy fixes
2026-08-21 17:24:58 +02:00
Maurus Decimus
1883c39102
v0.11.7
2026-08-20 16:14:00 +02:00
Maurus Decimus
5528d5b49f
Fix: DateTime::to_timezone corrupting non-whole-hour offsets by storing leftover seconds in tz_minute ( closes #158 )
2026-08-20 15:10:50 +02:00
Maurus Decimus
b4366b7537
v0.11.6
2026-08-10 19:32:04 +02:00
Maurus Decimus
3574f17a22
Fix: Multi-word display names followed by a comment no longer produce a fabricated address ( closes #153 )
2026-08-10 19:28:16 +02:00
Maurus Decimus
f9a580c551
Fix: panic when a Received header ends with a folded line ( closes #155 )
2026-08-10 19:22:45 +02:00
sftse
339a4306d3
fix: return all To, Cc, Bcc headers ( #152 )
2026-07-20 11:54:36 +02:00
Maurus Decimus
e2bcdf1e03
Fix: Missing whitespace between a quoted name and a following encoded word ( closes #150 )
2026-07-20 11:42:07 +02:00
Maurus Decimus
67a53e3ded
Fix: panic with messages containing corrupted eml attachments ( closes #120 ).
2026-07-08 17:59:12 +02:00
Maurus Decimus
b47ebe0d8f
Recognize additional charset labels supported by encoding_rs ( closes #123 )
2026-07-08 17:07:13 +02:00
Maurus Decimus
67055bdc30
Fix: Decode the iso-8859-1 label as windows-1252 per the WHATWG Encoding Standard ( closes #131 )
2026-07-08 16:38:27 +02:00
Maurus Decimus
7da1ecc33c
Added Dkim2Signature and MessageInstance to support DKIM2 headers
2026-07-08 16:32:47 +02:00
Maurus Decimus
a6d6e10a82
Fix: Address names containing LF are not parsed correctly ( closes #149 )
2026-07-08 16:17:52 +02:00
Maurus Decimus
250f3a1cf4
v0.11.4
2026-06-21 10:10:49 +02:00
Maurus Decimus
6da7920ab6
Leniently decode quoted-printable bodies with invalid = escapes ( closes #144 )
2026-06-21 09:07:56 +02:00
Maurus Decimus
0128bc1da0
Add Message::received_all() to iterate over all Received header fields ( closes #146 )
2026-06-21 08:12:03 +02:00
Maurus Decimus
a13fe5c32d
Bump edition to 2024 ( closes #147 )
2026-06-21 08:05:08 +02:00
Maurus Decimus
8d571e4c7e
Fix: parse_date() does not handle UTC+12 and greater ( fixes #148 )
2026-06-21 08:02:57 +02:00
Maurus Decimus
b905fda07d
Reject dates with invalid month names
2026-05-10 11:15:48 +02:00
Maurus Decimus
2bff6e8d9d
Fix panic with messages containing corrupted attachments ( closes #145 )
2026-05-02 09:15:12 +02:00
Teal Bauer
ebd2b179df
fix(html): skip style/script/template blocks in html_to_text ( #134 )
2026-02-24 19:45:37 +01:00
mdecimus
af44d480ad
v0.11.2
2026-02-14 18:43:43 +00:00
mdecimus
9122a32e08
Fix CRLF tests ( closes #132 )
2026-02-04 20:48:44 +01:00
mdecimus
7fada6e911
Clippy fixes
2026-01-29 11:04:22 +01:00
Cameron Little
df057edf09
Fix broken receive header date parsing when tab is used in long header syntax ( #130 )
...
* Add example tests for broken received parsing in shapelib email
This comes from http://lists.maptools.org/pipermail/shapelib.mbox/shapelib.mbox , where several of the emails received headers are incorrectly parsed.
The bad parsing looks like this:
Original header value:
```
from [217.146.183.184] by nm2.bullet.mail.ukl.yahoo.com with NNFMP; 09 Mar 2011 11:19:46 -0000
```
```json
"date": {
"year": 1911,
"month": 219,
"day": 3,
"hour": 19,
"minute": 46,
"second": 0,
"tz_before_gmt": true,
"tz_hour": 0,
"tz_minute": 0
}
```
Where the year should be 2011 and the month 3.
Weirdly, this reproduces in full message parsing, but not in the individual `received.json` tests.
This looks like it's similar to https://learn.microsoft.com/en-us/answers/questions/2737324/windows-live-mail-has-received-date-set-well-into
* Fix
* Add test case from https://github.com/stalwartlabs/mail-parser/issues/81
2026-01-15 00:18:34 +01:00
mdecimus
6c5d330285
Updated roundtip date conversion tests
v0.11.1
2025-08-18 12:03:32 +01:00
mdecimus
957185aed4
v0.11.1
2025-08-18 11:56:55 +01:00
mdecimus
c5d47b5b8e
v0.11.0
v0.11.0
2025-05-11 16:29:41 +02:00
andreadev-it
0a07a6f3d4
Fixed typo in header.rs ( #105 )
2025-03-24 10:10:09 +01:00
Stephen Becker IV
b29325709a
fix-no-newline-parse ( #102 )
...
* fix-no-newline-parse
Dearest Reviewer,
Issue #90 brought up the issue that if there was no newline. the user
provided an easy reproduction case. I was able to track it down to the
parse raw function.
The issue is that the loop hits the end of the string and returns Empty.
However, if there is a start offset then some characters were found. This
code just checks the offset after the loop.
If this is not the correct behavior please close.
Thanks for your time
Becker
* pr feedback
Add break instead of duplicating code.
2025-03-09 18:25:07 +01:00
Stephen Becker IV
41a96cd647
fix-fuzz-targets ( #103 )
...
* fix-fuzz-targets
Dearest Reviewer,
While creating PR #102 I tried running the fuzz command and found it
failing. It looks like the functions were made private and parse headers
arguments were updated.
I dont know if this is a complete update or what is covered but it does
get `cargo +nightly fuzz run mail_parser` working again.
Thanks for your time.
Becker
* readd space
2025-03-02 18:37:17 +01:00
mdecimus
b0ba8dba3b
Clippy fix
2025-02-27 17:24:43 +01:00
sftse
60fe70d2c5
fix: express custom trait with stdlib traits ( #101 )
2025-02-09 15:53:53 +01:00
sftse
209778f080
Informing callers of buffering requirements prevents accidental double buffering ( #100 )
2025-02-09 15:52:22 +01:00
mdecimus
0bcf5f513c
v0.10.2
2025-01-28 18:26:37 +01:00
mdecimus
3e300dd2c2
Fixed Headername::parse
2025-01-26 16:07:18 +01:00
mdecimus
c177ffaca3
v0.10.0
v0.10.0
2025-01-26 15:31:53 +01:00