Skip to content

Latest commit

 

History

History
executable file
·
269 lines (131 loc) · 14.6 KB

CHANGELOG.md

File metadata and controls

executable file
·
269 lines (131 loc) · 14.6 KB

Changelog

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)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • use tsc generate dts rather than rolldown (081186d)

9.0.0 (2026-07-06)

⚠ BREAKING CHANGES

  • #311 pack usingtsdown

Features

8.0.4 (2026-06-29)

Bug Fixes

  • serialize attributes through quoteAttribute in removeWhitespace (a260798)

8.0.3 (2026-06-22)

Bug Fixes

  • preserve consecutive backslashes in attribute values (712ee25), closes #306 #62

8.0.2 (2026-06-21)

Bug Fixes

  • 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)

Bug Fixes

  • refactor: update import statements to use type keyword for Options and decodeHTML function #308 (000ec5d)

8.0.0 (2026-06-20)

⚠ BREAKING CHANGES

  • replace dependences he to entities

Features

  • replace dependences he to entities (97fe577)

7.1.1 (2026-06-20)

7.1.0 (2026-03-03)

Features

  • add option closeAllOnClosing (44c900a), closes #294
  • add preserveTagNesting option to maintain invalid HTML nesting #295 (d604652)

Bug Fixes

  • add missing dev dependency: yarn (8679d32)

7.0.2 (2026-01-07)

Bug Fixes

7.0.1 (2024-12-26)

Bug Fixes

7.0.0 (2024-12-26)

⚠ BREAKING CHANGES

  • fix #277, for that change estarget to es6

Features

Bug Fixes

6.1.14 (2024-05-14)

Bug Fixes

6.1.13 (2024-03-29)

Bug Fixes

6.1.12 (2023-12-25)

Bug Fixes

6.1.11 (2023-10-25)

Bug Fixes

6.1.10 (2023-09-15)

Bug Fixes

6.1.9 (2023-09-11)

Bug Fixes

6.1.8 (2023-09-08)

Bug Fixes

6.1.7 (2023-09-08)

Bug Fixes

6.1.6 (2023-08-17)

Bug Fixes

6.1.5 (2023-02-21)

6.1.4 (2022-11-15)

Bug Fixes

6.1.3 (2022-11-14)

6.1.2 (2022-11-14)

Bug Fixes

6.1.1 (2022-09-24)

Bug Fixes

6.1.0 (2022-09-19)

Features

6.0.0 (2022-09-08)

Bug Fixes

  • Preserve invalid nested A tags in AST (see #215 for detail) (374188f)

5.4.2 (2022-08-30)

5.1.0 (2021-10-28)

Features

  • Exposed HTMLElement#rawAttrs (made public) (34f1595)

5.0.0 (2021-10-10)

⚠ BREAKING CHANGES

  • Added esm named export support (0d4b922)

Features

  • Added esm named export support (closes #160 closes #139) (0d4b922)
  • Added HTMLElement#getElementsByTagName (d462e44)
  • Improved parsing performance + matching (closes #164) (3c5b8e2)

Bug Fixes

  • Add null to return type for HTMLElement#querySelector (closes #157) (2b65583)
  • blockTextElements incorrectly matching partial tag (detail) (fixes #156 fixes #124) (6823349)