Skip to content

build: hold Microsoft.Extensions.Http and .Options on the 10.0 line - #124

Merged
kkdev92 merged 1 commit into
mainfrom
build/hold-microsoft-extensions-major
Nov 12, 2026
Merged

kkdev92 merged 1 commit into
mainfrom
build/hold-microsoft-extensions-major

Conversation

@kkdev92

@kkdev92 kkdev92 commented Nov 12, 2026

Copy link
Copy Markdown
Owner

Keeps Microsoft.Extensions.Http and Microsoft.Extensions.Options on the 10.0 line by ignoring major updates for the pair in dependabot.yml.

Why

The DependencyInjection package references both packages directly, so the versions in Directory.Packages.props become the dependency lower bounds in its nuspec (10.0.14 for both in the 0.10.1-alpha package). #121 proposes 11.0.0 for the pair. Merging it would raise every consumer to the 11.0 Microsoft.Extensions packages, apps still on .NET 10 included, while the packages target net10.0 only.

What changed

  • .github/dependabot.yml: an ignore list on the NuGet entry with version-update:semver-major for Microsoft.Extensions.Http and Microsoft.Extensions.Options, and a comment that says when to remove it (net11.0 joining the target frameworks).
  • Minor and patch updates on the 10.0 line still arrive as one pull request through the existing microsoft-extensions-http group. Bump Microsoft.Extensions.Http and Microsoft.Extensions.Options #121 will be closed once this is merged.

Verification

  • The file still parses as YAML, and parsing it before and after differs only by the new updates[0].ignore list.
  • The dependency groups in the published DependencyInjection nuspec are net10.0 only, with Microsoft.Extensions.Http and Microsoft.Extensions.Options at 10.0.14.
  • Not checked: how Dependabot reads the entry shows only after merge, in the update job that a configuration change starts.

🤖 Generated with Claude Code

The DependencyInjection package references Microsoft.Extensions.Http and
Microsoft.Extensions.Options directly, so the versions pinned for them
become the dependency lower bounds in its nuspec (10.0.14 for both
today). Dependabot proposed 11.0.0 for the pair in #121. Taking it would
raise every consumer to the 11.0 Microsoft.Extensions packages, apps
still on .NET 10 included, while the packages themselves target net10.0
only.

The ignore entry holds the major and names what has to happen for it to
go: net11.0 joining the target frameworks. Minor and patch updates on
the 10.0 line still flow, as one pull request for the pair.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kkdev92
kkdev92 force-pushed the build/hold-microsoft-extensions-major branch from 65081f2 to 42bcf11 Compare November 12, 2026 07:26
@kkdev92
kkdev92 merged commit b99931b into main Nov 12, 2026
10 checks passed
@kkdev92
kkdev92 deleted the build/hold-microsoft-extensions-major branch November 12, 2026 07:32
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.

1 participant