parse5
8.1.0 · 1 Nov 2026MIT227.5M / weekRepositoryHomepagenpmAtom feed
Upgrading parse5 From 5.1.1 to 8.1.0
12 releases in betweennotes for 11
Reading releases, release notes and advisories…
- 11+
- changes to make
- 0
- advisories fixed
- 16+
- new
- 13+
- fixes
Counted from 11 of 12 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- breaking7.0.0
- breaking7.0.0
- breaking7.0.0
- breaking7.0.0
- breaking7.0.0
- breaking7.0.0
- breaking7.0.0
- breaking7.0.0
- breaking7.0.0
- breaking7.0.0
Release by release
- new
Expose element creation context to tree adapters
- new
Export InsertionMode enum from parse5
- new
Allow flushing buffered character tokens
- new
tokenizer: Append attribute values and character runs as slices of the input
- fixed
Treat numeric character reference CR as whitespace
- fixed
parser: Match only HTML elements in the "any other end tag" step
- fixed
End attribute names when missing whitespace
- new
- new
tokenizer: Use String.fromCharCode for BMP characters
- new
Use Uint8Array bitmaps for faster tag ID lookups
- new
- new
Switch to ESM-only
- new
Bump to 8.0.0
- new
- fixed
Fix broken links to documentation
- fixed
Account for undefined in element stack
- fixed
- fixed
Export tree adapter types as namespace to support TS4.x
- fixed
- new
parser: Support search element
- new
parse5: Change parser/tokenizer methods to be protected
- fixed
Don't generate sourcemap on build, close #831
- fixed
Fix
<noframes>parsing - fixed
Use typedoc config to avoid accidental inheritance
- new
- new
Add CJS build of
parser-stream
- new
7.1.1no release note
8 other lines we could not sort, mostly version bumps
- 8.0.1
Revert "perf: use Uint8Array bitmaps for faster tag ID lookups"
- 7.3.0
Bump dependencies
- 7.1.2
Export
ERRasErrorCodes - 7.1.2
Properly handle CR when peeking
- 7.1.0
Improved code coverage
- 6.0.1
Fixed: Handling of self-closing
<hr>tags - 6.0.1
Fixed: Broken link in TreeAdapter document (GH #317)
- 6.0.1
Fixed: SAXParser example (GH #316)
384 internal lines (docs, tests, tooling) left out.