Packages

parse5

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

Upgrading parse5 From 5.0.0 to 8.1.0

14 releases in betweennotes for 13

Reading releases, release notes and advisories…

Other targets from 5.0.0Newest 5.x5.1.1
  1. 5.0.0yours
  2. 2 releases
  3. 6.0.0major
  4. 1 release
  5. 7.0.0major
  6. 6 releases
  7. 8.0.0major
  8. 1 release
  9. 8.1.0target
11+
changes to make
0
advisories fixed
16+
new
13+
fixes

Counted from 13 of 14 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

13 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

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