Repository navigation
Releases
Releases · AngleSharp/AngleSharp.Xml
1.4.0
Released on Tuesday, November 24 2026.
What's Changed
- Updated to use minimum AngleSharp 1.11.0
- Added
XmlDom.Register, the DOM of this library declared for a scripting engine - Released 1.4.0 by @FlorianRappl in #50
Full Changelog: v1.3.2...v1.4.0
1.3.2
Released on Monday, November 23 2026.
What's Changed
- Fixed a document created without navigating (e.g. by
DOMParserorXMLHttpRequest) replacing the page and running its scripts - Released 1.3.2 by @FlorianRappl in #49
Full Changelog: v1.3.1...v1.3.2
1.3.1
Released on Sunday, November 22 2026.
What's Changed
- Fixed
document.titleof XHTML documents always being empty - Fixed
createDocumentnot being available to scripts (AngleSharp.Js) until a document was parsed - Removed Compare-Builds.ps1 by @michaelthyregod in #46
- Added running the scripts of the XHTML elements of a navigated XML document
- Released 1.3.1 by @FlorianRappl in #48
Full Changelog: v1.3.0...v1.3.1
1.3.0
Released on Monday, November 2 2026.
What's Changed
- Updated to use a minimum of AngleSharp 1.9
- Updated loading of the external DTD subset to go through the resource loader and requesters (only with resource loading enabled)
- Updated entity references to be resolved at the end of the parse, so loading the external subset does not interrupt it
- Improved performance of
TextContenton XML elements, which no longer allocates for an element holding a single text or CDATA section - Improved performance of DTD validation: content models are parsed once per document, and documents without ID declarations skip the identity walk
- Fixed parsing deeply nested documents overflowing the stack and ending the process; the DTD and identity validation walks now use an explicit stack
- Fixed
TextContentof deeply nested XML elements overflowing the stack - Fixed escaped text that looks like a CDATA section (
<![CDATA[...]]>) losing its markers in documents that declare entities, which also took quadratic time; only the CDATA sections in an entity's replacement text are unwrapped now - Fixed unbounded expansion of nested entities ("billion laughs"), which let a small document exhaust memory; expansion now stops at
XmlParserOptions.MaxCharactersFromEntities - Fixed escaped entity references (
&name;) being expanded when the entity is declared, and empty entities throwing - Added trimming and Native AOT compatibility (
IsAotCompatible) for the .NET 8 and .NET 10 targets - Added
XmlParserOptions.MaxCharactersFromEntities(default 10,000,000, 0 for no limit), likeSystem.Xml's setting of the same name - Added
XmlParserOptions.MaximumDepth(default 512), likeHtmlParserOptions.MaximumDepth: deeper elements throw, or are attached at the limit when errors are suppressed - Released 1.3.0 by @FlorianRappl in #43
New Contributors
- @michaelthyregod made their first contribution in #38
Full Changelog: v1.2.0...v1.3.0
1.2.0
Released on Friday, August 21 2026.
What's Changed
- Updated to complete DTD identity and reference validation semantics (#31)
- Improved the build orchestrator to the Fallout stable channel (10.4.0) by @lahma in #36
- Improved preservation of CDATA sections as first-class DOM nodes (#30)
- Added the XML-specific
CDATAfactory (#29) - Added support for XML document metadata (#29)
- Added Canonical XML 1.1 and Exclusive XML Canonicalization 1.0 serialization (#34)
- Added XML Base,
xml:id, and inheritedxml:langconvenience semantics (#33) - Added optional XSD 1.0 document validation with diagnostics (#35)
- Released 1.2.0 by @FlorianRappl in #37
New Contributors
Full Changelog: v1.1.0...v1.2.0
1.1.0
Released on Friday, July 31 2026.
What's Changed
- Updated to use a minimum of AngleSharp 1.5
- Fixed serialization of self-closing in case of children (#27)
- Fixed namespace declaration processing (#22) @jbrayfaithlife
- Fixed identify the XML namespace (#20) by @jbrayfaithlife in #21
- Added optional DTD validation
- Released 1.1.0 by @FlorianRappl in #28
New Contributors
- @jbrayfaithlife made their first contribution in #21
Full Changelog: 1.0.0...v1.1.0
1.0.0
Released on Sunday, January 15 2023.
- Updated to use AngleSharp 1.0
0.17.0
Released on Tuesday, May 31 2022.
- Updated to use AngleSharp 0.17
- Dropped .NET Framework 4.6
- Fixed parser ignoring IsKeepingSourceReferences (#16)
0.16.0
Released on Sunday, June 13 2021.
- Updated to use AngleSharp 0.16
0.15.0
Released on Thursday, April 22 2021.
- Dropped support for .NET Standard 1.3 target
- Fixed breaking parsing upon invalid syntax when suppressing errors (#14)