Bump the api-client group with 2 updates#281
Closed
dependabot[bot] wants to merge 1 commit into
Closed
Conversation
Bumps Refit.HttpClientFactory from 11.0.1 to 13.1.0 Bumps Refitter.MSBuild from 2.0.0 to 2.1.0 --- updated-dependencies: - dependency-name: Refit.HttpClientFactory dependency-version: 13.1.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: api-client - dependency-name: Refitter.MSBuild dependency-version: 2.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: api-client ... Signed-off-by: dependabot[bot] <support@github.com>
vgmello
added a commit
that referenced
this pull request
Jul 15, 2026
Supersedes Dependabot #280, #279 (partial), #278, #273, #271, #276 (partial), #281 (Refit only), #263, #264: - Aspire 13.4.3 -> 13.4.6 - Microsoft.Orleans* 10.1.0 -> 10.2.1 (+ VersionOverride for Microsoft.Orleans.Analyzers in AppDomain.Api/AppDomain, matching how the source-generator reference is pinned independently of the main Orleans package group) - Google.Protobuf 3.35.0 -> 3.35.1, Grpc.Tools 2.80.0 -> 2.82.0 - OpenTelemetry.Instrumentation.AspNetCore 1.15.2 -> 1.16.0, OpenTelemetry.Instrumentation.GrpcCore beta.11 -> beta.13 - Scalar.AspNetCore 2.16.3 -> 2.16.11 - Testcontainers/.Kafka/.PostgreSql 4.12.0 -> 4.13.0 - Refit and Refit.HttpClientFactory 11.0.1 -> 13.1.0 (bumped together; HttpClientFactory 13.1.0 has an exact floor on Refit 13.1.0) - MessagePack 2.5.301 -> 2.5.302 (Aspire 13.4.6's StreamJsonRpc raised its own floor) - @types/node 25.x -> ^26.0.0 in both docs sites, lockfiles regenerated Intentionally NOT applied, each broke the build in isolation: - Microsoft.CodeAnalysis.Analyzers/CSharp/Common 5.0.0 -> 5.6.0 (PR #279, partial): JasperFx.RuntimeCompiler 4.5.0, pulled in by WolverineFx 5.39.2, hard-pins Microsoft.CodeAnalysis(.CSharp/.Scripting) to exactly 5.0.0. This bump is only safe alongside the WolverineFx major upgrade (PRs #282/#277), which is being deferred separately. - NSubstitute 5.3.0 -> 6.0.0 (PR #276, partial): 6.0.0 added proper nullable annotations to its public API (e.g. the CallInfo indexer), which surfaces CS8600 in ~38 existing call sites across the unit test suite that cast `x[0]` and read members into non-nullable properties. Needs a real test-code pass, not a drop-in version bump. - Refitter.MSBuild 2.0.0 -> 2.1.0 (PR #281, partial): fails code generation at build time with `MissingMethodException: System.Text.ValueStringBuilder.AsSpan()`. Unrelated to the Refit runtime library bump above, which is unaffected and kept. CentralPackageTransitivePinningEnabled (enabled in the prior commit) caught two additional floor violations these bumps triggered transitively, both fixed here: MessagePack needed 2.5.302 for Aspire 13.4.6's StreamJsonRpc, matching the earlier fix for a similar Refit floor issue. Verified: AppDomain.slnx and libs/Momentum/Momentum.slnx both build with 0 errors. Full test run: 175 passed / 34 failed (all Integration tests failing solely on missing local Docker, same pre-existing baseline as before this change) + 604 passed / 0 failed across all libs test projects. GitHub Actions bumps (#270 actions/cache, #262 actions/checkout) are gated behind a PreToolUse hook requiring separate confirmation before editing .github/workflows/*, not yet applied. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DqMbT47Qhz4ZjjccAEQL6B
Owner
|
Partially applied in #284: Refit and Refit.HttpClientFactory bumped to 13.1.0 (HttpClientFactory 13.1.0 has an exact floor requiring Refit >= 13.1.0, so both moved together rather than this PR's 11.0.1 target). Refitter.MSBuild 2.0.0 -> 2.1.0 NOT applied: it fails code generation at build time with |
3 tasks
Owner
Contributor
Author
|
This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests. To ignore these dependencies, configure ignore rules in dependabot.yml |
vgmello
added a commit
that referenced
this pull request
Jul 17, 2026
## Summary - Bumps `NSubstitute` `5.3.0` → `6.0.0` (major). Fixes the `(T)x[0]` CallInfo indexer cast pattern in 3 test files that no longer compiles under 6.0's nullable-annotated public API, switching to the null-safe `x.ArgAt<T>(0)` extension. - Evaluated `Refitter.MSBuild` `2.0.0` → `2.1.0` but reverted: 2.1.0 refactored the MSBuild task itself and throws `MissingMethodException: System.Text.ValueStringBuilder.AsSpan()` during code generation. Left at 2.0.0 pending an upstream fix. Supersedes/consolidates: - #276 (testing group bump — Testcontainers part already on `main`; NSubstitute part applied here) - #286 (NSubstitute 5.3.0 → 6.0.0 — applied here) - #281 (api-client group — Refit.HttpClientFactory part already on `main`; Refitter.MSBuild part evaluated and skipped, see above) - #285 (Refitter.MSBuild 2.0.0 → 2.1.0 — evaluated and skipped, see above) ## Test plan - [x] `dotnet build AppDomain.slnx` — succeeds - [x] `dotnet test tests/AppDomain.Tests` (unit, excl. Integration) — 160 passed - [x] `dotnet test libs/Momentum/tests/Momentum.Extensions.Tests` — 341 passed 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
Updated Refit.HttpClientFactory from 11.0.1 to 13.1.0.
Release notes
Sourced from Refit.HttpClientFactory's releases.
13.1.0
🗞️ What's Changed
CS0436build error fromPrimitivesR3BridgeGeneratedAttribute(#2176, #2194). BumpsReactiveUI.Primitivesto 6.0.0, which moves the R3 bridge generator out of the runtime package. Projects usingInternalsVisibleTo(e.g. test projects) build again, and the<Analyzer Remove=... />workaround is no longer needed.AddRefitGeneratedClientand NativeAOT. Now coversenum,Guid,DateTime/DateTimeOffset/DateOnly/TimeOnly/TimeSpan, all integer widths (incl.Int128/UInt128/Half), and anyIFormattable(#2193).✨ Features
🧹 General Changes
🔗 Full Changelog: reactiveui/refit@v13.0.0...13.1.0
🙌 Contributions
🌱 New contributors since the last release: @calebkiage
💖 Thanks to all the contributors: @calebkiage, @glennawatson
13.0.0
🗞️ What's Changed
Refit 13 is a major release focused on security hardening and a brand-new testing package.
TypeNameHandlingby default (blocking type-confusion/deserialization attacks), and sensitive values (auth headers, tokens) are now redacted from exception and log output. This is the main reason for the major version bump: if you relied on permissive Newtonsoft type handling you may need to opt back in explicitly.Refit.Testingpackage (#2184) — a first-party way to stub and verify Refit clients in tests without spinning up a realHttpClient. Supply canned responses for interface calls and assert which requests your code made, instead of hand-rollingHttpMessageHandlerfakes.✨ Features
🧹 General Changes
📝 Documentation
📌 Other
🔗 Full Changelog: reactiveui/refit@v12.1.0...v13.0.0
🙌 Contributions
💖 Thanks to all the contributors: @ChrisPulman, @glennawatson
12.1.0
🗞️ What's Changed
✨ Features
🐛 Fixes
📝 Documentation
📦 Dependencies
🔗 Full Changelog: reactiveui/refit@v12.0.0...12.1.0
🙌 Contributions
💖 Thanks to all the contributors: @ChrisPulman, @glennawatson, @HulinCedric
🤖 Automated services that contributed: @renovate[bot]
12.0.0
Overview
Refit 12.0 is a large release centred on a near-complete rewrite of how requests are built. The source generator now constructs HTTP requests inline at compile time instead of going through the reflection pipeline, making generated clients faster and friendly to trimming and Native AOT. On top of that foundation it adds response streaming, JSON Lines, naming-convention presets, and a batch of long-standing fixes. Two small, well-scoped breaking changes are called out below.
This release also removed netstandard2.0 and netstandard2.1 support. You should to use net462/net8 as your base lines, and use multiple targets if you need to target both.
Highlights
IAsyncEnumerable<T>response streaming. Stream large responses, auto-detecting a JSON array vs JSON Lines from the content type, generated inline on the hot path.[Body(BodySerializationMethod.JsonLines)]plus a streamingJsonLinesContent(application/x-ndjson), wired through both the reflection and source-gen paths.RefitSettings.CamelCase()/SnakeCase()/KebabCase()configure query keys, form-url-encoded keys, and JSON body property names consistently, plus snake/kebab URL key formatters. Opt-in, so existing behaviour is unchanged.EnsureSuccessStatusCodeAsync()/EnsureSuccessfulAsync()are now available directly onIApiResponse<T>; a newIsSuccessfulWithContent(andHasContent) gives a single, mock-safe success-with-content check; nullable annotations onIApiResponse<T>were corrected to be sound.RefitSettings.UrlResolution, andRefitSettings.AllowUnmatchedRouteParametersto leave an unmatched{token}for aDelegatingHandlerto rewrite.SystemTextJsonContentSerializer.GetFastPathJsonSerializerOptions()) and buffered/streamed request-body modes that run through it.[Query(SerializeNull = true)]to send a null property askey=instead of omitting it, and a publicUniqueName.ForType<T>()to resolve the generatedIHttpClientFactoryclient name.Guid/DateTime/DateTimeOffset/TimeSpan(andDateOnly/TimeOnly) are sent as plain text (#2016); property-level[Query(delimiter, prefix)]is honoured when flattening complex objects (#1334);[Query(Format = "")]serializes a complex value viaToString()(#1281); andIApiResponse<T>no longer shadows base members (#1933).Breaking changes and migration
IApiResponse<T>no longer shadows base members. Thenew-shadowedError,ContentHeaders,IsSuccessStatusCode, andIsSuccessfulmembers are removed from the generic interface. Source that reads these still compiles (they bind to the inherited base members), but code compiled against v8-v11 that bound to the generic-interface slots needs a recompile. If you relied onIsSuccessfulto narrowContentto non-null on anIApiResponse<T>-typed value, switch toHasContent/IsSuccessfulWithContent.System.Text.Jsonserializer now reads numbers from JSON strings (NumberHandling = AllowReadingFromString). Opt back out withNumberHandling = JsonNumberHandling.Stricton yourJsonSerializerOptions.🗞️ What's Changed
💥 Breaking Changes
✨ Features
♻️ Refactoring
⚡ Performance
🧹 General Changes
🔗 Full Changelog: reactiveui/refit@v11.2.0...v12.0.0
... (truncated)
11.2.0
🗞️ What's Changed
🐛 Fixes
🔗 Full Changelog: reactiveui/refit@v11.1.0...v11.2.0
🙌 Contributions
💖 Thanks to all the contributors: @glennawatson
11.1.0
🗞️ What's Changed
🐛 Fixes
🧹 General Changes
📝 Documentation
📦 Dependencies
🔗 Full Changelog: reactiveui/refit@v11.0.1...v11.1.0
🙌 Contributions
🌱 New contributors since the last release: @HulinCedric
💖 Thanks to all the contributors: @ChrisPulman, @glennawatson, @HulinCedric, @PressXtoChris
🤖 Automated services that contributed: @renovate[bot]
Commits viewable in compare view.
Updated Refitter.MSBuild from 2.0.0 to 2.1.0.
Release notes
Sourced from Refitter.MSBuild's releases.
2.1.0
What's Changed
... (truncated)
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions