From 152df780ad2bf35452038349aab1d5245486778c Mon Sep 17 00:00:00 2001 From: Austin Turner Date: Wed, 1 Apr 2026 19:19:23 -0700 Subject: [PATCH] chore: update CHANGELOG with new features, changes, and fixes --- CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7cfd69..5b62170 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +### Added + +- `maxDepth` option to prevent OOM from deeply nested XML (default: 256) +- `strict` mode that throws on unclosed or mismatched tags +- Explicit `` skipping, including internal subsets + +### Changed + +- Attribute values are no longer coerced to numbers/booleans (always strings, matching XML spec and fast-xml-parser) +- `removeNSPrefix` now strips `xmlns` and `xmlns:*` declarations from output +- Builder: empty string produces open/close tags, `null` produces self-closing tags + +### Fixed + +- Text accumulation performance: scan ahead to next `<` instead of char-by-char append + ## [1.0.0] - 2026-04-02 ### Added