All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Updated dependency on fast-xml-parser to resolve vulnerability.
- Element nodes with two comment/element children will no longer be written on one line.
- Added
recycledNodesSeed
to XmlParsingOptions.
- Changed recycled node IDs to bigints.
- Added
equals()
method to the XmlNode interface.
- Order of children is now maintained when recycling nodes.
- Fixed typo (XmlParsingRecycledResult.recylingCache => recyclingCache).
- Do not throw when XML doc has multiple roots.
- Add
XmlWrapperNode
to parse PI tags. - Add
minify
,writeComments
, andwriteProcessingInstructions
options toXmlFormattingOptions
. - Add
declaration
property to XmlDocumentNode. - Add
recycleNodes
option to XmlDocumentNode.from() options. - Add cell recycling for use with combined tuning.
- Add
fromRecycled()
method on XmlDocumentNode.
- Rename
includeProcessingInstructions
option inXmlFormattingOptions
towriteXmlDeclaration
. - XML documents now preserve the XML declaration they had when parsed.
- XML documents now allow multiple roots all the time.
- Remove
allowMultipleRoots
option from XmlDocumentNode.from() options.
- Changed type of options in toXml() method to XmlFormattingOptions interface.
- Added includeProcessingInstructions option to XmlFormattingOptions.
- Added
findChild()
method on XmlNode.
- Updated documentation.
- First release.