Skip to content

Release 1.8.3 - #1363

Merged
FlorianRappl merged 35 commits into
mainfrom
devel
Sep 30, 2026
Merged

FlorianRappl merged 35 commits into
mainfrom
devel

Conversation

@FlorianRappl

Copy link
Copy Markdown
Contributor

Types of Changes

Prerequisites

Please make sure you can check the following two boxes:

  • I have read the CONTRIBUTING document
  • My code follows the code style of this project

Contribution Type

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue, please reference the issue id)
  • New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

Description

This pull request introduces version 1.8.3 of AngleSharp, focusing on improved event handling, configuration performance, and compliance with DOM specifications. It also adds new tests and benchmarking for configuration services, and updates documentation and contributors.

PrzemyslawKlys and others added 30 commits September 22, 2026 13:02
…query

Notify script hosts when native listeners reset
Honor cancellation of queued timer callbacks
Use beforeunload for native Unloading handlers
Reduce configuration service setup cost without API changes
Respect browsing context sandbox rules during form submission
Add pull-based HTML serialization stream
This was referenced Nov 11, 2026
N3rdage pushed a commit to N3rdage/the-library that referenced this pull request Nov 15, 2026
Updated [AngleSharp](https://github.com/AngleSharp/AngleSharp) from
1.5.2 to 1.10.1.

<details>
<summary>Release notes</summary>

_Sourced from [AngleSharp's
releases](https://github.com/AngleSharp/AngleSharp/releases)._

## 1.10.1

Released on Saturday, November 7 2026.

## What's Changed

- Fixed module scripts of the parser (`<script type="module">`) running
right away instead deferring
- Fixed a script inserted without text not waiting for the text to be
set before running
- Improved the loader to dispose the responses of followed redirects
(#​1409) @​michaelthyregod
- Released 1.10.1 by @​FlorianRappl in
AngleSharp/AngleSharp#1411

**Full Changelog**:
AngleSharp/AngleSharp@v1.10.0...v1.10.1

## 1.10.0

Released on Friday, November 6 2026.

## What's Changed

- Fixed `addedNodes` and `removedNodes` of a `MutationRecord` being null
instead of an empty list
- Fixed `document.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 ends
- Fixed a frame without `src` or `srcdoc` having no document and window,
and it not firing `load` when inserted by a script
- Fixed `getElementsByClassName`, `getElementsByTagName`,
`getElementsByTagNameNS` and `getElementsByName` not being live, which
made a loop like `while (list.length) list[0].remove()` run forever
- Fixed `previousNode` of a `TreeWalker` never returning for a node with
a previous sibling
- Fixed the `detail` of a `CustomEvent` and the `relatedTarget` of a
`FocusEvent` being lost when given to their constructors by script
- Fixed `ctrlKey`, `shiftKey`, `altKey` and `metaKey` of a
`KeyboardEvent` always being false, also for `initKeyboardEvent` and the
wheel
- Fixed the options of `KeyboardEvent`, `MouseEvent` and `WheelEvent`
for script not taking `ctrlKey` and the like, `code`, `buttons` or
`relatedTarget`
- Fixed `URLSearchParams` keeping the leading `?` of the string it is
created from as part of the first name
- Fixed `ErrorEvent` initialized with its details having no type, so
that it never reached listeners of `error`
- Fixed `ErrorEvent.Message` throwing without an error
- Fixed the same listener being called repeatedly when added repeatedly
for a type and capture; this includes `+=` on the events of the DOM
- Fixed `a` and `area` elements not having the stringifier of the DOM:
`ToString` gives their `href`
- Fixed the document of a frame getting lost when its download finished
while the element was still being set up
- Fixed `contains` of a node throwing for `null`
- Fixed `replaceWith` of nodes only being known as `replace`
- Fixed scripts running with `IsScripting = 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 scripts
- Added `CreateDocumentOptions.IsScriptingDisabled` to create a document
without scripting, as `DOMParser` requires
- Added the options of `addEventListener` and `removeEventListener`:
`capture`, `once`, `passive` and `signal`, where a signal is an
`IAbortSignal`
- Added `CreateDocumentOptions.IsNavigationDisabled` to create a
document without it becoming the active document of its context or
entering the session history, as `DOMParser` requires
- Added the `sandbox` attribute of `iframe` applying to its browsing
context (`IBrowsingContext.Security`), together with the flags of what
is around it
- Added `isConnected` of nodes and `toggleAttribute` of elements
- Added custom elements: `customElements` 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
- Added support for `::selection` pseudo element
- Added `X-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 document
- Added `replaceChildren` as an extension of `IParentNode`
- Added `entries`, `keys`, `values` and `forEach` to `URLSearchParams`
- Added `IScriptValueCloner` for keeping what script gives without its
engine
- Added `getRootNode` as an extension of `INode`
- Added `toJSON` to `DOMRect` and `DOMPoint`
- Added `getAttributeNames`, `hasAttributes`, `insertAdjacentElement`,
`insertAdjacentText` and `inert` to elements, `isSameNode` to nodes and
`replace` and `value` to `DOMTokenList`
- Added `PointerEvent`, `code` and `isComposing` to `KeyboardEvent`, `x`
and `y` to `MouseEvent`, `cancelBubble` and `returnValue` to `Event`
- Added the constructor of `EventTarget`, which isn't abstract any more
- Added `scrollingElement`, `hidden`, `visibilityState` and `charset` to
documents
- Added `requestSubmit` to forms, `reportValidity` to inputs, `item` to
selects and `decode`, `decoding`, `loading` and `referrerPolicy` to
images
- Added `SubmitEvent` and `requestSubmit` validation, cancellation, and
submitter reporting to forms
- Added `movementX` and `movementY` to MouseEvent
- Added handling of `popover` attribute (popover API)
- Released 1.10.0 by @​FlorianRappl in
AngleSharp/AngleSharp#1407

## New Contributors

* @​FlorianRappl with @​Copilot made their first contribution in
AngleSharp/AngleSharp#1406

**Full Changelog**:
AngleSharp/AngleSharp@v1.9.1...v1.10.0

## 1.9.1

Released on Sunday, November 1 2026.

## What's Changed

- Improved performance of inserting a newly created node (`AppendChild`,
`InsertBefore`, ...) into a deep tree (#​1401) @​michaelthyregod
- Fixed `classList.toggle(token, false)` adding an absent token instead
of removing it: the DOM's `toggle` is now
`DomTokenListExtensions.ToggleToken`
- Fixed exponential matching of nested `:nth-child(… of …)` selectors
(#​1403) @​michaelthyregod
- Improved handling of deeply nested selector functions (#​1402)
@​michaelthyregod
- Released 1.9.1 by @​FlorianRappl in
AngleSharp/AngleSharp#1404

**Full Changelog**:
AngleSharp/AngleSharp@v1.9.0...v1.9.1

## 1.9.0

Released on Friday, October 30 2026.

## What's Changed

- Improved performance of `TextContent`, `:contains()`,
`GetElementById`, `GetElementsByName`, `GetElementsByClassName`,
`GetElementsByTagName` and `Normalize`, which also continue with an
explicit stack below 128 levels instead of recursing (#​1389)
@​michaelthyregod
- Improved performance of `IHtmlParser.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 siblings
- Improved performance of removing or inserting a node's first child,
which no longer shifts all its siblings, so moving every child of a
large node one by one (or replacing it via `innerHTML`) takes linear
time; each node with children also allocates one object less
- Improved quadratic parse time on hostile markup: elements and text
foster-parented out of a `table`, 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
- Improved performance of `: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
`.tree`
- Fixed `setInterval` 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)
- Fixed fragment parsing (`ParseFragment`, `innerHTML`) to break out of
`svg` / `math` on HTML start tags such as `p`, `b` or `div`, which
previously stayed foreign elements
- Fixed `CreateElement<TElement>()` depending on reflection that
trimming can break; `IElement`, `IHtmlElement` and `ISvgElement` now
throw instead of returning an arbitrary element @​michaelthyregod
- Fixed `IHtmlParser.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 `innerHTML`
- Fixed inserting a detached `template` into its own contents not
throwing a `HierarchyRequestError`
- Fixed `AwaitEventAsync` removing its listener off-thread while a
dispatch was still running (#​1397) @​michaelthyregod
- Fixed event listener registration racing a dispatch on another thread
@​michaelthyregod
- Fixed `IHtmlSelectElement.SelectedIndex` gaining a setter; set
`Options.SelectedIndex` to change the selection (#​1395) @​SimonCropp
- Added `AwaitEventAsync` overload taking a `CancellationToken`
@​michaelthyregod
- Added trimming and Native AOT compatibility (`IsAotCompatible`) for
the .NET 8 and .NET 10 targets (#​1398) @​michaelthyregod
- Added trim-safe generic overloads of `SubmitAsync`, `Attr`,
`VirtualResponse.Headers` and `ToDictionary`, which calls with an
anonymous object bind to when recompiled; the `Object` overloads are now
obsolete @​michaelthyregod
- Released 1.9.0 by @​FlorianRappl in
AngleSharp/AngleSharp#1399

## New Contributors

* @​michaelthyregod made their first contribution in
AngleSharp/AngleSharp#1389

**Full Changelog**:
AngleSharp/AngleSharp@v1.8.6...v1.9.0

## 1.8.6

Released on Sunday, October 25 2026

## What's Changed

- Removed temporary copies when serializing text that needs no HTML
escaping @​perfloop-agent in
AngleSharp/AngleSharp#1388
- Fixed `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 trees
- Fixed `IAttr.Equals` comparing the prefix instead of the local name
- Fixed `IDocument.Import` (`importNode`) returning nodes owned by the
source document instead of the importing one
- Fixed `IDocument.Import` accepting a shadow root instead of throwing
`NotSupported`
- Fixed `INode.Clone` and `Import` overflowing the stack on deeply
nested trees and templates
- Fixed a shallow clone of a `<template>` copying its contents
- Fixed serializing `<` and `>` in attribute values unescaped, which let
markup break out when reparsed under different rules (mutation XSS);
they are now written as `&lt;` and `&gt;` like browsers do since the
HTML spec change of May 2025
- Fixed `IRange.CopyContent` and `ExtractContent` overflowing the stack
on deeply nested ranges
- Fixed `Dispatch` (`dispatchEvent`) returning `true` for a canceled
event
- Fixed `MutationObserver` not observing a document itself and throwing
for one without a root element
- Fixed `MutationObserver.Disconnect` keeping the previous targets for a
later `Connect`
- Fixed a failing navigation or submission from `DoClick` crashing the
process; it is reported as a context error
- Fixed `URLSearchParams` treating non-ASCII values as single bytes and
leaving `+` undecoded @​NotAFlightRisk in
AngleSharp/AngleSharp#1390
- Added the `IHtmlSelectElement.SelectedIndex` setter
- Added `HtmlParserOptions.MaximumDepth` (default 512) to stop deeply
nested markup from building trees that overflow the stack
- Added focusing of elements with a `tabindex` and blurring of any
focused element
- Added `DoClickAsync` to await a click's navigation or form submission
- Added toggling the parent `<details>` when clicking its `<summary>`
- Added declarative shadow DOM: the parser attaches `<template
shadowrootmode="open">` (or `closed`) as the shadow root of its parent
- Added `:host(<compound>)`, and selectors in a shadow tree reaching its
host (only through `:host`)
- Released 1.8.6 by @​FlorianRappl in
AngleSharp/AngleSharp#1391

## New Contributors

* @​perfloop-agent made their first contribution in
AngleSharp/AngleSharp#1388

**Full Changelog**:
AngleSharp/AngleSharp@v1.8.5...v1.8.6

## 1.8.5

Released on Thursday, October 15 2026

## What's Changed

- Fixed select selectedness and option dirtiness across mutations, reset
and cloning (#​1384) @​PrzemyslawKlys
- Fixed fragment parsing losing the context document's quirks and
limited-quirks modes (#​1382) @​PrzemyslawKlys
- Fixed `:lang()` inheritance and namespace precedence in HTML and
foreign content (#​1379) @​PrzemyslawKlys
- Fixed `URLSearchParams` cutting values at a second `=` such as
`token=abc==` (#​1385) @​NotAFlightRisk
- Released 1.8.5 by @​FlorianRappl in
AngleSharp/AngleSharp#1386

**Full Changelog**:
AngleSharp/AngleSharp@v1.8.4...v1.8.5

## 1.8.4

Released on Wednesday, October 7 2026

## What's Changed

- Improved selection when parsing `<select>` (#​1364) @​PrzemyslawKlys
- Updated constraint validation eligibility of `fieldset` and `output`
elements (breaking behavior change) (#​1373) @​PrzemyslawKlys
- Fixed change of `<select>` value (`IsSelected`) (#​1365)
@​PrzemyslawKlys
- Fixed indeterminate input state when cloning (#​1367) @​PrzemyslawKlys
- Fixed `<select>` form submission including unselected options and
options in disabled groups (#​1366) @​PrzemyslawKlys
- Fixed option indexes inside option groups (#​1368) @​PrzemyslawKlys
- Fixed selecting an option leaving other single-select options selected
(#​1372) @​PrzemyslawKlys
- Fixed validity checks for controls excluded from validation (#​1370)
@​PrzemyslawKlys
- Fixed template content document when adopting a subtree (#​1374)
@​PrzemyslawKlys
- Fixed checking a radio leaving other group members checked (#​1371)
@​PrzemyslawKlys
- Fixed parsed radio checkedness depending on attribute order
@​PrzemyslawKlys
- Fixed SVG `annotation-xml` elements being treated as HTML integration
points @​NotAFlightRisk
- Fixed required radio validation across group members (#​1369)
@​PrzemyslawKlys
- Released 1.8.4 by @​FlorianRappl in
AngleSharp/AngleSharp#1377

## New Contributors

* @​NotAFlightRisk made their first contribution in
AngleSharp/AngleSharp#1376

**Full Changelog**:
AngleSharp/AngleSharp@v1.8.3...v1.8.4

## 1.8.3

Released on Wednesday, September 30 2026

## What's Changed

- Improved cancellation of queued timer callbacks (#​1357)
@​PrzemyslawKlys
- Improved configuration / setup performance (#​1360) @​PrzemyslawKlys
- Fixed form submission ignoring sandbox restrictions (#​1358)
@​PrzemyslawKlys
- Fixed `<base>` elements not following frozen document base URL and
tree-order mutation rules (#​1355, #​1362)
- Fixed native `Unloading` handlers subscribing to `unloading` instead
of `beforeunload` (#​1354) @​PrzemyslawKlys
- Added `OnReset` event to inform script hosts of native listener
removals (#​1356) @​PrzemyslawKlys
- Added pull-based HTML serialization stream (#​1361) @​PrzemyslawKlys
- Released 1.8.3 by @​FlorianRappl in
AngleSharp/AngleSharp#1363

## New Contributors

* @​PrzemyslawKlys made their first contribution in
AngleSharp/AngleSharp#1356

**Full Changelog**:
AngleSharp/AngleSharp@v1.8.2...v1.8.3

## 1.8.2

Released on Friday, September 18 2026

## What's Changed

- Improved attribute selector serialization to write only the
case-sensitivity modifier that was specified (#​1351)
- Improved id/name lookup on collections (`document.forms["x"]`,
`form.elements["x"]`, ...) to enumerate the underlying sequence once
instead of twice
- Improved performance of `form.elements` / `fieldset.elements` by
walking the tree directly (#​1350)
- Improved `GetElementsByTagName` / `GetElementsByClassName` traversal
to stop double-scanning each element's children
- Improved selector specificity (`Selectors.Specificity`,
`ComplexSelector.Specificity`) to be computed once instead of recomputed
on every read
- Improved `ListSelector.GetMatchingSelector` to sort its selectors once
instead of on every call
- Improved performance of HTML tree construction by keeping mutation
logic out of it (#​1347)
- Improved performance of DOM mutations by building a mutation record
only when an observer will consume it (#​1347)
- Improved performance of parser attribute duplication check
- Fixed `Document.Forms` allocating a new collection instance per read,
contradicting its own `[DomSameObject]` contract
- Fixed `classList` and the other reflected token lists writing their
content attribute without running the attribute change steps or queueing
a mutation record
- Fixed clearing a reflected boolean attribute such as `disabled`
removing it without running the attribute change steps or queueing a
mutation record
- Fixed vulnerability via SVG style serialization (GHSA-cgp3-27rh-pcp2)
- Fixed a `StackOverflowException` when parsing a document with deeply
nested unclosed `<template>` elements
- Added `Document.MutationVersion`, a synchronous counter of DOM
mutations that a parse leaves unchanged (#​1344, #​1347)
- Released 1.8.2 by @​FlorianRappl in
AngleSharp/AngleSharp#1353

## New Contributors

* @​RichardJansma made their first contribution in
AngleSharp/AngleSharp#1352

**Full Changelog**:
AngleSharp/AngleSharp@v1.8.1...v1.8.2

## 1.8.1

Released on Thursday, September 10 2026

## What's Changed

- Updated `DoFocus` and `DoBlur` to apply to form elements
- Improved explicit form ownership to take precedence over ancestor
forms for connected controls (#​1323) @​sebastienros
- Fixed HTML hyperlink pseudo-classes omitting empty `href` and matching
`link` elements (#​1337) @​sebastienros
- Fixed HTML-namespace element creation losing local-name case (#​1327)
@​sebastienros
- Fixed `:enabled` incorrectly matching HTML links with nonempty `href`
(#​1324) @​sebastienros
- Fixed changing focus of elements
- Released 1.8.1 by @​FlorianRappl in
AngleSharp/AngleSharp#1343

## New Contributors

* @​sebastienros made their first contribution in
AngleSharp/AngleSharp#1338

**Full Changelog**:
AngleSharp/AngleSharp@v1.8.0...v1.8.1

## 1.8.0

Released on Saturday, September 5 2026

## What's Changed

- Improved AngleSharp's test website
- Fixed script data escaped state potentially not bouncing back
correctly
- Added the `DomSameObject` annotation for the respective IDL members
(#​1314) @​lahma
- Added the `DomReturnType` annotation for methods returning a different
IDL type (#​1318)
- Released 1.8.0 by @​FlorianRappl in
AngleSharp/AngleSharp#1317

**Full Changelog**:
AngleSharp/AngleSharp@v1.7.3...v1.8.0

## 1.7.3

Released on Thursday, September 3 2026

## What's Changed

- Improved tracking of parse exceptions in the `HtmlParser` (#​1315)
@​lahma
- Fixed tokenizer buffer overrun on encoding change (#​1290) @​jafin
- Fixed selector text dropping the nth-child of clause (#​1292) @​jafin
- Fixed selector text dropping the case-insensitive (#​1291) @​jafin
- Fixed selector specificity carrying between fields instead of
saturating (#​1300) @​meziantou
- Fixed condition check for disposed state in ReturnToPool (#​1296)
@​meziantou
- Fixed ArgumentOutOfRangeException CSS escapes (#​1299) @​meziantou
- Fixed whitespace around An+B CSS selector notations (#​1297)
- Fixed unsupported pseudo-classes matching everything (#​1295)
- Fixed DomException for invalid foreign attribute names such as
`xml:lang[` (#​1294)
- Fixed script data escaped state leaving escaped mode too early
(#​1298)
- Fixed `CurrentScript` not indicating the currently executing script
(#​1308) @​lahma
- Fixed returned missing attribute-properties to use empty string
instead of null (#​1313) @​lahma
- Fixed removal of `data-*` attributes (#​1310) @​lahma
- Added missing DomName/DomAccessor annotations (#​1301) @​meziantou
- Added missing `DomLiterals` attribute to `AdjacentPosition` (#​1311)
@​lahma
- Released 1.7.3 by @​FlorianRappl in
AngleSharp/AngleSharp#1302

**Full Changelog**:
AngleSharp/AngleSharp@v1.7.2...v1.7.3

## 1.7.2

Released on Sunday, August 23 2026

## What's Changed

- Fixed matching of `annotation-xml` encoding to be case-insensitive
(#​1284) @​arpitjain099
- Fixed `<xmp>` usage in `<select>` elements
- Added ability to parse immutable byte buffers without a stream
(#​1286) @​dv00d00
- Released 1.7.2 by @​FlorianRappl in
AngleSharp/AngleSharp#1288

## New Contributors

* @​arpitjain099 made their first contribution in
AngleSharp/AngleSharp#1284

**Full Changelog**:
AngleSharp/AngleSharp@1.7.1...v1.7.2

## 1.7.1

Released on Wednesday, August 5 2026

- Migrated the build system from NUKE to Fallout by @​jafin in
AngleSharp/AngleSharp#1275
- Improved WHATWG Url specification (#​802) @​jafin
- Improved tokenizer read performance (#​1274) @​dv00d00
- Fixed auxiliary browsing context lifetime (#​1278) @​jafin
- Fixed duplicated `DomName` attributes on DOM geometry
- Fixed `document.open()` destroying the DOM tree in case of encoding
problems (#​1276)
- Fixed source references having wrong line (#​1280)
- Released 1.7.1 by @​FlorianRappl in
AngleSharp/AngleSharp#1281

**Full Changelog**:
AngleSharp/AngleSharp@1.7.0...v1.7.1

## 1.7.0

Released on Friday, July 31 2026
- Improved CSS selector performance (#​1270, #​929) @​lahma
- Added support for the `:host` pseudo selector (#​1271)
- Added support for the DomGeometry spec (#​1193)

## 1.6.0

Released on Sunday, July 26 2026
- Improved performance for text tokenization (#​1262) @​dv00d00
- Improved CSS selector performance
- Improved observer dispatch during HTML parsing (#​1266) @​dv00d00
- Improved declaration of unsupported pseudo elements
- Fixed inconsistent behavior and segfaults on Android Release build
(#​1252) @​DevGitPit
- Fixed CSS attribute selector modifier handling for `i` / `I`
(case-insensitive) and `s` / `S` (case-sensitive)
- Added API enhancements to expose asynchronous HTML token source
(#​1265) @​dv00d00
- Added bounded stream parsing mode (#​1263) @​dv00d00
- Added canonicalization of decimal, octal, or hexadecimal IPv4 literals
in `Url`
- Added parsing of / checks for IPv6 literals in `Url`
- Added support for the CSS column combinator (`||`) selector syntax
- Added correct identification of `CurrentSource` in `CssMediaElement`

Commits viewable in [compare
view](AngleSharp/AngleSharp@1.5.2...v1.10.1).
</details>

Updated [bunit](https://github.com/bUnit-dev/bUnit) from 2.7.2 to
2.15.2.

<details>
<summary>Release notes</summary>

_Sourced from [bunit's
releases](https://github.com/bUnit-dev/bUnit/releases)._

## 2.15.2

### Added

- Support for .NET 11 GA. The `net11.0` target now references the final
.NET 11 packages and is compiled with runtime async. By
[@​linkdotnet](https://github.com/linkdotnet).

### Changed

- The `bunit.template` now targets `net11.0` by default.
- Updated AngleSharp to 1.10.1 and AngleSharp.Css to 1.4.1.

### Fixed

- The `bunit.template` option to choose the target framework is now
`--sdk` as documented, instead of `--targetSdk`. By
[@​linkdotnet](https://github.com/linkdotnet).

## 2.14.0

### Changed

- Updated AngleSharp to 1.10.0 and AngleSharp.Css to 1.4.0.

### Fixed

- `Find` threw `TypeLoadException` with AngleSharp 1.10.0 because the
generated element wrappers did not implement the new `BeforeToggle`
event. Reported by
[@​ryanbaas83-collab](https://github.com/ryanbaas83-collab) in #​1968.
Fixed by [@​linkdotnet](https://github.com/linkdotnet).

## 2.13.3

### Fixed

- `Find` threw `TypeLoadException` with AngleSharp 1.8.6 because
`HtmlSelectElementWrapper` did not implement the new `SelectedIndex`
setter. Reported by [@​poxet](https://github.com/poxet) in #​1957. Fixed
by [@​linkdotnet](https://github.com/linkdotnet).
- A `WaitFor*` call whose first check passed left its timeout timer
running, which kept the helper, the renderer and everything the renderer
holds alive until the timeout elapsed. With a long `DefaultWaitTimeout`,
a test suite could hold every rendered component in memory for its whole
run. Fixed by [@​xaviergxf](https://github.com/xaviergxf).

## 2.12.5

### Fixed

- `WrapperBase.WrappedElement` could return `null` and throw
`NullReferenceException` when an element was accessed concurrently with
component re-renders. Reported by
[@​psu-prog](https://github.com/psu-prog) in #​1937. Fixed by
[@​Nacl-HCl](https://github.com/Nacl-HCl).
- `DisposeComponentsAsync()` could dispose nothing when the renderer's
dispatcher was busy, e.g. with a timer calling `InvokeAsync`. Reported
by [@​xfunc-tim-schneider](https://github.com/xfunc-tim-schneider) in
#​1939. Fixed by [@​linkdotnet](https://github.com/linkdotnet).
- Markup generation and `FindComponents` could recurse until the test
host crashed with a stack overflow when a render threw while
instantiating a child component. Reported in #​1935. Fixed by
[@​linkdotnet](https://github.com/linkdotnet).
- `Find()` could keep returning DOM nodes from the previous render when
a render, e.g. from a timer, happened while the nodes were parsed,
causing `UnknownEventHandlerIdException`. Reported by
[@​xfunc-tim-schneider](https://github.com/xfunc-tim-schneider) in
#​1938. Fixed by [@​linkdotnet](https://github.com/linkdotnet).

## 2.11.3

### Fixed

- `InvokeOnSpacerBeforeVisible` now uses 4 parameters on .NET 11.0.
Reported by [@​vnbaaij](https://github.com/vnbaaij) in #​1915. Fixed by
[@​vnbaaij](https://github.com/vnbaaij) in #​1919.
- A JSInterop timeout elapsing while a result was set could crash the
test host with `InvalidOperationException: Nullable object must have a
value`. Reported by [@​calebcwells](https://github.com/calebcwells) in
[#​1920](bUnit-dev/bUnit#1920). Fixed by
[@​linkdotnet](https://github.com/linkdotnet).

## 2.10.3

### Fixed

- `BunitHtmlParser.Dispose()` no longer throws
`InvalidOperationException: Collection was modified` when a parse is in
flight on another thread during test teardown. Reported by
[@​thimobuchheister](https://github.com/thimobuchheister) in #​1892.
Fixed by [@​linkdotnet](https://github.com/linkdotnet).

## 2.9.0

### Changed

- Update to stable package of `AngleSharp.Css`

## 2.8.6

### Added

- New overloads to WaitForHelpers to have async assertions and
predicates. Reported by
[@​radmorecameron](https://github.com/radmorecameron) in #​1833. Fixed
by [@​linkdotnet](https://github.com/linkdotnet).
- `AddAsset` to `BunitContext` to seed the `ResourceAssetCollection`
exposed via `ComponentBase.Assets`. Reported by
[LasseHerget](https://github.com/LasseHerget) in #​1846. Implemented by
[@​linkdotnet](https://github.com/linkdotnet).

Commits viewable in [compare
view](bUnit-dev/bUnit@v2.7.2...v2.15.2).
</details>

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants