Sourced from fast-xml-parser's releases.
Separate Builder
XML Builder was the part of fast-xml-parser for years. But considering that any bug in builder may false-alarm the users who are only using parser and vice-versa, we have decided to split it into a separate package.
Migration
To migrate to fast-xml-builder;
From
import { XMLBuilder } from "fast-xml-parser";To
import XMLBuilder from "fast-xml-builder";XMLBuilder will be removed from current package in any next major version of this library. So better to migrate.
support strictReservedNames
Full Changelog: https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.3.9...v5.3.9
handle non-array input for XML builder && support maxNestedTags
- support maxNestedTags
- handle non-array input for XML builder when preserveOrder is true (By Angelo Coetzee)
- save use of js properies Full Changelog: https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.3.7...v5.3.8
CJS typing fix
What's Changed
- Unexport
X2jOptionsat declaration site by@​Drarig29in NaturalIntelligence/fast-xml-parser#787New Contributors
@​Drarig29made their first contribution in NaturalIntelligence/fast-xml-parser#787Full Changelog: https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.3.6...v5.3.7
Sourced from fast-xml-parser's changelog.
Note: If you find missing information about particular minor version, that version must have been changed without any functional change in this library.
Note: Due to some last quick changes on v4, detail of v4.5.3 & v4.5.4 are not updated here. v4.5.4x is the last tag of v4 in github repository. I'm extremely sorry for the confusion
5.4.2 / 2026-03-03
- support maxEntityCount option
5.4.1 / 2026-02-25
- fix (#785) unpairedTag node should not have tag content
5.4.0 / 2026-02-25
- migrate to fast-xml-builder
5.3.9 / 2026-02-25
- support strictReservedNames
5.3.8 / 2026-02-25
- support maxNestedTags
- handle non-array input for XML builder when preserveOrder is true (By Angelo Coetzee)
- save use of js properies
5.3.7 / 2026-02-20
- fix typings for CJS (By Corentin Girard)
5.3.6 / 2026-02-14
- Improve security and performance of entity processing
- new options
maxEntitySize,maxExpansionDepth,maxTotalExpansions,maxExpandedLength,allowedTags,tagFilter- fast return when no edtity is present
- improvement replacement logic to reduce number of calls
5.3.5 / 2026-02-08
- fix: Escape regex char in entity name
- update strnum to 2.1.2
- add missing exports in CJS typings
5.3.4 / 2026-01-30
- fix: handle HTML numeric and hex entities when out of range
5.3.3 / 2025-12-12
- fix #775: transformTagName with allowBooleanAttributes adds an unnecessary attribute
5.3.2 / 2025-11-14
- fix for import statement for v6
5.3.1 / 2025-11-03
... (truncated)
4e7ca80
update release info36023b4
fix (#785)
unpairedTag node should not have tag contentb366026
separate builder6f333a8
update release infoc3ffbab
support strictReservedNamesc692040
update release info107e34c
avoid {} to create an empty object60835a4
support maxNestedTagsf55657c
avoid direct call to hasOwnPropertyc13a961
handle non-array input for XML builder when preserveOrder is true