All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
9.0.4 (2026-09-07)
9.0.3 (2026-09-03)
- encode special characters in HTMLElement textContent setter (48eb649)
- keep attributes whose name starts with an underscore (3aff8be), closes #129 #129 #206
- stop appending a stray '<' to unterminated block-text elements (48300fe)
9.0.2 (2026-08-28)
- avoid O(n^2) text node append during parse (6aba40e), closes #317
- update test scripts for improved execution flow (c36ab5a)
9.0.1 (2026-07-29)
- use tsc generate dts rather than rolldown (081186d)
9.0.0 (2026-07-06)
- #311 pack usingtsdown
8.0.4 (2026-06-29)
- serialize attributes through quoteAttribute in removeWhitespace (a260798)
8.0.3 (2026-06-22)
8.0.2 (2026-06-21)
- preserve backslashes in attribute values during serialization and round-trip parsing #306 (a9882b2)
- update casing of HTML tag names in usage example #289 (801d278)
8.0.1 (2026-06-20)
- refactor: update import statements to use type keyword for Options and decodeHTML function #308 (000ec5d)
8.0.0 (2026-06-20)
- replace dependences he to entities
- replace dependences he to entities (97fe577)
7.1.1 (2026-06-20)
7.1.0 (2026-03-03)
- add option closeAllOnClosing (44c900a), closes #294
- add preserveTagNesting option to maintain invalid HTML nesting #295 (d604652)
- add missing dev dependency: yarn (8679d32)
7.0.2 (2026-01-07)
- #227 (51528c4)
- #294 Closing tag is missing but valid HTML is still not parseable (950865f)
- add missing dev dependency: yarn (6d73ea3)
- test valid.js (a81fc46)
7.0.1 (2024-12-26)
- upgrade node version (efd77ff)
7.0.0 (2024-12-26)
- fix #277, for that change estarget to es6
6.1.14 (2024-05-14)
6.1.13 (2024-03-29)
6.1.12 (2023-12-25)
6.1.11 (2023-10-25)
6.1.10 (2023-09-15)
6.1.9 (2023-09-11)
6.1.8 (2023-09-08)
6.1.7 (2023-09-08)
6.1.6 (2023-08-17)
- #203 (6006c52)
- #218 (6f6c824)
- add tests for issue #242 (7615e27)
- do not decode special chractors #240 (cdadb13)
- improve constructor types #230 (24fd055)
- more change about types #230 (2852d20)
- remove test code (f0b176e)
6.1.5 (2023-02-21)
6.1.4 (2022-11-15)
6.1.3 (2022-11-14)
6.1.2 (2022-11-14)
6.1.1 (2022-09-24)
- parse comments (82b68ff)
6.1.0 (2022-09-19)
- Add docs (8a38eed)
6.0.0 (2022-09-08)
5.4.2 (2022-08-30)
5.1.0 (2021-10-28)
- Exposed
HTMLElement#rawAttrs(made public) (34f1595)
5.0.0 (2021-10-10)
- Added esm named export support (0d4b922)