Repository navigation
Bump AngleSharp from 1.1.2 to 1.10.3 - #58
Open
dependabot[bot] wants to merge 1 commit into
Open
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
--- updated-dependencies: - dependency-name: AngleSharp dependency-version: 1.10.3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated AngleSharp from 1.1.2 to 1.10.3.
Release notes
Sourced from AngleSharp's releases.
1.10.3
Released on Friday, November 13 2026.
What's Changed
load)composedPath()of an event giving scripts no array and not starting with the targetloadevent when there is an event loop, so that SystemJS gave modules the registration of another script (e.g. failing micro frontends loaded with it)codeof a keyboard event created from a key value being empty for the modifier keys (e.g.ControlLeftforControl) and the function keysFull Changelog: AngleSharp/AngleSharp@v1.10.2...v1.10.3
1.10.2
Released on Wednesday, November 11 2026.
What's Changed
imgelements without a resource loaderapp://localhost/orfoo:/a) being opaqueinnerHTML(orinsertAdjacentHTML) loading againstabout:blankiframe,frame,objectandembedelements loading outside of a documentaudio,videoandembedelements not being resolved against the documentFull Changelog: AngleSharp/AngleSharp@v1.10.1...v1.10.2
1.10.1
Released on Saturday, November 7 2026.
What's Changed
<script type="module">) running right away instead deferringFull Changelog: AngleSharp/AngleSharp@v1.10.0...v1.10.1
1.10.0
Released on Friday, November 6 2026.
What's Changed
addedNodesandremovedNodesof aMutationRecordbeing null instead of an empty listdocument.openthrowing in a top-level browsing context or without a resource loader, stopping the event loop, anddocument.writeafter loading losing what was written: it is parsed oncloseor when the current task endssrcorsrcdochaving no document and window, and it not firingloadwhen inserted by a scriptgetElementsByClassName,getElementsByTagName,getElementsByTagNameNSandgetElementsByNamenot being live, which made a loop likewhile (list.length) list[0].remove()run foreverpreviousNodeof aTreeWalkernever returning for a node with a previous siblingdetailof aCustomEventand therelatedTargetof aFocusEventbeing lost when given to their constructors by scriptctrlKey,shiftKey,altKeyandmetaKeyof aKeyboardEventalways being false, also forinitKeyboardEventand the wheelKeyboardEvent,MouseEventandWheelEventfor script not takingctrlKeyand the like,code,buttonsorrelatedTargetURLSearchParamskeeping the leading?of the string it is created from as part of the first nameErrorEventinitialized with its details having no type, so that it never reached listeners oferrorErrorEvent.Messagethrowing without an error+=on the events of the DOMaandareaelements not having the stringifier of the DOM:ToStringgives theirhrefcontainsof a node throwing fornullreplaceWithof nodes only being known asreplaceIsScripting = falsewhen 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 needsIsScripting = trueto run scriptsCreateDocumentOptions.IsScriptingDisabledto create a document without scripting, asDOMParserrequiresaddEventListenerandremoveEventListener:capture,once,passiveandsignal, where a signal is anIAbortSignalCreateDocumentOptions.IsNavigationDisabledto create a document without it becoming the active document of its context or entering the session history, asDOMParserrequiressandboxattribute ofiframeapplying to its browsing context (IBrowsingContext.Security), together with the flags of what is around itisConnectedof nodes andtoggleAttributeof elementscustomElementsof the window withdefine,get,getName,whenDefinedandupgrade, as well as the:definedpseudo class; the scripts are run throughICustomElementHost, which can hold back the reactions until a call of a script returns;createElementwithisandadoptedCallbackincluded::selectionpseudo elementX-Frame-Optionsand theframe-ancestorsdirective ofContent-Security-Policy, against every document around a frame: a frame refusing to be shown gets no documentreplaceChildrenas an extension ofIParentNodeentries,keys,valuesandforEachtoURLSearchParamsIScriptValueClonerfor keeping what script gives without its enginegetRootNodeas an extension ofINodetoJSONtoDOMRectandDOMPointgetAttributeNames,hasAttributes,insertAdjacentElement,insertAdjacentTextandinertto elements,isSameNodeto nodes andreplaceandvaluetoDOMTokenListPointerEvent,codeandisComposingtoKeyboardEvent,xandytoMouseEvent,cancelBubbleandreturnValuetoEventEventTarget, which isn't abstract any morescrollingElement,hidden,visibilityStateandcharsetto documentsrequestSubmitto forms,reportValidityto inputs,itemto selects anddecode,decoding,loadingandreferrerPolicyto imagesSubmitEventandrequestSubmitvalidation, cancellation, and submitter reporting to formsmovementXandmovementYto MouseEventpopoverattribute (popover API)New Contributors
Full Changelog: AngleSharp/AngleSharp@v1.9.1...v1.10.0
1.9.1
Released on Sunday, November 1 2026.
What's Changed
AppendChild,InsertBefore, ...) into a deep tree (#1401) @michaelthyregodclassList.toggle(token, false)adding an absent token instead of removing it: the DOM'stoggleis nowDomTokenListExtensions.ToggleToken:nth-child(… of …)selectors (#1403) @michaelthyregodFull Changelog: AngleSharp/AngleSharp@v1.9.0...v1.9.1
1.9.0
Released on Friday, October 30 2026.
What's Changed
TextContent,:contains(),GetElementById,GetElementsByName,GetElementsByClassName,GetElementsByTagNameandNormalize, which also continue with an explicit stack below 128 levels instead of recursing (#1389) @michaelthyregodIHtmlParser.ParseFragmentand 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 repeatedhtml/bodystart 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):hoveronly walk subtrees of hovered elements inside.treesetIntervalwith a delay of 0 never yielding: every round completed synchronously and queued tasks until memory ran out; a negative delay ofsetTimeoutorsetIntervalthrew instead of counting as 0 (nested intervals now wait at least 4ms, as in browsers)ParseFragment,innerHTML) to break out ofsvg/mathon HTML start tags such asp,bordiv, which previously stayed foreign elementsCreateElement<TElement>()depending on reflection that trimming can break;IElement,IHtmlElementandISvgElementnow throw instead of returning an arbitrary element @michaelthyregodIHtmlParser.ParseFragmentto keep an SVG or MathML context element in its namespace (and anannotation-xmlcontext'sencoding), instead of parsing as if the context were an HTML element of the same name, and to find aformancestor of the context, so a nested<form>start tag is ignored as withinnerHTMLtemplateinto its own contents not throwing aHierarchyRequestErrorAwaitEventAsyncremoving its listener off-thread while a dispatch was still running (#1397) @michaelthyregodIHtmlSelectElement.SelectedIndexgaining a setter; setOptions.SelectedIndexto change the selection (#1395) @SimonCroppAwaitEventAsyncoverload taking aCancellationToken@michaelthyregodIsAotCompatible) for the .NET 8 and .NET 10 targets (#1398) @michaelthyregodSubmitAsync,Attr,VirtualResponse.HeadersandToDictionary, which calls with an anonymous object bind to when recompiled; theObjectoverloads are now obsolete @michaelthyregodNew Contributors
Full Changelog: AngleSharp/AngleSharp@v1.8.6...v1.9.0
1.8.6
Released on Sunday, October 25 2026
What's Changed
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.Equalscomparing the prefix instead of the local nameIDocument.Import(importNode) returning nodes owned by the source document instead of the importing oneIDocument.Importaccepting a shadow root instead of throwingNotSupportedINode.CloneandImportoverflowing 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.CopyContentandExtractContentoverflowing the stack on deeply nested rangesDispatch(dispatchEvent) returningtruefor a canceled eventMutationObservernot observing a document itself and throwing for one without a root elementMutationObserver.Disconnectkeeping the previous targets for a laterConnectDoClickcrashing the process; it is reported as a context errorURLSearchParamstreating non-ASCII values as single bytes and leaving+undecoded @NotAFlightRisk in Decode URLSearchParams as UTF-8 and treat + as a space AngleSharp/AngleSharp#1390IHtmlSelectElement.SelectedIndexsetterHtmlParserOptions.MaximumDepth(default 512) to stop deeply nested markup from building trees that overflow the stacktabindexand blurring of any focused elementDoClickAsyncto await a click's navigation or form submission<details>when clicking its<summary><template shadowrootmode="open">(orclosed) as the shadow root of its parent:host(<compound>), and selectors in a shadow tree reaching its host (only through:host)New Contributors
Full Changelog: AngleSharp/AngleSharp@v1.8.5...v1.8.6
1.8.5
Released on Thursday, October 15 2026
What's Changed
:lang()inheritance and namespace precedence in HTML and foreign content (#1379) @PrzemyslawKlysURLSearchParamscutting values at a second=such astoken=abc==(#1385) @NotAFlightRiskFull Changelog: AngleSharp/AngleSharp@v1.8.4...v1.8.5
1.8.4
Released on Wednesday, October 7 2026
What's Changed
<select>(#1364) @PrzemyslawKlysfieldsetandoutputelements (breaking behavior change) (#1373) @PrzemyslawKlys<select>value (IsSelected) (#1365) @PrzemyslawKlys<select>form submission including unselected options and options in disabled groups (#1366) @PrzemyslawKlysannotation-xmlelements being treated as HTML integration points @NotAFlightRiskNew Contributors
Full Changelog: AngleSharp/AngleSharp@v1.8.3...v1.8.4
1.8.3
Released on Wednesday, September 30 2026
What's Changed
<base>elements not following frozen document base URL and tree-order mutation rules (#1355, #1362)Unloadinghandlers subscribing tounloadinginstead ofbeforeunload(#1354) @PrzemyslawKlysOnResetevent to inform script hosts of native listener removals (#1356) @PrzemyslawKlysNew Contributors
Full Changelog: AngleSharp/AngleSharp@v1.8.2...v1.8.3
1.8.2
Released on Friday, September 18 2026
What's Changed
document.forms["x"],form.elements["x"], ...) to enumerate the underlying sequence once instead of twiceform.elements/fieldset.elementsby walking the tree directly (#1350)GetElementsByTagName/GetElementsByClassNametraversal to stop double-scanning each element's childrenSelectors.Specificity,ComplexSelector.Specificity) to be computed once instead of recomputed on every readListSelector.GetMatchingSelectorto sort its selectors once instead of on every callDocument.Formsallocating a new collection instance per read, contradicting its own[DomSameObject]contractclassListand the other reflected token lists writing their content attribute without running the attribute change steps or queueing a mutation recorddisabledremoving it without running the attribute change steps or queueing a mutation recordStackOverflowExceptionwhen parsing a document with deeply nested unclosed<template>elementsDocument.MutationVersion, a synchronous counter of DOM mutations that a parse leaves unchanged (#1344, #1347)New Contributors
Full Changelog: AngleSharp/AngleSharp@v1.8.1...v1.8.2
1.8.1
Released on Thursday, September 10 2026
What's Changed
DoFocusandDoBlurto apply to form elementshrefand matchinglinkelements (#1337) @sebastienros:enabledincorrectly matching HTML links with nonemptyhref(#1324) @sebastienrosNew Contributors
Full Changelog: AngleSharp/AngleSharp@v1.8.0...v1.8.1
1.8.0
Released on Saturday, September 5 2026
What's Changed
DomSameObjectannotation for the respective IDL members (#1314) @lahmaDomReturnTypeannotation for methods returning a different IDL type (#1318)Full Changelog: AngleSharp/AngleSharp@v1.7.3...v1.8.0
1.7.3
Released on Thursday, September 3 2026
What's Changed
HtmlParser(#1315) @lahmaxml:lang[(#1294)CurrentScriptnot indicating the currently executing script (#1308) @lahmadata-*attributes (#1310) @lahmaDomLiteralsattribute toAdjacentPosition(#1311) @lahmaFull Changelog: AngleSharp/AngleSharp@v1.7.2...v1.7.3
1.7.2
Released on Sunday, August 23 2026
What's Changed
annotation-xmlencoding to be case-insensitive (#1284) @arpitjain099<xmp>usage in<select>elementsNew Contributors
Full Changelog: AngleSharp/AngleSharp@1.7.1...v1.7.2
1.7.1
Released on Wednesday, August 5 2026
DomNameattributes on DOM geometrydocument.open()destroying the DOM tree in case of encoding problems (#1276)Full Changelog: AngleSharp/AngleSharp@1.7.0...v1.7.1
1.7.0
Released on Friday, July 31 2026
:hostpseudo selector (#1271)1.6.0
Released on Sunday, July 26 2026
i/I(case-insensitive) ands/S(case-sensitive)UrlUrl||) selector syntaxCurrentSourceinCssMediaElement1.5.2
Released on Sunday, July 5 2026
NodeIteratorpre-removing steps to use the first following node (#1260) @ivandroflyRange.IsCollapsedto also compare offsets (#1259) @ivandroflyRange.CompareBoundaryTo(#1258) @ivandroflyRange.CopyContentto follow the DOM Standard (#1257) @ivandroflyRange.ExtractContentto follow the DOM Standard (#1256) @ivandrofly1.5.0
Released on Saturday, June 6 2026
MemoryCookieProvider(#1249) @riinaFull Changelog: AngleSharp/AngleSharp@v1.4.0...1.5.0
1.4.0
Released on Wednesday, November 12 2025.
ofsyntax in:nth-childfunctions within CSS selectorsselectedcontentto known elements (#1230):open,::checkmark,::picker-icon, and::picker(ident)to selector syntax (#1230)<select>(#1230)Full Changelog: AngleSharp/AngleSharp@1.3.1...v1.4.0
1.3.1
Released on Saturday, November 8 2025.
ISvgStyleElementand the associated implementation by @Rtwo-Dtwo in AddISvgStyleElementand the associated implementation AngleSharp/AngleSharp#1233IReadOnlyList<T>interface toIHtmlCollection,IStringList,ITokenList,IHtmlFormControlsCollection(#1226, #1227) @weitzhandlerNew Contributors
ISvgStyleElementand the associated implementation AngleSharp/AngleSharp#1233Full Changelog: AngleSharp/AngleSharp@1.3.0...1.3.1
1.3.0
Released on Friday, April 18 2025.
HasChildNodes(#1219) @arekdygasNodeIteratorbehavior when nodes are removed (#1222)GetAttributeNodemethods toIElement(#1223) @arekdygasFull Changelog: AngleSharp/AngleSharp@1.2.0...1.3.0
1.2.0
Released on Tuesday, December 31 2024.
Expiresrecognized as local time (#1212) @noobow34OnTokenevent for the tokenizer (#1153) @schaakverslaafdStringBuilderpooling (#1203) @micahbresettepropertyattribute to meta tags (#1195) @hflexgrigCommits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)