Skip to content

Releases: NaturalIntelligence/fast-xml-parser

Separate Builder

25 Feb 10:53

Choose a tag to compare

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

25 Feb 05:57

Choose a tag to compare

handle non-array input for XML builder && support maxNestedTags

25 Feb 05:07

Choose a tag to compare

  • 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

20 Feb 04:47

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.3.6...v5.3.7

Entity security and performance

14 Feb 05:57

Choose a tag to compare

  • 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

Full Changelog: v5.3.5...v5.3.6

v5.3.5

08 Feb 12:53

Choose a tag to compare

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

Full Changelog: v5.3.4...v5.3.5

fix: handle HTML numeric and hex entities when out of range

30 Jan 04:17

Choose a tag to compare

v5.3.4

handle html entities when out of range

bug fix and performance improvements

12 Dec 06:09

Choose a tag to compare

  • fix #775: transformTagName with allowBooleanAttributes adds an unnecessary attribute
  • Performance improvement for stopNodes (By Maciek Lamberski)

Replace `Buffer` with `Uint8Array`

12 Dec 06:08

Choose a tag to compare

  • Launched Separate CLI module
  • Replace Buffer with Uint8Array

Support EMPTY and ANY with ELEMENT in DOCTYPE

12 Dec 06:06

Choose a tag to compare