Packages

parse5

8.1.0 · 1 Nov 2026MIT227.5M / weekRepositoryHomepagenpmAtom feed

Upgrading parse5 From 0.5.1 to 8.1.0

59 releases in betweennotes for 50

Reading releases, release notes and advisories…

Other targets from 0.5.1Newest 0.x0.8.3
1.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
  1. 0.5.1yours
  2. 3 releases
  3. 0.6.0major
  4. 4 releases
  5. 1.0.0major
  6. 17 releases
  7. 2.0.0major
  8. 12 releases
  9. 3.0.0major
  10. 3 releases
  11. 4.0.0major
  12. 5.0.0major
  13. 2 releases
  14. 6.0.0major
  15. 1 release
  16. 7.0.0major
  17. 6 releases
  18. 8.0.0major
  19. 1 release
  20. 8.1.0target
12+
changes to make
0
advisories fixed
20+
new
14+
fixes

Counted from 50 of 59 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

  1. 8.1.0

    1 Nov 20264 new · 3 fixes
    • 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

  2. 8.0.1

    19 Apr 20262 new
    • new

      tokenizer: Use String.fromCharCode for BMP characters

    • new

      Use Uint8Array bitmaps for faster tag ID lookups

  3. 8.0.0

    9 Jul 20252 new
    • new

      Switch to ESM-only

    • new

      Bump to 8.0.0

  4. 7.3.0

    22 Apr 20252 fixes
    • fixed

      Fix broken links to documentation

    • fixed

      Account for undefined in element stack

  5. 7.2.1

    28 Oct 20241 fix
    • fixed

      Export tree adapter types as namespace to support TS4.x

  6. 7.2.0

    12 Oct 20242 new · 3 fixes
    • 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

  7. 7.1.2

    20 Nov 20221 new
    • new

      Add CJS build of parser-stream

  8. 7.1.1no release note

85 other lines we could not sort, mostly version bumps
  • Revert "perf: use Uint8Array bitmaps for faster tag ID lookups"

    8.0.1
  • Bump dependencies

    7.3.0
  • Export ERR as ErrorCodes

    7.1.2
  • Properly handle CR when peeking

    7.1.2
  • Improved code coverage

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

    6.0.1
  • Fixed: Serialization of attributes in non-standard namespaces

    5.1.1
  • Fixed: Quirks and limited-quirks mode detection by doctype

    5.1.1

387 internal lines (docs, tests, tooling) left out.