refit.httpclientfactory breaking changes
refit.httpclientfactory 17.0.0 (November 16, 2026) is its newest release with breaking changes, 33 of them. The first: Refit.HttpClientFactory 17.0.0 drops support for .NET 8 and 9. Every breaking API change we have recorded in refit.httpclientfactory on NuGet: 33 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 17.1.0, released November 30, 2026. Source repository
Its 17.0.0 release drops .NET 8 and 9. .NET end of life dates.
refit.httpclientfactory 17.0.0 breaking changes
- Removed
Refit 17 no longer targets .NET 8 or .NET 9. Retarget the application to a supported framework or stay on Refit 16. github.com - Removed
Refit 17 no longer targets .NET Framework 4.6.2. Retarget the application or stay on Refit 16. github.com - Removed
Refit drops the net462 build ahead of Microsoft's end of support. Use 4.8 or 4.8.1 where supported. github.com - Removed
Refit no longer targets .NET 8 or .NET 9 after Microsoft's end of support. Retarget applications to .NET 10 LTS or .NET 11 before upgrading. github.com - Removed
AddKeyedRefitClient
AddKeyedRefitClient must come from the Refit.HttpClientFactory.Reflection package. github.com - Removed
AddRefitClient
AddRefitClient must come from the Refit.HttpClientFactory.Reflection package. github.com - Removed
GetFieldNameForProperty
Custom content serializers must migrate away from the removed GetFieldNameForProperty contract. github.com - Removed
IHttpContentSerializer.GetFieldNameForProperty
Remove IHttpContentSerializer.GetFieldNameForProperty; field names are resolved in Refit.Reflection instead. github.com - Removed
ProblemDetails.Extensions
ProblemDetails.Extensions no longer uses JsonExtensionData. github.com - Removed
ProblemDetailsJsonContext
The unused ProblemDetailsJsonContext type was removed. github.com - Removed
Refit.HttpClientFactoryExtensions.<G>$7B30185E57B8298C6754F16C0BCF4773.AddKeyedRefitClient
Refit.HttpClientFactoryExtensions.<G>$7B30185E57B8298C6754F16C0BCF4773.AddKeyedRefitClient was removed in Refit.HttpClientFactory 17.0.0 nuget.org - Removed
Refit.HttpClientFactoryExtensions.<G>$7B30185E57B8298C6754F16C0BCF4773.AddRefitClient
Refit.HttpClientFactoryExtensions.<G>$7B30185E57B8298C6754F16C0BCF4773.AddRefitClient was removed in Refit.HttpClientFactory 17.0.0 nuget.org - Removed
Refit.HttpClientFactoryExtensions.<G>$FD14743E8ABAD982E22D574C34770B13.AddKeyedRefitClient
Refit.HttpClientFactoryExtensions.<G>$FD14743E8ABAD982E22D574C34770B13.AddKeyedRefitClient was removed in Refit.HttpClientFactory 17.0.0 nuget.org - Removed
Refit.HttpClientFactoryExtensions.<G>$FD14743E8ABAD982E22D574C34770B13.AddRefitClient
Refit.HttpClientFactoryExtensions.<G>$FD14743E8ABAD982E22D574C34770B13.AddRefitClient was removed in Refit.HttpClientFactory 17.0.0 nuget.org - Removed
Refit.HttpClientFactoryExtensions.AddKeyedRefitClient
Refit.HttpClientFactoryExtensions.AddKeyedRefitClient was removed in Refit.HttpClientFactory 17.0.0 nuget.org - Removed
Refit.HttpClientFactoryExtensions.AddRefitClient
Refit.HttpClientFactoryExtensions.AddRefitClient was removed in Refit.HttpClientFactory 17.0.0 nuget.org - Removed
RequestBuilder.ForType
RequestBuilder.ForType must be used with the Refit.Reflection package or replaced with generated clients. github.com - Removed
RestMethodInfo
Add the Refit.Reflection package to code that uses this type. github.com - Removed
RestMethodParameterInfo
Add the Refit.Reflection package to code that uses this type. github.com - Removed
RestMethodParameterProperty
Add the Refit.Reflection package to code that uses this type. github.com - Removed
RestService.For
RestService.For must be used with the Refit.Reflection package, or switch to RestService.ForGenerated with a source-generated JSON context. github.com - Renamed
FormField<TBody>.ExplicitName
Rebuild generated clients and use Names in place of ExplicitName. github.com - Behavior changed
Default JSON options no longer use the camelCase string enum converter. Add a string enum converter to keep string values. github.com - Behavior changed
Complex objects in form bodies throw NotSupportedException unless Refit.Reflection is referenced and registered. Flatten the model or add the package. github.com - Behavior changed
Default JSON now uses numeric enums, rejects numbers encoded as strings, and reads object values as JsonElement. Configure converters explicitly if an API needs another format. github.com - Behavior changed
Default options no longer read numbers from JSON strings. Set AllowReadingFromString on the options or property if your API sends them. github.com - Behavior changed
Properties typed object now hold JsonElement values. Read the JsonElement or call AddReflectionConverters from Refit.Reflection. github.com - Behavior changed
Enums seen only as object or generic arguments format as plain names unless Refit.Reflection is registered. github.com - Behavior changed
ProblemDetails.Extensions
Extensions stays empty when deserializing ProblemDetails yourself. Read extra members from the raw JSON or use ValidationApiException.Create. github.com - Behavior changed
SystemTextJsonContentSerializer
The first request throws NotSupportedException. Provide a source-generated context or reference Refit.Reflection and call ReflectionSupport.EnsureRegistered. github.com - Signature changed
IUrlParameterFormatter
IUrlParameterFormatter no longer exposes System.Reflection; implementations must accept IParameterAttributeProvider. github.com - Signature changed
IUrlParameterFormatter.Format
Change the parameter type in custom formatters from ICustomAttributeProvider to IParameterAttributeProvider. github.com - Signature changed
ResolveFieldName
Callers must pass a ContentSerializerNameStyle to ResolveFieldName. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.