NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #168 most downloaded on NuGet
AngleSharp is the ultimate angle brackets parser library. It parses HTML5, CSS3, and XML to construct a DOM based on the official W3C specification.
Latest stable
1.10.5
Last release 4 days ago
18 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
30 versions withdrawn
withdrawn after publishing
127 years old
262 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
Released on Wednesday, November 18 2026.
Released on Wednesday, November 18 2026.
URLSearchParams.sort() comparing names with the current culture and reordering pairs with the same name (#1415) @menes97selectNodeContents of a text node ending at its start instead of its endcomparePoint and isPointInRange refusing offsets within a text nodeFull Changelog: v1.10.4...v1.10.5
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Released on Sunday, November 15 2026.
Released on Sunday, November 15 2026.
new Audio(src).play() or the volume)source elements, and loading the first one regardless of its typepaused of a media element being false before it plays, and duration being 0 instead of NaN without a resourceloop and autoplay to media elements and media pausing once removed from their documenterror of a media element whose resource can't be played or decodedplay() of media elements giving a promise (HtmlMediaElementExtensions.PlayAsync)Full Changelog: v1.10.3...v1.10.4
Released on Friday, November 13 2026.
Released on Friday, November 13 2026.
load)composedPath() of an event giving scripts no array and not starting with the targetload event when there is an event loop, so that SystemJS gave modules the registration of another script (e.g. failing micro frontends loaded with it)code of a keyboard event created from a key value being empty for the modifier keys (e.g. ControlLeft for Control) and the function keysFull Changelog: v1.10.2...v1.10.3
Released on Wednesday, November 11 2026.
Released on Wednesday, November 11 2026.
img elements without a resource loaderapp://localhost/ or foo:/a) being opaqueinnerHTML (or insertAdjacentHTML) loading against about:blankiframe, frame, object and embed elements loading outside of a documentaudio, video and embed elements not being resolved against the documentFull Changelog: v1.10.1...v1.10.2
Released on Saturday, November 7 2026.
Released on Saturday, November 7 2026.
<script type="module">) running right away instead deferringFull Changelog: https://github.com/AngleSharp/AngleSharp/compare/v1.10.0...v1.10.1
Released on Saturday, November 7 2026.
<script type="module">) running right away instead deferringFull Changelog: v1.10.0...v1.10.1
Released on Sunday, November 8 2026.
<script type="module">) running right away instead deferringReleased on Friday, November 6 2026.
Released on Friday, November 6 2026.
addedNodes and removedNodes of a MutationRecord being null instead of an empty listdocument.open throwing in a top-level browsing context or without a resource loader, stopping the event loop, and document.write after loading losing what was written: it is parsed on close or when the current task endssrc or srcdoc having no document and window, and it not firing load when inserted by a scriptgetElementsByClassName, getElementsByTagName, getElementsByTagNameNS and getElementsByName not being live, which made a loop like while (list.length) list[0].remove() run foreverpreviousNode of a TreeWalker never returning for a node with a previous siblingdetail of a CustomEvent and the relatedTarget of a FocusEvent being lost when given to their constructors by scriptctrlKey, shiftKey, altKey and metaKey of a KeyboardEvent always being false, also for initKeyboardEvent and the wheelKeyboardEvent, MouseEvent and WheelEvent for script not taking ctrlKey and the like, code, buttons or relatedTargetURLSearchParams keeping the leading ? of the string it is created from as part of the first nameErrorEvent initialized with its details having no type, so that it never reached listeners of errorErrorEvent.Message throwing without an error+= on the events of the DOMa and area elements not having the stringifier of the DOM: ToString gives their hrefcontains of a node throwing for nullreplaceWith of nodes only being known as replaceIsScripting = false when the browsing context has a scripting service: such a document runs none of its scripts, not even those inserted later, so a custom parser with default options needs IsScripting = true to run scriptsCreateDocumentOptions.IsScriptingDisabled to create a document without scripting, as DOMParser requiresaddEventListener and removeEventListener: capture, once, passive and signal, where a signal is an IAbortSignalCreateDocumentOptions.IsNavigationDisabled to create a document without it becoming the active document of its context or entering the session history, as DOMParser requiressandbox attribute of iframe applying to its browsing context (IBrowsingContext.Security), together with the flags of what is around itisConnected of nodes and toggleAttribute of elementscustomElements of the window with define, get, getName, whenDefined and upgrade, as well as the :defined pseudo class; the scripts are run through ICustomElementHost, which can hold back the reactions until a call of a script returns; createElement with is and adoptedCallback included::selection pseudo elementX-Frame-Options and the frame-ancestors directive of Content-Security-Policy, against every document around a frame: a frame refusing to be shown gets no documentreplaceChildren as an extension of IParentNodeentries, keys, values and forEach to URLSearchParamsIScriptValueCloner for keeping what script gives without its enginegetRootNode as an extension of INodetoJSON to DOMRect and DOMPointgetAttributeNames, hasAttributes, insertAdjacentElement, insertAdjacentText and inert to elements, isSameNode to nodes and replace and value to DOMTokenListPointerEvent, code and isComposing to KeyboardEvent, x and y to MouseEvent, cancelBubble and returnValue to EventEventTarget, which isn't abstract any morescrollingElement, hidden, visibilityState and charset to documentsrequestSubmit to forms, reportValidity to inputs, item to selects and decode, decoding, loading and referrerPolicy to imagesSubmitEvent and requestSubmit validation, cancellation, and submitter reporting to formsmovementX and movementY to MouseEventpopover attribute (popover API)Full Changelog: https://github.com/AngleSharp/AngleSharp/compare/v1.9.1...v1.10.0
Released on Sunday, November 1 2026.
Released on Sunday, November 1 2026.
AppendChild, InsertBefore, ...) into a deep tree (#1401) @michaelthyregodclassList.toggle(token, false) adding an absent token instead of removing it: the DOM's toggle is now DomTokenListExtensions.ToggleToken:nth-child(… of …) selectors (#1403) @michaelthyregodFull Changelog: https://github.com/AngleSharp/AngleSharp/compare/v1.9.0...v1.9.1
Released on Sunday, November 1 2026.
AppendChild, InsertBefore, ...) into a deep tree (#1401) @michaelthyregodclassList.toggle(token, false) adding an absent token instead of removing it: the DOM's toggle is now DomTokenListExtensions.ToggleToken:nth-child(… of …) selectors (#1403) @michaelthyregodFull Changelog: v1.9.0...v1.9.1
Released on Sunday, November 1 2026.
AppendChild, InsertBefore, ...) into a deep tree (#1401) @michaelthyregodclassList.toggle(token, false) adding an absent token instead of removing it: the DOM's toggle is now DomTokenListExtensions.ToggleToken:nth-child(… of …) selectors (#1403) @michaelthyregodReleased on Friday, October 30 2026.
Released on Friday, October 30 2026.
TextContent, :contains(), GetElementById, GetElementsByName, GetElementsByClassName, GetElementsByTagName and Normalize, which also continue with an explicit stack below 128 levels instead of recursing (#1389) @michaelthyregodIHtmlParser.ParseFragment and of inserting many nodes at once (Append, Prepend, ...): finding a template's host no longer scans the whole document, and removing a node's last child no longer scans its siblingsinnerHTML) takes linear time; each node with children also allocates one object lesstable, a text run split by ignored end tags (x</q>x</q>...), and repeated html / body start tags piling up attributes; attribute name lookups on elements with many attributes no longer scan them:has(): relative arguments only walk what they can reach (:has(> a) the descendants, :has(+ a) / :has(~ a) the following siblings) instead of the parent's whole subtree, the walk no longer allocates, and a :has() is tested after the rest of its compound and its ancestor chain, so rules such as .tree :has(.skeleton):hover only walk subtrees of hovered elements inside .treesetInterval with a delay of 0 never yielding: every round completed synchronously and queued tasks until memory ran out; a negative delay of setTimeout or setInterval threw instead of counting as 0 (nested intervals now wait at least 4ms, as in browsers)ParseFragment, innerHTML) to break out of svg / math on HTML start tags such as p, b or div, which previously stayed foreign elementsCreateElement<TElement>() depending on reflection that trimming can break; IElement, IHtmlElement and ISvgElement now throw instead of returning an arbitrary element @michaelthyregodIHtmlParser.ParseFragment to keep an SVG or MathML context element in its namespace (and an annotation-xml context's encoding), instead of parsing as if the context were an HTML element of the same name, and to find a form ancestor of the context, so a nested <form> start tag is ignored as with innerHTMLtemplate into its own contents not throwing a HierarchyRequestErrorAwaitEventAsync removing its listener off-thread while a dispatch was still running (#1397) @michaelthyregodIHtmlSelectElement.SelectedIndex gaining a setter; set Options.SelectedIndex to change the selection (#1395) @SimonCroppAwaitEventAsync overload taking a CancellationToken @michaelthyregodIsAotCompatible) for the .NET 8 and .NET 10 targets (#1398) @michaelthyregodSubmitAsync, Attr, VirtualResponse.Headers and ToDictionary, which calls with an anonymous object bind to when recompiled; the Object overloads are now obsolete @michaelthyregodFull Changelog: https://github.com/AngleSharp/AngleSharp/compare/v1.8.6...v1.9.0
Released on Sunday, October 25 2026
Released on Sunday, October 25 2026
INode.Equals (isEqualNode) to compare what the DOM spec compares: character data, doctype identifiers, processing instructions, element prefixes and attribute local names, no longer base URLs, without overflowing the stack on deep treesIAttr.Equals comparing the prefix instead of the local nameIDocument.Import (importNode) returning nodes owned by the source document instead of the importing oneIDocument.Import accepting a shadow root instead of throwing NotSupportedINode.Clone and Import overflowing the stack on deeply nested trees and templates<template> copying its contents< and > in attribute values unescaped, which let markup break out when reparsed under different rules (mutation XSS); they are now written as < and > like browsers do since the HTML spec change of May 2025IRange.CopyContent and ExtractContent overflowing the stack on deeply nested rangesDispatch (dispatchEvent) returning true for a canceled eventMutationObserver not observing a document itself and throwing for one without a root elementMutationObserver.Disconnect keeping the previous targets for a later ConnectDoClick crashing the process; it is reported as a context errorURLSearchParams treating non-ASCII values as single bytes and leaving + undecoded @NotAFlightRisk in https://github.com/AngleSharp/AngleSharp/pull/1390IHtmlSelectElement.SelectedIndex setterHtmlParserOptions.MaximumDepth (default 512) to stop deeply nested markup from building trees that overflow the stacktabindex and blurring of any focused elementDoClickAsync to await a click's navigation or form submission<details> when clicking its <summary><template shadowrootmode="open"> (or closed) as the shadow root of its parent:host(<compound>), and selectors in a shadow tree reaching its host (only through :host)Full Changelog: https://github.com/AngleSharp/AngleSharp/compare/v1.8.5...v1.8.6
Released on Sunday, October 25 2026
INode.Equals (isEqualNode) to compare what the DOM spec compares: character data, doctype identifiers, processing instructions, element prefixes and attribute local names, no longer base URLs, without overflowing the stack on deep treesIAttr.Equals comparing the prefix instead of the local nameIDocument.Import (importNode) returning nodes owned by the source document instead of the importing oneIDocument.Import accepting a shadow root instead of throwing NotSupportedINode.Clone and Import overflowing the stack on deeply nested trees and templates<template> copying its contents< and > in attribute values unescaped, which let markup break out when reparsed under different rules (mutation XSS); they are now written as < and > like browsers do since the HTML spec change of May 2025IRange.CopyContent and ExtractContent overflowing the stack on deeply nested rangesDispatch (dispatchEvent) returning true for a canceled eventMutationObserver not observing a document itself and throwing for one without a root elementMutationObserver.Disconnect keeping the previous targets for a later ConnectDoClick crashing the process; it is reported as a context errorURLSearchParams treating non-ASCII values as single bytes and leaving + undecoded @NotAFlightRisk in #1390IHtmlSelectElement.SelectedIndex setterHtmlParserOptions.MaximumDepth (default 512) to stop deeply nested markup from building trees that overflow the stacktabindex and blurring of any focused elementDoClickAsync to await a click's navigation or form submission<details> when clicking its <summary><template shadowrootmode="open"> (or closed) as the shadow root of its parent:host(<compound>), and selectors in a shadow tree reaching its host (only through :host)Full Changelog: v1.8.5...v1.8.6
Released on Thursday, October 15 2026
Released on Thursday, October 15 2026
:lang() inheritance and namespace precedence in HTML and foreign content (#1379) @PrzemyslawKlysURLSearchParams cutting values at a second = such as token=abc== (#1385) @NotAFlightRiskFull Changelog: https://github.com/AngleSharp/AngleSharp/compare/v1.8.4...v1.8.5
Released on Thursday, October 15 2026
:lang() inheritance and namespace precedence in HTML and foreign content (#1379) @PrzemyslawKlysURLSearchParams cutting values at a second = such as token=abc== (#1385) @NotAFlightRiskFull Changelog: v1.8.4...v1.8.5
Released on Wednesday, October 7 2026
Released on Wednesday, October 7 2026
<select> (#1364) @PrzemyslawKlysfieldset and output elements (breaking behavior change) (#1373) @PrzemyslawKlys<select> value (IsSelected) (#1365) @PrzemyslawKlys<select> form submission including unselected options and options in disabled groups (#1366) @PrzemyslawKlysannotation-xml elements being treated as HTML integration points @NotAFlightRiskFull Changelog: https://github.com/AngleSharp/AngleSharp/compare/v1.8.3...v1.8.4
Released on Wednesday, October 7 2026
<select> (#1364) @PrzemyslawKlysfieldset and output elements (breaking behavior change) (#1373) @PrzemyslawKlys<select> value (IsSelected) (#1365) @PrzemyslawKlys<select> form submission including unselected options and options in disabled groups (#1366) @PrzemyslawKlysannotation-xml elements being treated as HTML integration points @NotAFlightRiskFull Changelog: v1.8.3...v1.8.4
Released on Wednesday, September 30 2026
Released on Wednesday, September 30 2026
<base> elements not following frozen document base URL and tree-order mutation rules (#1355, #1362)Unloading handlers subscribing to unloading instead of beforeunload (#1354) @PrzemyslawKlysOnReset event to inform script hosts of native listener removals (#1356) @PrzemyslawKlysFull Changelog: https://github.com/AngleSharp/AngleSharp/compare/v1.8.2...v1.8.3
Released on Wednesday, September 30 2026
<base> elements not following frozen document base URL and tree-order mutation rules (#1355, #1362)Unloading handlers subscribing to unloading instead of beforeunload (#1354) @PrzemyslawKlysOnReset event to inform script hosts of native listener removals (#1356) @PrzemyslawKlysFull Changelog: v1.8.2...v1.8.3
Fixed vulnerability via SVG style serialization (GHSA-cgp3-27rh-pcp2)
Released on Friday, September 18 2026
document.forms["x"], form.elements["x"], ...) to enumerate the underlying sequence once instead of twiceform.elements / fieldset.elements by walking the tree directly (#1350)GetElementsByTagName / GetElementsByClassName traversal to stop double-scanning each element's childrenSelectors.Specificity, ComplexSelector.Specificity) to be computed once instead of recomputed on every readListSelector.GetMatchingSelector to sort its selectors once instead of on every callDocument.Forms allocating a new collection instance per read, contradicting its own [DomSameObject] contractclassList and the other reflected token lists writing their content attribute without running the attribute change steps or queueing a mutation recorddisabled removing it without running the attribute change steps or queueing a mutation recordStackOverflowException when parsing a document with deeply nested unclosed <template> elementsDocument.MutationVersion, a synchronous counter of DOM mutations that a parse leaves unchanged (#1344, #1347)Full Changelog: https://github.com/AngleSharp/AngleSharp/compare/v1.8.1...v1.8.2
Released on Thursday, September 10 2026
Released on Thursday, September 10 2026
DoFocus and DoBlur to apply to form elementshref and matching link elements (#1337) @sebastienros:enabled incorrectly matching HTML links with nonempty href (#1324) @sebastienrosFull Changelog: v1.8.0...v1.8.1
Released on Saturday, September 5 2026
Released on Saturday, September 5 2026
DomSameObject annotation for the respective IDL members (#1314) @lahmaDomReturnType annotation for methods returning a different IDL type (#1318)Full Changelog: v1.7.3...v1.8.0
Released on Thursday, September 3 2026
Released on Thursday, September 3 2026
HtmlParser (#1315) @lahmaxml:lang[ (#1294)CurrentScript not indicating the currently executing script (#1308) @lahmadata-* attributes (#1310) @lahmaDomLiterals attribute to AdjacentPosition (#1311) @lahmaFull Changelog: v1.7.2...v1.7.3
Released on Sunday, August 23 2026
Released on Sunday, August 23 2026
annotation-xml encoding to be case-insensitive (#1284) @arpitjain099<xmp> usage in <select> elementsFull Changelog: 1.7.1...v1.7.2
Released on Sunday, August 23 2026
annotation-xml encoding to be case-insensitive (#1284) @arpitjain099<xmp> usage in <select> elementsFull Changelog: https://github.com/AngleSharp/AngleSharp/compare/1.7.1...v1.7.2
Released on Wednesday, August 5 2026
Released on Wednesday, August 5 2026
DomName attributes on DOM geometrydocument.open() destroying the DOM tree in case of encoding problems (#1276)Full Changelog: https://github.com/AngleSharp/AngleSharp/compare/1.7.0...v1.7.1
Released on Wednesday, August 5 2026
DomName attributes on DOM geometrydocument.open() destroying the DOM tree in case of encoding problems (#1276)Full Changelog: 1.7.0...v1.7.1
Released on Friday, July 31 2026
Released on Friday, July 31 2026
:host pseudo selector (#1271)Released on Sunday, July 26 2026
Released on Sunday, July 26 2026
i / I (case-insensitive) and s / S (case-sensitive)UrlUrl||) selector syntaxCurrentSource in CssMediaElementReleased on Sunday, July 5 2026
Released on Sunday, July 5 2026
NodeIterator pre-removing steps to use the first following node (#1260) @ivandroflyRange.IsCollapsed to also compare offsets (#1259) @ivandroflyRange.CompareBoundaryTo (#1258) @ivandroflyRange.CopyContent to follow the DOM Standard (#1257) @ivandroflyRange.ExtractContent to follow the DOM Standard (#1256) @ivandroflyReleased on Saturday, June 13 2026.
Released on Saturday, June 13 2026.
Fixed vulnerability via annoation-xml elements (GHSA-pgww-w46g-26qg)
Released on Saturday, June 6 2026
MemoryCookieProvider (#1249) @riinaFull Changelog: https://github.com/AngleSharp/AngleSharp/compare/v1.4.0...1.5.0
Released on Wednesday, November 12 2025.
Released on Wednesday, November 12 2025.
of syntax in :nth-child functions within CSS selectorsselectedcontent to known elements (#1230):open, ::checkmark, ::picker-icon, and ::picker(ident) to selector syntax (#1230)<select> (#1230)Full Changelog: https://github.com/AngleSharp/AngleSharp/compare/1.3.1...v1.4.0
Released on Saturday, November 8 2025.
Released on Saturday, November 8 2025.
ISvgStyleElement and the associated implementation by @Rtwo-Dtwo in https://github.com/AngleSharp/AngleSharp/pull/1233IReadOnlyList<T> interface to IHtmlCollection, IStringList, ITokenList, IHtmlFormControlsCollection (#1226, #1227) @weitzhandlerFull Changelog: https://github.com/AngleSharp/AngleSharp/compare/1.3.0...1.3.1
Released on Saturday, November 8 2025.
IReadOnlyList<T> interface to IHtmlCollection, IStringList, ITokenList, IHtmlFormControlsCollection (#1226, #1227) @weitzhandlerReleased on Friday, April 18 2025.
Released on Friday, April 18 2025.
HasChildNodes (#1219) @arekdygasNodeIterator behavior when nodes are removed (#1222)GetAttributeNode methods to IElement (#1223) @arekdygasFull Changelog: https://github.com/AngleSharp/AngleSharp/compare/1.2.0...1.3.0
Released on Tuesday, December 31 2024.
Released on Tuesday, December 31 2024.
Expires recognized as local time (#1212) @noobow34OnToken event for the tokenizer (#1153) @schaakverslaafdStringBuilder pooling (#1203) @micahbresetteproperty attribute to meta tags (#1195) @hflexgrigReleased on Friday, March 8 2024.
Released on Friday, March 8 2024.
Released on Friday, March 1 2024.
Released on Friday, March 1 2024.
ISourceReference not using HtmlToken underneath<template> in foreign elements (#1179)PostAsMultipart helper for multipart/form-data to DocumentRequest (#1173)Released on Thursday, January 18 2024
Released on Thursday, January 18 2024
:where and :is selectors using forgiving lists&)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fixed implementation of IRange using offsets (#1147) @zukarusan
IRange using offsets (#1147) @zukarusanNode.set_Owner (#1149) @campersaunet8.0 as direct target frameworkFull Changelog: https://github.com/AngleSharp/AngleSharp/compare/v1.0.6...1.0.7
Released on Friday, November 17 2023.
IRange using offsets (#1147) @zukarusanNode.set_Owner (#1149) @campersaunet8.0 as direct target frameworkNothing published for this version
Fixed case-sensitiveness in virtual responses
InnerHtml of <noscript> (#1139)PrettyMarkupFormatter to keep new lines on demand (#1131) @dramlianFull Changelog: https://github.com/AngleSharp/AngleSharp/compare/v1.0.5...v1.0.6
Released on Saturday, November 11 2023.
InnerHtml of <noscript> (#1139)PrettyMarkupFormatter to keep new lines on demand (#1131) @dramlianNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fixed case-sensitiveness in virtual responses
Released on ???
Fixed case-sensitiveness in virtual responses
Released on ???
Nothing published for this version
Improved codebase (#1128, #1126, #1133) @matkoch @ivandrofly
descendants (#1136) @SimonCroppHtmlEntityProvider (#396)Full Changelog: https://github.com/AngleSharp/AngleSharp/compare/v1.0.4...v1.0.5
Released on Tuesday, October 3 2023.
descendants (#1136) @SimonCroppHtmlEntityProvider (#396)Nothing published for this version
Released on Saturday, June 24 2023
Released on Saturday, June 24 2023
li scope leading to stack overflow (#1123)Full Changelog: https://github.com/AngleSharp/AngleSharp/compare/1.0.3...v1.0.4
Released on Saturday, June 24 2023
Released on Saturday, June 24 2023
li scope leading to stack overflow (#1123)Nothing published for this version
Nothing published for this version
Released on Saturday, June 24 2023
Released on Saturday, June 24 2023
li scope leading to stack overflow (#1123)Nothing published for this version
Released on Saturday, June 24 2023
Released on Saturday, June 24 2023
li scope leading to stack overflow (#1123)Nothing published for this version
Nothing published for this version
Released on Friday, June 23 2023
Released on Friday, June 23 2023
Released on Thursday, June 8 2023
Released on Thursday, June 8 2023
Full Changelog: https://github.com/AngleSharp/AngleSharp/compare/v1.0.2...v1.0.3
Released on Thursday, June 8 2023.
Nothing published for this version
One column per quarter.