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.
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.
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
- Unexport
X2jOptionsat declaration site by @Drarig29 in https://github.com/NaturalIntelligence/fast-xml-parser/pull/787
- @Drarig29 made their first contribution in https://github.com/NaturalIntelligence/fast-xml-parser/pull/787
Full Changelog: https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.3.6...v5.3.7
Entity security and performance
- 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
- new options
Full Changelog: https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.3.5...v5.3.6
v5.3.5
- Add missing exports to fxp commonjs types by @jeremymeng in https://github.com/NaturalIntelligence/fast-xml-parser/pull/782
- fix: Escape regex char in entity name
- update strnum to 2.1.2
- @jeremymeng made their first contribution in https://github.com/NaturalIntelligence/fast-xml-parser/pull/782
Full Changelog: https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.3.4...v5.3.5
bug fix and performance improvements
- fix #775: transformTagName with allowBooleanAttributes adds an unnecessary attribute
- Performance improvement for stopNodes (By Maciek Lamberski)
Replace `Buffer` with `Uint8Array`
- Launched Separate CLI module
- Replace
BufferwithUint8Array