Skip to content

Update to AngleSharp 1.10.2 and mark the library trim and Native AOT compatible - #55

Open
michaelthyregod wants to merge 2 commits into
AngleSharp:masterfrom
michaelthyregod:feature/anglesharp-1.10-aot
Open

michaelthyregod wants to merge 2 commits into
AngleSharp:masterfrom
michaelthyregod:feature/anglesharp-1.10-aot

Conversation

@michaelthyregod

@michaelthyregod michaelthyregod commented Nov 8, 2026 •

Copy link
Copy Markdown
  • AngleSharp 1.8.6 → 1.10.2; the tests use AngleSharp.Xml 1.3.0 (was 1.2.0).
  • IsAotCompatible on the .NET 8+ targets turns on the trim, single-file and AOT analyzers. There are no warnings on any target, and a Native AOT publish of an app using SelectNodes and WithXPath() is warning-free.
  • Every target uses the SDK's own Microsoft.NET.ILLink.Tasks (the same KnownILLinkPack line as AngleSharp.Xml and AngleSharp.Css), so the package isn't restored in two versions for net8.0 and net10.0.

All 14 tests pass.

🤖 Generated with Claude Code

…compatible

- AngleSharp 1.8.6 -> 1.10.0; the tests use AngleSharp.Xml 1.3.0
- IsAotCompatible on the .NET 8+ targets turns on the trim, single-file and
  AOT analyzers: no warnings on any target, and a Native AOT publish of an
  app using SelectNodes and WithXPath is warning-free
- every target uses the SDK's own ILLink.Tasks, as in AngleSharp.Xml and
  AngleSharp.Css, so the package isn't restored in two versions
@CLAassistant

CLAassistant commented Nov 8, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@michaelthyregod michaelthyregod changed the title Update to AngleSharp 1.10.0 and mark the library trim and Native AOT compatible Update to AngleSharp 1.10.2 and mark the library trim and Native AOT compatible Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants