# Changelog

## [3.15.2](https://github.com/nodemailer/mailparser/compare/v3.15.1...v3.15.2) (2026-12-02)


### Bug Fixes

* update dependencies ([6df2550](https://github.com/nodemailer/mailparser/commit/6df2550f2da21a29d3e53a814c74b9a4f7459391))

## [3.15.1](https://github.com/nodemailer/mailparser/compare/v3.15.0...v3.15.1) (2026-11-30)


### Bug Fixes

* count HTML nesting depth with the parser that builds the document ([9b029e9](https://github.com/nodemailer/mailparser/commit/9b029e946a3faff084dbd4191ae1e9d8697d519b))
* update dependencies ([88cce43](https://github.com/nodemailer/mailparser/commit/88cce43c1713de3bb0b60f06b33cdb49f858195b))

## [3.15.0](https://github.com/nodemailer/mailparser/compare/v3.14.5...v3.15.0) (2026-11-20)


### Features

* defaultTextCharset option for text bodies that name no charset ([872c2de](https://github.com/nodemailer/mailparser/commit/872c2de2470923ba8a0e1780a85e28b3f8f1dd31)), closes [#480](https://github.com/nodemailer/mailparser/issues/480)


### Bug Fixes

* update dependencies ([e2cc3ed](https://github.com/nodemailer/mailparser/commit/e2cc3edbf8656627ee2c01de139db0c7040346a7))

## [3.14.5](https://github.com/nodemailer/mailparser/compare/v3.14.4...v3.14.5) (2026-11-16)


### Bug Fixes

* move link detection to linkify-it 6 ([6527e91](https://github.com/nodemailer/mailparser/commit/6527e9131c5a58a0497d2990cfae2bcf7e58ab13))

## [3.14.4](https://github.com/nodemailer/mailparser/compare/v3.14.3...v3.14.4) (2026-11-15)


### Bug Fixes

* update dependencies ([bc39266](https://github.com/nodemailer/mailparser/commit/bc39266c22fcd6156a2f5c4c81e84c72f1813ecd))

## [3.14.3](https://github.com/nodemailer/mailparser/compare/v3.14.2...v3.14.3) (2026-11-10)


### Bug Fixes

* update dependencies ([76cdfce](https://github.com/nodemailer/mailparser/commit/76cdfce245775bdbc71293734e05b6113fa4133d))

## [3.14.2](https://github.com/nodemailer/mailparser/compare/v3.14.1...v3.14.2) (2026-11-04)


### Bug Fixes

* update dependencies ([7f3bad5](https://github.com/nodemailer/mailparser/commit/7f3bad59b53c8063d059d561b759d57d1be4d4b8))

## [3.14.1](https://github.com/nodemailer/mailparser/compare/v3.14.0...v3.14.1) (2026-10-29)


### Bug Fixes

* update dependencies ([e5ae8e4](https://github.com/nodemailer/mailparser/commit/e5ae8e4d06058878e7a2bea4440f31af659a3c10))

## [3.14.0](https://github.com/nodemailer/mailparser/compare/v3.13.0...v3.14.0) (2026-10-29)


### Features

* export parseOtpToken for OTP-Token values read outside the parser ([fda26b2](https://github.com/nodemailer/mailparser/commit/fda26b2c1a14927b17a16a42d406576f21de4fc4))

## [3.13.0](https://github.com/nodemailer/mailparser/compare/v3.12.4...v3.13.0) (2026-10-29)


### Features

* parse the OTP-Token header into mail.otp ([bc20682](https://github.com/nodemailer/mailparser/commit/bc206829c8cc287b7d980d604d0a3fbe6cbc0179))


### Bug Fixes

* update dependencies ([f94b954](https://github.com/nodemailer/mailparser/commit/f94b954efcdf63d117097ebdecf79acb71e81bfa))

## [3.12.4](https://github.com/nodemailer/mailparser/compare/v3.12.3...v3.12.4) (2026-10-22)


### Bug Fixes

* update dependencies ([fe3b459](https://github.com/nodemailer/mailparser/commit/fe3b4596140eccfdd8e224ab4576094e0e49ef54))

## [3.12.3](https://github.com/nodemailer/mailparser/compare/v3.12.2...v3.12.3) (2026-10-22)


### Bug Fixes

* **deps:** bump mailsplit to 5.4.28 and libmime to 5.6.3 ([996a18f](https://github.com/nodemailer/mailparser/commit/996a18f06a8a7e93c3042e293a35f3abb4d159bf))
* **deps:** bump mailsplit to 5.4.29, which reads an RFC 2231 filename the same way ([7ccd32b](https://github.com/nodemailer/mailparser/commit/7ccd32b72a1321543a02bddbfe0ef2c372ec0e0f))
* drop the comments of a Content-Type or Content-Disposition in the headers map ([eaf345b](https://github.com/nodemailer/mailparser/commit/eaf345b8bb9c94866da3bf1722aede6a88a7e11b))
* tell an RFC 2231 parameter apart by what libmime decoded, not by a second scan of the header ([eba8da2](https://github.com/nodemailer/mailparser/commit/eba8da294cd077d4816398a5499b14f1a79031d5))

## [3.12.2](https://github.com/nodemailer/mailparser/compare/v3.12.1...v3.12.2) (2026-10-21)


### Bug Fixes

* the html and text forms parseAddressHeader() builds lazily can be assigned again ([bc6c421](https://github.com/nodemailer/mailparser/commit/bc6c4215c531a448c71540027c5ade74b4d60fab))

## [3.12.1](https://github.com/nodemailer/mailparser/compare/v3.12.0...v3.12.1) (2026-10-21)


### Bug Fixes

* parseAddressHeader() builds the html and text forms only when they are read ([e08de61](https://github.com/nodemailer/mailparser/commit/e08de61740d04bdd534f8006d5b88eba6e4f89ed))

## [3.12.0](https://github.com/nodemailer/mailparser/compare/v3.11.0...v3.12.0) (2026-10-21)


### Features

* parseAddressHeader() accepts decodePunycode: false to keep IDN domains in ASCII form ([0652c3f](https://github.com/nodemailer/mailparser/commit/0652c3fca470d975aed0e6ec5b1a4ca8e53d95f1))

## [3.11.0](https://github.com/nodemailer/mailparser/compare/v3.10.0...v3.11.0) (2026-10-21)


### Features

* accept checksumAlgo: false to skip hashing attachments ([21f806c](https://github.com/nodemailer/mailparser/commit/21f806cd03b0b98644ad7a5b95678cc259f838db))
* export parseAddressHeader() for parsing an address header value ([8ac364e](https://github.com/nodemailer/mailparser/commit/8ac364e330fbc815b45986a0f64251b382b88421))


### Bug Fixes

* decode text bodies with libmime's decode stream ([b9a5e41](https://github.com/nodemailer/mailparser/commit/b9a5e4125f1bf0a4aa88d275da5fbdb282cb779c))

## [3.10.0](https://github.com/nodemailer/mailparser/compare/v3.9.47...v3.10.0) (2026-10-19)


### Features

* migrate to TypeScript with ES module and CommonJS builds ([1d9b23c](https://github.com/nodemailer/mailparser/commit/1d9b23c9fb4d760f4036a5416e4178cdfac07a0a))

## [3.9.47](https://github.com/nodemailer/mailparser/compare/v3.9.46...v3.9.47) (2026-10-19)


### Bug Fixes

* bump libmime to 5.5.2 ([7df8fed](https://github.com/nodemailer/mailparser/commit/7df8fedfd28efd23f76b5efb3d23d46b43c65ea9))

## [3.9.46](https://github.com/nodemailer/mailparser/compare/v3.9.45...v3.9.46) (2026-10-18)


### Bug Fixes

* bump libmime to 5.5.1, @zone-eu/mailsplit to 5.4.26 and nodemailer to 10.1.7 ([7279da5](https://github.com/nodemailer/mailparser/commit/7279da5c906cc7c155bdee16e6f10327d8e054ff))

## [3.9.45](https://github.com/nodemailer/mailparser/compare/v3.9.44...v3.9.45) (2026-10-18)


### Bug Fixes

* bump nodemailer to 10.1.6 ([2815d34](https://github.com/nodemailer/mailparser/commit/2815d34e689c4b78b2e2633ae5e4b97fa7e24ebf))

## [3.9.44](https://github.com/nodemailer/mailparser/compare/v3.9.43...v3.9.44) (2026-10-18)


### Bug Fixes

* bump nodemailer to 10.1.5 ([218b801](https://github.com/nodemailer/mailparser/commit/218b8014016eb79969788b92b8981f49c799a05e))

## [3.9.43](https://github.com/nodemailer/mailparser/compare/v3.9.42...v3.9.43) (2026-10-18)


### Bug Fixes

* bump nodemailer to 10.1.4 ([3c68409](https://github.com/nodemailer/mailparser/commit/3c68409192cc34299ddc2479a1429ec218c1a4b9))

## [3.9.42](https://github.com/nodemailer/mailparser/compare/v3.9.41...v3.9.42) (2026-10-18)


### Bug Fixes

* bump @zone-eu/mailsplit to 5.4.25 ([e4500fb](https://github.com/nodemailer/mailparser/commit/e4500fbd7cc5e0e0b1f070332bf797a5e331e5c7))

## [3.9.41](https://github.com/nodemailer/mailparser/compare/v3.9.40...v3.9.41) (2026-10-18)


### Bug Fixes

* bump @zone-eu/mailsplit to 5.4.24 ([eb4b34b](https://github.com/nodemailer/mailparser/commit/eb4b34b04b18de974a3bd61c295d2abca1eb0d69))

## [3.9.40](https://github.com/nodemailer/mailparser/compare/v3.9.39...v3.9.40) (2026-10-16)


### Bug Fixes

* bump @zone-eu/mailsplit to 5.4.23 ([32adf4f](https://github.com/nodemailer/mailparser/commit/32adf4f9b7d10a95f98359de7476ebb7fe526cf0))
* bump libmime to 5.4.9 and nodemailer to 10.1.2 ([a928892](https://github.com/nodemailer/mailparser/commit/a92889221c11eb81b06472f911672b71c288c4ef))
* keep the message when its HTML can not be converted to text, and never turn a decoded display name into an address ([0d234fd](https://github.com/nodemailer/mailparser/commit/0d234fd3ab1207a617e3682b27c72f4902d76936))

## [3.9.39](https://github.com/nodemailer/mailparser/compare/v3.9.38...v3.9.39) (2026-10-14)


### Bug Fixes

* **deps:** update nodemailer to 10.1.1, libmime to 5.4.8 and mailsplit to 5.4.21 ([43ddf3e](https://github.com/nodemailer/mailparser/commit/43ddf3e9214b2a14b20319d1679ffe001a3a6889))

## [3.9.38](https://github.com/nodemailer/mailparser/compare/v3.9.37...v3.9.38) (2026-10-10)


### Bug Fixes

* **deps:** update nodemailer to 10.1.0 ([278b12c](https://github.com/nodemailer/mailparser/commit/278b12cba8d285d659eb63cafd9a5de7abea5d22))

## [3.9.37](https://github.com/nodemailer/mailparser/compare/v3.9.36...v3.9.37) (2026-10-08)


### Bug Fixes

* **deps:** update nodemailer to 10.0.16 ([20bcdf9](https://github.com/nodemailer/mailparser/commit/20bcdf9153bb821907e42e086efd340da337aca0))

## [3.9.36](https://github.com/nodemailer/mailparser/compare/v3.9.35...v3.9.36) (2026-10-05)


### Bug Fixes

* **deps:** pin he back to 1.2.0, the last CommonJS release ([c1de2ad](https://github.com/nodemailer/mailparser/commit/c1de2adf42df903d928c3de607b58e3e5fee136c))

## [3.9.35](https://github.com/nodemailer/mailparser/compare/v3.9.34...v3.9.35) (2026-10-04)


### Bug Fixes

* **deps:** update libmime to 5.4.7, mailsplit to 5.4.20 and he to 2.0.0 ([c1d68c2](https://github.com/nodemailer/mailparser/commit/c1d68c2582a01a284afd6b86a8782bdfa492afda))

## [3.9.34](https://github.com/nodemailer/mailparser/compare/v3.9.33...v3.9.34) (2026-10-03)


### Bug Fixes

* **deps:** update nodemailer to 10.0.14 ([f79334d](https://github.com/nodemailer/mailparser/commit/f79334d4f2b1cd296a7b4770710ee5095a78c43a))

## [3.9.33](https://github.com/nodemailer/mailparser/compare/v3.9.32...v3.9.33) (2026-10-01)


### Bug Fixes

* report an unavailable checksum algorithm as a parser error ([dc24878](https://github.com/nodemailer/mailparser/commit/dc248783a735c379627c0afd76ee3d7ff5400ce0))

## [3.9.32](https://github.com/nodemailer/mailparser/compare/v3.9.31...v3.9.32) (2026-09-30)


### Bug Fixes

* **deps:** update nodemailer to 10.0.13 ([c0dfdf8](https://github.com/nodemailer/mailparser/commit/c0dfdf87cdee539ae40a46a09d6a3f5f1b47cd3c))

## [3.9.31](https://github.com/nodemailer/mailparser/compare/v3.9.30...v3.9.31) (2026-09-28)


### Bug Fixes

* **deps:** update libmime to 5.4.6 and mailsplit to 5.4.19 ([bdaf7c3](https://github.com/nodemailer/mailparser/commit/bdaf7c3945d1c3dc0bebb0300c5dd9cd243e2746))

## [3.9.30](https://github.com/nodemailer/mailparser/compare/v3.9.29...v3.9.30) (2026-09-28)


### Bug Fixes

* cap inlined cid images, report late splitter errors, settle once, honour attachment backpressure, derive partId from the part number ([af3fe56](https://github.com/nodemailer/mailparser/commit/af3fe56719ae6bf5d867f22faf3bf81942659bdd))

## [3.9.29](https://github.com/nodemailer/mailparser/compare/v3.9.28...v3.9.29) (2026-09-27)


### Bug Fixes

* **deps:** update nodemailer to 10.0.11 ([bd1407a](https://github.com/nodemailer/mailparser/commit/bd1407a1f653e4fdb95df406e779184164ddee38))

## [3.9.28](https://github.com/nodemailer/mailparser/compare/v3.9.27...v3.9.28) (2026-09-15)


### Bug Fixes

* **deps:** update libmime to 5.4.4 and mailsplit to 5.4.17 ([8da897f](https://github.com/nodemailer/mailparser/commit/8da897ffb961f6967f57851131ee37600842afca))

## [3.9.27](https://github.com/nodemailer/mailparser/compare/v3.9.26...v3.9.27) (2026-09-15)


### Bug Fixes

* **deps:** update nodemailer to 10.0.10, encoding-japanese to 2.4.0 ([842904f](https://github.com/nodemailer/mailparser/commit/842904f1df3e2b1b1f07ad108575806efbcc55b5))

## [3.9.26](https://github.com/nodemailer/mailparser/compare/v3.9.25...v3.9.26) (2026-09-12)


### Bug Fixes

* **deps:** update nodemailer to 10.0.9 ([518307d](https://github.com/nodemailer/mailparser/commit/518307d2e3b05690c8e92566f5a3c7f2e73900a7))

## [3.9.25](https://github.com/nodemailer/mailparser/compare/v3.9.24...v3.9.25) (2026-09-11)


### Bug Fixes

* **deps:** update nodemailer to 10.0.8 ([3aaba1a](https://github.com/nodemailer/mailparser/commit/3aaba1aeaba44ca90be3d40880479b87f3fbd4a0))

## [3.9.24](https://github.com/nodemailer/mailparser/compare/v3.9.23...v3.9.24) (2026-09-10)


### Bug Fixes

* **deps:** update nodemailer to 10.0.3 ([fb296d4](https://github.com/nodemailer/mailparser/commit/fb296d45d6581a11d98255cf4c1a29c6c78f6425))

## [3.9.23](https://github.com/nodemailer/mailparser/compare/v3.9.22...v3.9.23) (2026-09-07)


### Bug Fixes

* **deps:** update nodemailer to 10.0.1 ([5c2bda3](https://github.com/nodemailer/mailparser/commit/5c2bda37501d8cec5e5cb4b09bb2ce4812006de3))

## [3.9.22](https://github.com/nodemailer/mailparser/compare/v3.9.21...v3.9.22) (2026-09-06)


### Bug Fixes

* declare the Node 20 floor this package already has ([e9de771](https://github.com/nodemailer/mailparser/commit/e9de7718eea4486ce8992c34660c37c7ca07c36d))

## [3.9.21](https://github.com/nodemailer/mailparser/compare/v3.9.20...v3.9.21) (2026-09-06)


### Bug Fixes

* **deps:** move to nodemailer 10 ([a83474e](https://github.com/nodemailer/mailparser/commit/a83474ee34f9f0ac047c49925c9ac3b7b0734855))

## [3.9.20](https://github.com/nodemailer/mailparser/compare/v3.9.19...v3.9.20) (2026-09-01)


### Bug Fixes

* **deps:** update nodemailer to 9.1.1 ([36233e6](https://github.com/nodemailer/mailparser/commit/36233e60c50b06a9b17beee1f608d73ab976a07c))

## [3.9.19](https://github.com/nodemailer/mailparser/compare/v3.9.18...v3.9.19) (2026-08-31)


### Bug Fixes

* **deps:** update libmime and mailsplit for the CP932 extended areas ([0bbe7a3](https://github.com/nodemailer/mailparser/commit/0bbe7a358672f8fd3c47b002c95867d672a58d07))

## [3.9.18](https://github.com/nodemailer/mailparser/compare/v3.9.17...v3.9.18) (2026-08-31)


### Bug Fixes

* **deps:** update nodemailer to 9.1.0 ([b812c54](https://github.com/nodemailer/mailparser/commit/b812c54a733d96cdc8d9b2567d111322f2404724))

## [3.9.17](https://github.com/nodemailer/mailparser/compare/v3.9.16...v3.9.17) (2026-08-27)


### Bug Fixes

* **deps:** update nodemailer to 9.0.6 ([26c7ccb](https://github.com/nodemailer/mailparser/commit/26c7ccb129fe6554613d7af12fb2b362e64e6d82))

## [3.9.16](https://github.com/nodemailer/mailparser/compare/v3.9.15...v3.9.16) (2026-08-24)


### Bug Fixes

* bound linkify-it scanning of untrusted text bodies ([1910471](https://github.com/nodemailer/mailparser/commit/1910471a4edd72249237ce7ad243228d61c4908f))
* **deps:** update html-to-text to 10.0.1 ([308e1b2](https://github.com/nodemailer/mailparser/commit/308e1b2993e554470ecbd3570cdd18a394b866b3))

## [3.9.15](https://github.com/nodemailer/mailparser/compare/v3.9.14...v3.9.15) (2026-08-07)


### Bug Fixes

* update dependencies (@zone-eu/mailsplit 5.4.15, libmime 5.4.2, nodemailer 9.0.5) ([047379d](https://github.com/nodemailer/mailparser/commit/047379df5537d799e21b410a7c9019872579ff5a))

## [3.9.14](https://github.com/nodemailer/mailparser/compare/v3.9.13...v3.9.14) (2026-07-05)


### Bug Fixes

* update dependencies (@zone-eu/mailsplit 5.4.14) ([595b150](https://github.com/nodemailer/mailparser/commit/595b150e760af9c5044c4b3c53b3c7ca669f6057))

## [3.9.13](https://github.com/nodemailer/mailparser/compare/v3.9.12...v3.9.13) (2026-07-05)


### Bug Fixes

* update dependencies (nodemailer 9.0.3, iconv-lite 0.7.3, libmime 5.4.1) ([999e77b](https://github.com/nodemailer/mailparser/commit/999e77bf86f9e404bc9fb89cb5dc89cc1f84a577))

## [3.9.12](https://github.com/nodemailer/mailparser/compare/v3.9.11...v3.9.12) (2026-06-25)


### Bug Fixes

* decode iso-8859-8-i and iso-8859-8-e charsets as iso-8859-8 ([3e4b7fc](https://github.com/nodemailer/mailparser/commit/3e4b7fc00429a85f6b4c41da13deaf5be3087eed))

## [3.9.11](https://github.com/nodemailer/mailparser/compare/v3.9.10...v3.9.11) (2026-06-19)


### Bug Fixes

* bump nodemailer to 9.0.1 ([020f140](https://github.com/nodemailer/mailparser/commit/020f140e67e98ac65c1d56d48c838986f7decc8a))

## [3.9.10](https://github.com/nodemailer/mailparser/compare/v3.9.9...v3.9.10) (2026-06-15)


### Bug Fixes

* bump dependencies (nodemailer 9, eslint 10.5, prettier 3.8.4) ([262ecff](https://github.com/nodemailer/mailparser/commit/262ecffcd649a6b0d4164271cc7a2662f9789f64))

## [3.9.9](https://github.com/nodemailer/mailparser/compare/v3.9.8...v3.9.9) (2026-05-29)


### Bug Fixes

* bumped deps ([7a83b91](https://github.com/nodemailer/mailparser/commit/7a83b9184509c15faa580e91ac7a7b1e8f3b1090))

## [3.9.8](https://github.com/nodemailer/mailparser/compare/v3.9.7...v3.9.8) (2026-04-08)


### Bug Fixes

* Bumped deps ([ea415b2](https://github.com/nodemailer/mailparser/commit/ea415b20985f0ebb5e4795b5fb4623d9a58006b3))

## [3.9.7](https://github.com/nodemailer/mailparser/compare/v3.9.6...v3.9.7) (2026-04-08)


### Bug Fixes

* Bumped deps ([35cf54f](https://github.com/nodemailer/mailparser/commit/35cf54fb62167796f216bb6561f92e55e1246e48))

## [3.9.6](https://github.com/nodemailer/mailparser/compare/v3.9.5...v3.9.6) (2026-03-25)


### Bug Fixes

* bump nodemailer to 8.0.4 ([b2d7f77](https://github.com/nodemailer/mailparser/commit/b2d7f77b514da996c76d49b146e7e37b598a622a))

## [3.9.5](https://github.com/nodemailer/mailparser/compare/v3.9.4...v3.9.5) (2026-03-23)


### Bug Fixes

* Bumped deps ([1556b84](https://github.com/nodemailer/mailparser/commit/1556b8437b417f8fe60c202bf758ef078f0a7f0a))

## [3.9.4](https://github.com/nodemailer/mailparser/compare/v3.9.3...v3.9.4) (2026-03-09)


### Bug Fixes

* bump nodemailer to 8.0.2 for unquoted comma-in-display-name parsing ([dd71f08](https://github.com/nodemailer/mailparser/commit/dd71f0817fb229aa1ffb421b9384704e550993ca))
* filter false values from empty References headers ([9884e5d](https://github.com/nodemailer/mailparser/commit/9884e5dd34b9dff9a45f6c205281a50d702a23b1)), closes [#385](https://github.com/nodemailer/mailparser/issues/385)
* prevent RFC 2047 encoded-word address fabrication in decodeAddresses ([08b800c](https://github.com/nodemailer/mailparser/commit/08b800cd1c5a2ec2341ad4c7f25dc65f584b3999))

## [3.9.3](https://github.com/nodemailer/mailparser/compare/v3.9.2...v3.9.3) (2026-01-28)


### Bug Fixes

* escape URLs and link text in textToHtml to prevent XSS ([921a67d](https://github.com/nodemailer/mailparser/commit/921a67df4cfb38f0b411037d7b26fbd4d5411b08)), closes [#412](https://github.com/nodemailer/mailparser/issues/412)

## [3.9.2](https://github.com/nodemailer/mailparser/compare/v3.9.1...v3.9.2) (2026-01-28)


### Bug Fixes

* Bumpe deps ([508bcf7](https://github.com/nodemailer/mailparser/commit/508bcf75eb36cfd45600d73eacd7ad1e50fc7466))

## [3.9.1](https://github.com/nodemailer/mailparser/compare/v3.9.0...v3.9.1) (2025-12-11)


### Bug Fixes

* update dependencies ([6879d1b](https://github.com/nodemailer/mailparser/commit/6879d1bd7969cd4cc1e1480b4a5acd0215b3cd6c))

## [3.9.0](https://github.com/nodemailer/mailparser/compare/v3.8.1...v3.9.0) (2025-11-05)


### Features

* **events:** Emit a new headerLines event to gain access the raw headers ([#364](https://github.com/nodemailer/mailparser/issues/364)) ([d33d7ec](https://github.com/nodemailer/mailparser/commit/d33d7ec4b8e32a4eb7a9a664cec5fdb545c274af))


### Bug Fixes

* :arrow_up: update nodemailer dependency to resolve security issue GHSA-9h6g-pr28-7cqp ([#357](https://github.com/nodemailer/mailparser/issues/357)) ([8bc4225](https://github.com/nodemailer/mailparser/commit/8bc42251fca6f538ece599f0a5bebe09b0aeff4f))
* 150 ([919f69a](https://github.com/nodemailer/mailparser/commit/919f69a49eb1326431c27c7034050498ca504822))
* 272: Throw TypeError for invalid input. ([abd7e43](https://github.com/nodemailer/mailparser/commit/abd7e43d90e533921c13ed8044a892761ef0535d))
* 34, bump version ([09aa0bd](https://github.com/nodemailer/mailparser/commit/09aa0bd59c1a70229567ff830adfd44c01605c2f))
* bumped deps ([9a13f4e](https://github.com/nodemailer/mailparser/commit/9a13f4efca4b209a40f4d57d2edbd019706a82c7))
* Bumped deps ([bb9c014](https://github.com/nodemailer/mailparser/commit/bb9c014c061def565183205a3ba3d269680f8271))
* Bumped deps ([9e084f9](https://github.com/nodemailer/mailparser/commit/9e084f9f265ddcfbf8ad3a3e68fc0645d4eb9d1d))
* Bumped mailsplit to fix flowed parser ([da753e4](https://github.com/nodemailer/mailparser/commit/da753e45ab6d335429bbdb38c5457d04d893d05e))
* capture decoder end event to use on cleanup ([4e367f7](https://github.com/nodemailer/mailparser/commit/4e367f7fda2505b9edb8e195eb5b1a8e1d1531fc))
* **deploy:** added auto-deployment ([d6eb56f](https://github.com/nodemailer/mailparser/commit/d6eb56fe09fe8b415e5bbf2e53704f6788ca0fee))
* **deps:** Bumped deps ([db842ad](https://github.com/nodemailer/mailparser/commit/db842addd36e2fe94d0c4b466da80719a36f47ac))
* **deps:** Bumped deps to fix issue with missing whitespace ([92884d0](https://github.com/nodemailer/mailparser/commit/92884d0619efa77042ecc35fbc887e93a59e5a93))
* **deps:** Bumped Nodemailer to fix issue with long data URI's ([d24f96e](https://github.com/nodemailer/mailparser/commit/d24f96e1ff6becccf3ba7f10798481287e0c96b0))
* **deps:** Replaced 'punycode' with 'punycode.js' module ([4a15157](https://github.com/nodemailer/mailparser/commit/4a15157dc9a815aa0e756d9e6ae0e8631842c447))
* error on ks_c_5601-1987 ([89572e0](https://github.com/nodemailer/mailparser/commit/89572e000d815704378261c753f59442397b8564))
* Fix produced text address list string according to rfc 2822 ([#340](https://github.com/nodemailer/mailparser/issues/340)) ([6bae600](https://github.com/nodemailer/mailparser/commit/6bae600a3f4a0452ee7ca43634a11939de7bcc6d))
* handle simpleParser input stream error ([faf9fc5](https://github.com/nodemailer/mailparser/commit/faf9fc5d8a27c1f88b7a126782d84ce2fef4d4bd))
* **punycode:** Fixes [#355](https://github.com/nodemailer/mailparser/issues/355) Deprecation warning of the punycode module ([#356](https://github.com/nodemailer/mailparser/issues/356)) ([0f35330](https://github.com/nodemailer/mailparser/commit/0f35330c87d715d38e8c853ae6c2f64d098b971d))
* **simple-parser:** Buffer.from(string) default encode is utf-8,when input string‘s encode is gbk,result has some garbled ([633e436](https://github.com/nodemailer/mailparser/commit/633e4369c93dc5122c8c8bee0fd2b057761e1223))
* **test:** updated test matrix (18, 20, 21) ([a2ba9c2](https://github.com/nodemailer/mailparser/commit/a2ba9c236dcd7f990c9d53a386ffaa5b564181b3))
* trigger new build ([3cf6241](https://github.com/nodemailer/mailparser/commit/3cf62417ffd5185d2461259b1c2580b036210df3))
* trigger new build ([7f2eb78](https://github.com/nodemailer/mailparser/commit/7f2eb78eda722e369b532b836e02b631d2cbb31c))

## [3.8.1](https://github.com/nodemailer/mailparser/compare/mailparser-v3.8.0...mailparser-v3.8.1) (2025-11-05)


### Bug Fixes

* trigger new build ([7f2eb78](https://github.com/nodemailer/mailparser/commit/7f2eb78eda722e369b532b836e02b631d2cbb31c))

## [3.8.0](https://github.com/nodemailer/mailparser/compare/mailparser-v3.7.5...mailparser-v3.8.0) (2025-11-04)


### Features

* **events:** Emit a new headerLines event to gain access the raw headers ([#364](https://github.com/nodemailer/mailparser/issues/364)) ([d33d7ec](https://github.com/nodemailer/mailparser/commit/d33d7ec4b8e32a4eb7a9a664cec5fdb545c274af))


### Bug Fixes

* :arrow_up: update nodemailer dependency to resolve security issue GHSA-9h6g-pr28-7cqp ([#357](https://github.com/nodemailer/mailparser/issues/357)) ([8bc4225](https://github.com/nodemailer/mailparser/commit/8bc42251fca6f538ece599f0a5bebe09b0aeff4f))
* 150 ([919f69a](https://github.com/nodemailer/mailparser/commit/919f69a49eb1326431c27c7034050498ca504822))
* 272: Throw TypeError for invalid input. ([abd7e43](https://github.com/nodemailer/mailparser/commit/abd7e43d90e533921c13ed8044a892761ef0535d))
* 34, bump version ([09aa0bd](https://github.com/nodemailer/mailparser/commit/09aa0bd59c1a70229567ff830adfd44c01605c2f))
* bumped deps ([9a13f4e](https://github.com/nodemailer/mailparser/commit/9a13f4efca4b209a40f4d57d2edbd019706a82c7))
* Bumped deps ([bb9c014](https://github.com/nodemailer/mailparser/commit/bb9c014c061def565183205a3ba3d269680f8271))
* Bumped deps ([9e084f9](https://github.com/nodemailer/mailparser/commit/9e084f9f265ddcfbf8ad3a3e68fc0645d4eb9d1d))
* Bumped mailsplit to fix flowed parser ([da753e4](https://github.com/nodemailer/mailparser/commit/da753e45ab6d335429bbdb38c5457d04d893d05e))
* capture decoder end event to use on cleanup ([4e367f7](https://github.com/nodemailer/mailparser/commit/4e367f7fda2505b9edb8e195eb5b1a8e1d1531fc))
* **deploy:** added auto-deployment ([d6eb56f](https://github.com/nodemailer/mailparser/commit/d6eb56fe09fe8b415e5bbf2e53704f6788ca0fee))
* **deps:** Bumped deps ([db842ad](https://github.com/nodemailer/mailparser/commit/db842addd36e2fe94d0c4b466da80719a36f47ac))
* **deps:** Bumped deps to fix issue with missing whitespace ([92884d0](https://github.com/nodemailer/mailparser/commit/92884d0619efa77042ecc35fbc887e93a59e5a93))
* **deps:** Bumped Nodemailer to fix issue with long data URI's ([d24f96e](https://github.com/nodemailer/mailparser/commit/d24f96e1ff6becccf3ba7f10798481287e0c96b0))
* **deps:** Replaced 'punycode' with 'punycode.js' module ([4a15157](https://github.com/nodemailer/mailparser/commit/4a15157dc9a815aa0e756d9e6ae0e8631842c447))
* error on ks_c_5601-1987 ([89572e0](https://github.com/nodemailer/mailparser/commit/89572e000d815704378261c753f59442397b8564))
* Fix produced text address list string according to rfc 2822 ([#340](https://github.com/nodemailer/mailparser/issues/340)) ([6bae600](https://github.com/nodemailer/mailparser/commit/6bae600a3f4a0452ee7ca43634a11939de7bcc6d))
* handle simpleParser input stream error ([faf9fc5](https://github.com/nodemailer/mailparser/commit/faf9fc5d8a27c1f88b7a126782d84ce2fef4d4bd))
* **punycode:** Fixes [#355](https://github.com/nodemailer/mailparser/issues/355) Deprecation warning of the punycode module ([#356](https://github.com/nodemailer/mailparser/issues/356)) ([0f35330](https://github.com/nodemailer/mailparser/commit/0f35330c87d715d38e8c853ae6c2f64d098b971d))
* **simple-parser:** Buffer.from(string) default encode is utf-8,when input string‘s encode is gbk,result has some garbled ([633e436](https://github.com/nodemailer/mailparser/commit/633e4369c93dc5122c8c8bee0fd2b057761e1223))
* **test:** updated test matrix (18, 20, 21) ([a2ba9c2](https://github.com/nodemailer/mailparser/commit/a2ba9c236dcd7f990c9d53a386ffaa5b564181b3))

## [3.7.5](https://github.com/nodemailer/mailparser/compare/v3.7.4...v3.7.5) (2025-10-09)


### Bug Fixes

* bumped deps ([9a13f4e](https://github.com/nodemailer/mailparser/commit/9a13f4efca4b209a40f4d57d2edbd019706a82c7))

## [3.7.4](https://github.com/nodemailer/mailparser/compare/v3.7.3...v3.7.4) (2025-06-29)


### Bug Fixes

* Bumped deps ([bb9c014](https://github.com/nodemailer/mailparser/commit/bb9c014c061def565183205a3ba3d269680f8271))
* Bumped mailsplit to fix flowed parser ([da753e4](https://github.com/nodemailer/mailparser/commit/da753e45ab6d335429bbdb38c5457d04d893d05e))

## [3.7.3](https://github.com/nodemailer/mailparser/compare/v3.7.2...v3.7.3) (2025-05-20)


### Bug Fixes

* Bumped deps ([9e084f9](https://github.com/nodemailer/mailparser/commit/9e084f9f265ddcfbf8ad3a3e68fc0645d4eb9d1d))

## [3.7.2](https://github.com/nodemailer/mailparser/compare/v3.7.1...v3.7.2) (2024-11-29)


### Bug Fixes

* **deps:** Bumped deps to fix issue with missing whitespace ([92884d0](https://github.com/nodemailer/mailparser/commit/92884d0619efa77042ecc35fbc887e93a59e5a93))

## [3.7.1](https://github.com/nodemailer/mailparser/compare/v3.7.0...v3.7.1) (2024-04-25)


### Bug Fixes

* **deps:** Replaced 'punycode' with 'punycode.js' module ([4a15157](https://github.com/nodemailer/mailparser/commit/4a15157dc9a815aa0e756d9e6ae0e8631842c447))

## [3.7.0](https://github.com/nodemailer/mailparser/compare/v3.6.9...v3.7.0) (2024-04-01)


### Features

* **events:** Emit a new headerLines event to gain access the raw headers ([#364](https://github.com/nodemailer/mailparser/issues/364)) ([d33d7ec](https://github.com/nodemailer/mailparser/commit/d33d7ec4b8e32a4eb7a9a664cec5fdb545c274af))

## [3.6.9](https://github.com/nodemailer/mailparser/compare/v3.6.8...v3.6.9) (2024-02-29)


### Bug Fixes

* **deps:** Bumped deps ([db842ad](https://github.com/nodemailer/mailparser/commit/db842addd36e2fe94d0c4b466da80719a36f47ac))

## [3.6.8](https://github.com/nodemailer/mailparser/compare/v3.6.7...v3.6.8) (2024-02-29)


### Bug Fixes

* **punycode:** Fixes [#355](https://github.com/nodemailer/mailparser/issues/355) Deprecation warning of the punycode module ([#356](https://github.com/nodemailer/mailparser/issues/356)) ([0f35330](https://github.com/nodemailer/mailparser/commit/0f35330c87d715d38e8c853ae6c2f64d098b971d))

## [3.6.7](https://github.com/nodemailer/mailparser/compare/v3.6.6...v3.6.7) (2024-02-01)


### Bug Fixes

* :arrow_up: update nodemailer dependency to resolve security issue GHSA-9h6g-pr28-7cqp ([#357](https://github.com/nodemailer/mailparser/issues/357)) ([8bc4225](https://github.com/nodemailer/mailparser/commit/8bc42251fca6f538ece599f0a5bebe09b0aeff4f))

## [3.6.6](https://github.com/nodemailer/mailparser/compare/v3.6.5...v3.6.6) (2024-01-04)


### Bug Fixes

* **deploy:** added auto-deployment ([d6eb56f](https://github.com/nodemailer/mailparser/commit/d6eb56fe09fe8b415e5bbf2e53704f6788ca0fee))
* Fix produced text address list string according to rfc 2822 ([#340](https://github.com/nodemailer/mailparser/issues/340)) ([6bae600](https://github.com/nodemailer/mailparser/commit/6bae600a3f4a0452ee7ca43634a11939de7bcc6d))
* **test:** updated test matrix (18, 20, 21) ([a2ba9c2](https://github.com/nodemailer/mailparser/commit/a2ba9c236dcd7f990c9d53a386ffaa5b564181b3))
