Skip to content

Raise the minimum AngleSharp version to 1.9.1 - #45

Closed
michaelthyregod wants to merge 1 commit into
AngleSharp:develfrom
michaelthyregod:chore/anglesharp-1.9.1
Closed

michaelthyregod wants to merge 1 commit into
AngleSharp:develfrom
michaelthyregod:chore/anglesharp-1.9.1

Conversation

@michaelthyregod

Copy link
Copy Markdown
Contributor

Raises the minimum AngleSharp version to 1.9.1 for 1.3.0, as agreed on #43. 1.9.1 contains AngleSharp/AngleSharp#1401, which makes AppendChild into deep trees constant time instead of O(depth).

Change

  • src/AngleSharp.Xml/AngleSharp.Xml.csproj: the default AngleSharpVersion goes from 1.9.0 to 1.9.1. Versions below 2.0.0 are still allowed.
  • .github/workflows/ci.yml: all four -AngleSharpVersion values are now 1.9.1.
  • AGENTS.md: the defaults and CI lines say 1.9.1, and the Performance note says AppendChild was O(depth) up to 1.9.0.
  • CHANGELOG.md: "Updated to use a minimum of AngleSharp 1.9.1".

Verification

  • The library builds with 0 warnings.
  • All 635 tests pass on AngleSharp 1.9.1.

The benchmark results for 1.3.0 follow tonight on #43.

🤖 Generated with Claude Code

1.9.1 contains AngleSharp/AngleSharp#1401, which makes AppendChild into deep trees constant time.

@FlorianRappl FlorianRappl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? The minimum version is what you at least require. Just because there is an improvement in AngleSharp should not force you to upgrade.

The only reason for raising the minimum version is if some API is not yet available.

@michaelthyregod

Copy link
Copy Markdown
Contributor Author

Fair point, nothing here needs 1.9.1; the speedup comes for free to anyone on it. Closing this.

@michaelthyregod michaelthyregod mentioned this pull request Nov 2, 2026
8 of 9 tasks
@michaelthyregod
michaelthyregod deleted the chore/anglesharp-1.9.1 branch November 2, 2026 22:22
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