refit.newtonsoft.json breaking changes
refit.newtonsoft.json 17.0.0 (November 16, 2026) is its newest release with breaking changes, 25 of them. The first: Drops .NET Framework 4.6.2 (net462) target in Refit.Newtonsoft.Json 17.0.0. Every breaking API change we have recorded in refit.newtonsoft.json on NuGet: 25 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.newtonsoft.json 17.0.0 breaking changes
- Removed
Refit no longer ships a net462 build. Prefer 4.8 or 4.8.1 where supported. github.com - Removed
Refit 17 no longer targets .NET 8 and .NET 9. Retarget applications on those frameworks before upgrading, or stay on Refit 16. github.com - Removed
Refit no longer targets .NET 8 or .NET 9. Retarget applications to .NET 10 LTS or .NET 11 before upgrading. github.com - Removed
AddKeyedRefitClient
AddKeyedRefitClient now lives in Refit.HttpClientFactory.Reflection. Add that package to keep using it. github.com - Removed
AddRefitClient
AddRefitClient now lives in Refit.HttpClientFactory.Reflection. Add that package to keep using it. github.com - Removed
Refit.NewtonsoftJsonContentSerializer.GetFieldNameForProperty
Custom content serializers must migrate away from GetFieldNameForProperty, which is removed. Field names now resolve through Refit.Reflection. nuget.org - Removed
RequestBuilder.ForType
RequestBuilder.ForType now lives in Refit.Reflection. Add that package to keep it, or use generated clients. github.com - Removed
RestMethodInfo
RestMethodInfo now lives in Refit.Reflection. Code that uses it needs the package reference. github.com - Removed
RestMethodParameterInfo
RestMethodParameterInfo now lives in Refit.Reflection. Code that uses it needs the package reference. github.com - Removed
RestMethodParameterProperty
RestMethodParameterProperty now lives in Refit.Reflection. Code that uses it needs the package reference. github.com - Removed
RestService.For
RestService.For now lives in Refit.Reflection. Add that package to keep it, or use RestService.ForGenerated with a source-generated JSON context. github.com - Behavior changed
JSON options now require generated metadata or an explicitly registered reflection integration. Problem details use Refit's reader. github.com - Behavior changed
Refit.Newtonsoft.Json and Refit.Xml are no longer marked trimmable or AOT compatible, so trimmed or Native AOT apps get warnings and may fail at run time. github.com - Behavior changed
Refit.Reflection and Refit.HttpClientFactory.Reflection are not trimmable and the trimmer root file is gone. Apps publishing trimmed with reflection clients must keep the types themselves or use generated clients. github.com - Behavior changed
Options with no resolver no longer fall back to reflection; the first request throws NotSupportedException. Give the options a source-generated context or reference Refit.Reflection and register it. github.com - Behavior changed
Generated code from Refit 16 does not link against the Refit 17 runtime. Update the Refit package and rebuild every project that contains generated clients. github.com - Behavior changed
Nested or run-time-typed objects in form bodies throw NotSupportedException unless Refit.Reflection is referenced and registered. Flatten the model or reference the package. github.com - Behavior changed
Default JSON now writes enums as numbers, 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
Properties typed object now hold JsonElement values instead of CLR primitives. Read the JsonElement or call options.AddReflectionConverters() from Refit.Reflection. github.com - Behavior changed
Enums that only appear as object or a generic argument format as their plain name unless Refit.Reflection is registered. github.com - Behavior changed
ProblemDetails.Extensions
Extensions stays empty when you deserialize ProblemDetails yourself. Read extra members from the raw JSON or use ValidationApiException.Content.Extensions. github.com - Default changed
The default options dropped AllowReadingFromString, so a string like "42" no longer reads into an int. Set NumberHandling on your options if your API sends numbers as strings. github.com - Default changed
The default JSON options no longer include the camelCase string enum converter, so enums go out as numbers. Add a string enum converter to keep the wire format. github.com - Signature changed
DefaultUrlParameterFormatter.Format
The virtual Format method now takes IParameterAttributeProvider. Overrides must change their parameter type. github.com - Signature changed
IUrlParameterFormatter.Format
The Format parameter type changed from ICustomAttributeProvider to IParameterAttributeProvider. Update the parameter type in your formatter. 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.