Skip to content

chore(deps): update dependency polyfill to v10 - #5417

Merged
thomhurst merged 1 commit into
mainfrom
renovate/polyfill-10.x
Apr 5, 2026
Merged

thomhurst merged 1 commit into
mainfrom
renovate/polyfill-10.x

Conversation

@thomhurst

Copy link
Copy Markdown
Owner

This PR contains the following updates:

Package Type Update Change
Polyfill nuget major 9.24.1 → 10.0.0

Release Notes

SimonCropp/Polyfill (Polyfill)

v10.0.0

Compare Source

  • #​515 Add new static extension polyfills using C# 14 syntax
  • #​516 Consider migrating Directory polyfills to extension(Directory) syntax
  • #​518 Add IndexOfAnyExcept and LastIndexOfAnyExcept
  • #​519 Migrate Directory polyfills to extension(Directory) syntax

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@thomhurst thomhurst added dependencies Pull requests that update a dependency file MAJOR renovate-bot labels Apr 5, 2026
@thomhurst
thomhurst enabled auto-merge (squash) April 5, 2026 23:16
@thomhurst thomhurst added dependencies Pull requests that update a dependency file renovate-bot MAJOR labels Apr 5, 2026

@claude claude Bot 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.

Code Review

PR: Bump Polyfill from 9.24.1 → 10.0.0 (major version)


Summary

Single-line change in Directory.Packages.props. All projects using Central Package Management will automatically pick up the new version.


Analysis

Change scope: The diff is minimal and correct — this is the right place to update a centrally-managed package version.

Major version bump — what changed in v10:

  • Added new static extension polyfills using C# 14 syntax (extension(T) syntax)
  • Added IndexOfAnyExcept / LastIndexOfAnyExcept polyfills
  • Migrated Directory polyfills to the new extension(Directory) syntax

Compatibility assessment:

  • ✅ C# 14 syntax — TUnit sets LangVersion = preview, so C# 14 static extension syntax is supported.
  • ✅ Additive changes — The release notes indicate new polyfills were added, not removed. No breaking API changes are documented.
  • ⚠️ AOT compatibility — The extension(Directory) syntax is a new C# 14 feature. TUnit has a strict Native AOT requirement. The Polyfill library itself is designed to be source-generator-based (compile-time, no runtime reflection), so AOT impact should be minimal — but CI results should confirm this before merge.
  • ✅ No snapshot changes needed — This doesn't affect source generator output, so no .verified.txt updates are expected.

Verdict

The change looks correct. The major version bump is driven by C# 14 syntax adoption in the Polyfill library itself, not by breaking API removals, making it lower-risk than a typical major bump. Auto-merge is reasonable here contingent on all CI checks (especially any AOT/NativeAOT build targets) passing cleanly.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

This was referenced Jun 1, 2026

This branch was previously deployed

1 inactive deployment
Pull Requests — ac98f267 Deployed Apr 5, 2026 by thomhurst via modularpipeline (ubuntu-latest) #16825
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file MAJOR renovate-bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants