Releases: NaturalIntelligence/fast-xml-parser
Releases · NaturalIntelligence/fast-xml-parser
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: 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: v5.3.7...v5.3.8
CJS typing fix
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: v5.3.5...v5.3.6
v5.3.5
What's Changed
- Add missing exports to fxp commonjs types by @jeremymeng in #782
- fix: Escape regex char in entity name
- update strnum to 2.1.2
New Contributors
- @jeremymeng made their first contribution in #782
Full Changelog: v5.3.4...v5.3.5
fix: handle HTML numeric and hex entities when out of range
v5.3.4 handle html entities when out of range
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
Support EMPTY and ANY with ELEMENT in DOCTYPE
Full Changelog: v5.2.4...v5.2.4