Packages

fast-xml-parser

5.12.1 · 13 Nov 2026MIT118.5M / weekRepositoryHomepagenpmAtom feed

Upgrading fast-xml-parser From 5.5.7 to 5.12.1

22 releases in betweennotes for 15

Reading releases, release notes and advisories…

Other targets from 5.5.7Clears its 2 advisories5.12.0
  1. 5.5.7yours
  2. 5 releases
  3. 5.6.0breaking
  4. 1 release
  5. 5.7.1breaking
  6. 13 releases
  7. 5.12.1target
2+
changes to make
2
advisories fixed
4+
new
11+
fixes

Counted from 15 of 22 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking5.7.1
  • Breaking5.6.0

Security

Release by release

  1. 5.12.1

    13 Nov 20261 new · 1 fix
    • New

      Skip quoted attribute values in one step (long SVG path data 4-5x faster)

    • Fixed

      Correct demo parser and builder options

  2. 5.12.0

    3 Nov 20263 fixes
    • Fixed

      Add endIndex to the CommonJS XMLMetaData declaration

    • Fixed

      Preserve original metadata offsets for CRLF input

    • Fixed

      README.md: Fix documentation links

  3. 5.11.2

    29 Sep 20262 fixes
    • Fixed

      Decode Uint8Array XML input as UTF-8

    • Fixed

      Type EntityDecoderOptions.setXmlVersion's version as a number

  4. 5.11.1nothing new or fixed in the note

  5. 5.11.0

    16 Aug 20261 new · 1 fix
    • New

      Add support for endIndex in node metadata (5.x edition)

    • Fixed

      Don't crash on a closing tag with no matching opening tag

  6. 5.8.0 – 5.10.17 releases, nothing new or fixed; 3 without a note

  7. 5.7.3

    5 May 20262 fixes
    • Fixed

      alwaysCreateTextNode should create text node when attributes are present for self closing node

    • Fixed

      Fix stop node expression when ns prefix is removed (found by iruizsalinas)

  8. 5.7.2

    24 Apr 20261 new · 2 fixes
    • New

      Allow numerical external entity for backward compatibility

    • Fixed

      Fix #705: attributesGroupName working with preserveOrder

    • Fixed

      Fix #817: stackoverflow when tag expression is very long

14 other lines we could not sort, mostly version bumps
  • Harden GitHub Actions workflows

    5.9.3
  • GitHub Actions workflow fixes

    5.9.3
  • Validate unsafe HTML or XML data in doctype entities unsing 'is-unsafe' library. User can override rules by overriding EntityDecoder.

    5.9.0
  • Integrate xml-naming to validate DOCTYPE entity name and notation name (using qname because of backward compatibility)

    5.8.0
  • Update XML Builder to 1.1.7

    5.7.3
  • Mark addEntity deprecated

    5.7.3
  • 5.7.1
  • Update 'fast-xml-builder' to sanitize malicious CDATA and comment's content

    5.7.1
  • No API change

    5.6.0
  • No change in performance for basic usage

    5.6.0

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

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.