refit.xml breaking changes
refit.xml 17.0.0 (November 16, 2026) is its newest release with breaking changes, 19 of them. The first: Removes .NET 8 and .NET 9 targets in Refit.Xml 17.0.0. Every breaking API change we have recorded in refit.xml on NuGet: 19 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
Packages on NuGet run on .NET. .NET end of life dates.
refit.xml 17.0.0 breaking changes
- Removed
Refit no longer targets .NET 8 or .NET 9. Retarget applications to .NET 10 LTS or .NET 11 before upgrading. github.com - Removed
Refit 17 no longer ships a net462 build. Applications on .NET Framework 4.6.2 must retarget before upgrading or stay on Refit 16. github.com - Removed
Refit 17 no longer targets .NET 8 and .NET 9. Applications on those runtimes must retarget before upgrading or stay on Refit 16. github.com - Removed
Refit no longer targets net462. Remaining .NET Framework assets cover 4.7 through 4.8.1, so prefer 4.8 or 4.8.1 where supported. github.com - Removed
AddKeyedRefitClient
AddKeyedRefitClient is no longer in Refit.HttpClientFactory. Add Refit.HttpClientFactory.Reflection to keep it. github.com - Removed
AddRefitClient
AddRefitClient is no longer in Refit.HttpClientFactory. Add Refit.HttpClientFactory.Reflection to keep it. github.com - Removed
ObjectToInferredTypesConverter
ObjectToInferredTypesConverter is no longer in the core package. Register it through AddReflectionConverters from Refit.Reflection. github.com - Removed
ProblemDetails.Extensions
ProblemDetails.Extensions no longer uses JsonExtensionData. Read extension members through the Refit problem details reader. github.com - Removed
Refit.XmlContentSerializer.GetFieldNameForProperty
Custom content serializers must stop implementing GetFieldNameForProperty. Use IReflectionFieldNameProvider for custom field names. nuget.org - Removed
RequestBuilder.ForType
RequestBuilder.ForType is no longer in the core package. Add Refit.Reflection to keep it. github.com - Removed
RestMethodInfo
RestMethodInfo is no longer in the core package. Add Refit.Reflection to use it. github.com - Removed
RestMethodParameterInfo
RestMethodParameterInfo is no longer in the core package. Add Refit.Reflection to use it. github.com - Removed
RestMethodParameterProperty
RestMethodParameterProperty is no longer in the core package. Add Refit.Reflection to use it. github.com - Removed
RestService.For
RestService.For is no longer in the core package. Add Refit.Reflection to keep it, or use RestService.ForGenerated. github.com - Behavior changed
Default JSON now uses numeric enums, rejects numbers encoded as strings, and reads object values as JsonElement. Configure converters and number handling explicitly if an API needs another format. github.com - Behavior changed
Refit.Xml wraps XmlSerializer, which uses reflection, so trim and AOT warnings now apply and serialization can fail at run time. Trimmed or Native AOT apps should use the System.Text.Json serializer with a JsonSerializerContext. github.com - Configuration changed
JSON options now require generated metadata or an explicitly registered reflection integration. Register one before use. github.com - Signature changed
IUrlParameterFormatter
IUrlParameterFormatter no longer exposes System.Reflection types. Custom formatters must accept IParameterAttributeProvider instead of ICustomAttributeProvider. github.com - Signature changed
IUrlParameterFormatter.Format
The parameter type changed from ICustomAttributeProvider to IParameterAttributeProvider. Update the parameter type in custom formatters; the body usually needs no edit. 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.