Skip to content

chore(deps): defer .NET 10 major bumps in Dependabot#25

Merged
Pomdapis merged 5 commits intomainfrom
chore/dependabot-defer-net10-majors
Apr 26, 2026
Merged

chore(deps): defer .NET 10 major bumps in Dependabot#25
Pomdapis merged 5 commits intomainfrom
chore/dependabot-defer-net10-majors

Conversation

@Pomdapis
Copy link
Copy Markdown
Contributor

Summary

Closes Dependabot's open .NET-10-major bumps (#8 microsoft-extensions, #9 serilog) until Nexus (downstream consumer) is also ready to move.

Why

Both PRs failed CI with NU1605 — bumping Microsoft.Extensions.* / Serilog.Settings.Configuration to 10.x pulls transitive System.Text.Json 10.x, but the project pins on .NET 9 runtime (System.Text.Json 9.0.0). To accept the bump cleanly we'd need to pin System.Text.Json explicitly to 10.x, which crosses framework lines.

Scope

Adds an `ignore` block to the NuGet update group:

```yaml
ignore:

  • dependency-name: "Microsoft.Extensions.*"
    update-types: ["version-update:semver-major"]
  • dependency-name: "Microsoft.AspNetCore.*"
    update-types: ["version-update:semver-major"]
  • dependency-name: "Serilog.Settings.Configuration"
    update-types: ["version-update:semver-major"]
  • dependency-name: "System.Text.Json"
    update-types: ["version-update:semver-major"]
    ```

Patch and minor bumps stay enabled. `Microsoft.AspNetCore.Mvc.Testing 9.0.x` patches will still flow.

Follow-up

Lift this when Nexus also moves to .NET 10. Tracked informally for now; convert to a roadmap-input issue if useful.

sacha added 3 commits April 26, 2026 15:53
PR #23 incorrectly bumped CHANGELOG to [1.0.0-preview.2] - 2026-04-26
with the quality-sweep entries, but tag v1.0.0-preview.2 was already
cut on 2026-04-25 from a different commit set (PRs #1-7) and
published to nuget.org.

This commit:
- Rewrites [1.0.0-preview.2] - 2026-04-25 with the actual published
  content (Adapters.Shared, OSS governance, security fixes #1-3,
  Dependabot bumps #4-7) — derived from the auto-generated GitHub
  release notes for v1.0.0-preview.2.
- Adds [1.0.0-preview.3] - 2026-04-26 with everything since
  v1.0.0-preview.2: documentation buildout (#14, #15, #17, #20-22),
  CodeQL extended query suite, softprops/action-gh-release SHA pin
  (#16, alert #28).

After merge, tag v1.0.0-preview.3 will be cut to publish.
Microsoft.Extensions.* 10.x and Serilog.Settings.Configuration 10.x pull
in transitive System.Text.Json 10.x, which breaks the .NET 9 pin with
NU1605 (package downgrade detected).

Need to coordinate the major bump with Nexus (downstream consumer)
before flipping the framework. Until then, ignore semver-major bumps
on:
- Microsoft.Extensions.*
- Microsoft.AspNetCore.*
- Serilog.Settings.Configuration
- System.Text.Json

Patch and minor bumps stay enabled. Lift this once Nexus is on .NET 10.

Closes the open Dependabot major bumps (#8, #9) which would have
required corresponding pin work to merge cleanly.
Copilot AI review requested due to automatic review settings April 26, 2026 14:38
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Defers Dependabot’s .NET 10 major NuGet update PRs until the downstream consumer (Nexus) is ready, to avoid NU1605 downgrade failures while staying on .NET 9.

Changes:

  • Add Dependabot ignore rules to block semver-major updates for selected .NET 10–driving packages/groups.
  • Update CHANGELOG.md with a new 1.0.0-preview.3 section, adjust dates, and update release links.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/dependabot.yml Adds ignore entries to suppress .NET 10 major bumps while allowing minor/patch updates.
CHANGELOG.md Adds/adjusts preview release entries and updates the [Unreleased] comparison link and new tag link.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CHANGELOG.md
@Pomdapis Pomdapis merged commit 271f8e1 into main Apr 26, 2026
5 checks passed
@Pomdapis Pomdapis deleted the chore/dependabot-defer-net10-majors branch April 26, 2026 14:49
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