Skip to content

Releases: fb55/domutils

v4.0.2

18 Mar 16:44

Choose a tag to compare

  • fix: exclude test fixtures from published files e38a78b

Full Changelog: v4.0.1...v4.0.2

v4.0.1

17 Mar 23:15

Choose a tag to compare

Include source files for source maps.

v4.0.0

17 Mar 22:58

Choose a tag to compare

What's Changed

  • BREAKING: Make module ESM only by @fb55 in #2272
    • Also removed deprecated fns

Full Changelog: v3.2.2...v4.0.0

v3.2.2

06 Jan 20:05

Choose a tag to compare


v3.2.1...v3.2.2

v3.2.1

24 Dec 10:43

Choose a tag to compare


v3.2.0...v3.2.1

v3.2.0

24 Dec 10:28

Choose a tag to compare

  • Add getElementsByClassName function (#1551) 2804ff3
  • chore(ts): Enable isolatedDeclarations 8c1987f
  • Update deps

v3.1.0

29 Apr 09:53

Choose a tag to compare

Features

  • domutils now features a better querying algorithm that reduces memory allocations and doesn't error any more if a node has too many direct children. #1349
  • Added support for dc:date fields in RDF Feeds (by @TimBroddin) #1021
  • Widened the allowed parents to ParentNode for appendChild and prependChild #1200

Fixes

  • Child nodes now have their references to other elements removed in removeChildren (by @dertheodor) #1350

Other changes

  • docs(readme): Use GitHub Actions CI badge #1219
  • chore(pages): Deploy site from action #1220

Full Changelog: v3.0.1...v3.1.0

v3.0.1

22 Apr 10:57

Choose a tag to compare

  • fix: Set parent in replaceElement #997

v3.0.0...v3.0.1

v3.0.0

21 Apr 14:15

Choose a tag to compare

What's Changed

  • semver-major: Bump domhandler, dom-serializer #995
  • semver-minor: Add ESM, make TS stricter #996

Full Changelog: v2.8.0...v3.0.0

v2.8.0

27 Aug 23:25

Choose a tag to compare

Features:

  • Added a getFeed method (#743) a910757
    • Extracted from htmlparser2. The FeedHandler class was equivalent to what this is doing.

Fixes:

  • Ignore comments in textContent e86a8b2

Refactors:

  • Simplified the text stringify methods e0915f3
  • Improved the types of the legacy methods 527bcc4

Other:

  • Marked isType exports as deprecated 2147433