Skip to content

Commit 271f8e1

Browse files
Pomdapissacha
andauthored
chore(deps): defer .NET 10 major bumps in Dependabot (#25)
## 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. --------- Co-authored-by: sacha <sacha@scojhconsult.com>
1 parent 884516a commit 271f8e1

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@ updates:
1111
open-pull-requests-limit: 5
1212
reviewers:
1313
- "Pomdapis"
14+
# Defer .NET 10 major bumps until Nexus (downstream consumer) is also
15+
# ready to move; otherwise transitive System.Text.Json / Configuration.Binder
16+
# downgrades break the build (NU1605). Lift this once Nexus pins .NET 10.
17+
ignore:
18+
- dependency-name: "Microsoft.Extensions.*"
19+
update-types: ["version-update:semver-major"]
20+
- dependency-name: "Microsoft.AspNetCore.*"
21+
update-types: ["version-update:semver-major"]
22+
- dependency-name: "Serilog.Settings.Configuration"
23+
update-types: ["version-update:semver-major"]
24+
- dependency-name: "System.Text.Json"
25+
update-types: ["version-update:semver-major"]
1426
groups:
1527
microsoft-extensions:
1628
patterns:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5050
### Changed
5151

5252
- CodeQL Default Setup switched from `default` to `extended` query suite — adds maintainability/quality queries on top of security (csharp + actions).
53+
- Dependabot now skips semver-major bumps on `Microsoft.Extensions.*`, `Microsoft.AspNetCore.*`, `Serilog.Settings.Configuration`, and `System.Text.Json` until the project moves to .NET 10 alongside Nexus (#25). Patch and minor bumps continue to flow.
5354

5455
### Security
5556

0 commit comments

Comments
 (0)