---
title: "refit 17.0.0 Breaking Changes on NuGet | Since.dev"
description: "What each refit release removed, renamed or changed: 151 breaking changes in 10 versions on NuGet, each with its source."
canonical_url: https://since.dev/packages/nuget/refit
last_updated: 2026-12-04
---

# refit breaking changes

refit 17.0.0 (November 16, 2026) is its newest release with breaking changes, 35 of them. The first: Drops .NET Framework 4.6.2 target in refit 17.0.0. Every breaking API change we have recorded in refit on NuGet: 151 breaking changes in 10 versions. Below, its 10 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `17.1.0`, released November 30, 2026. [Source repository](https://github.com/reactiveui/refit)

Its 17.0.0 release requires [.NET 10](https://since.dev/calendar/dotnet/10.md) or later. [.NET end of life dates](https://since.dev/calendar/dotnet.md).

- From [14.0.0](#v-14-0-0) to [17.0.0](#v-17-0-0): 35 breaking changes in 1 version.
- From [2.0.0](#v-2-0-0) to [17.0.0](#v-17-0-0): 148 breaking changes in 9 versions.

## refit 17.0.0 breaking changes

refit 17.0.0, released November 16, 2026: 35 breaking changes.

- **Removed**  

Refit 17 no longer targets .NET Framework 4.6.2. Retarget applications using it before upgrading or stay on Refit 16. [github.com](https://github.com/reactiveui/refit/blob/main/docs/breaking-changes.md)
- **Removed**  

Refit removes .NET 8 and .NET 9 targets because Microsoft ended their support. Retarget applications to .NET 10 LTS or .NET 11 before upgrading. [github.com](https://github.com/reactiveui/refit/releases/tag/v17.0.0)
- **Removed**  

Refit drops the net462 build ahead of Microsoft's end of support. Use a remaining .NET Framework target such as 4.8 or 4.8.1. [github.com](https://github.com/reactiveui/refit/releases/tag/v17.0.0)
- **Removed**  

Refit 17 no longer targets .NET 8 or .NET 9. Retarget applications on those frameworks before upgrading or stay on Refit 16. [github.com](https://github.com/reactiveui/refit/blob/main/docs/breaking-changes.md)
- **Removed** `AddKeyedRefitClient`  

AddKeyedRefitClient moved to the Refit.HttpClientFactory.Reflection package. [github.com](https://github.com/reactiveui/refit/releases/tag/v17.0.0)
- **Removed** `AddRefitClient`  

AddRefitClient moved to the Refit.HttpClientFactory.Reflection package. [github.com](https://github.com/reactiveui/refit/releases/tag/v17.0.0)
- **Removed** `GetFieldNameForProperty`  

The GetFieldNameForProperty contract was removed; custom content serializers must migrate to the new field-name provider. [github.com](https://github.com/reactiveui/refit/releases/tag/v17.0.0)
- **Removed** `Refit.FormField.ExplicitName`  

Refit.FormField.ExplicitName was removed in refit 17.0.0 [nuget.org](https://www.nuget.org/packages/refit/17.0.0)
- **Removed** `Refit.IHttpContentSerializer.GetFieldNameForProperty`  

The method taking a PropertyInfo is gone. Delete it from custom serializers and implement IContentSerializerNameStyle or IReflectionFieldNameProvider instead. [nuget.org](https://www.nuget.org/packages/refit/17.0.0)
- **Removed** `Refit.JsonContentSerializer.GetFieldNameForProperty`  

Refit.JsonContentSerializer.GetFieldNameForProperty was removed in refit 17.0.0 [nuget.org](https://www.nuget.org/packages/refit/17.0.0)
- **Removed** `Refit.ObjectToInferredTypesConverter`  

Refit.ObjectToInferredTypesConverter was removed in refit 17.0.0 [nuget.org](https://www.nuget.org/packages/refit/17.0.0)
- **Removed** `Refit.RequestBuilder`  

Refit.RequestBuilder was removed in refit 17.0.0 [nuget.org](https://www.nuget.org/packages/refit/17.0.0)
- **Removed** `Refit.RestMethodInfo`  

RestMethodInfo now lives in the Refit.Reflection package. Code that uses it needs that package reference. [nuget.org](https://www.nuget.org/packages/refit/17.0.0)
- **Removed** `Refit.RestMethodParameterInfo`  

RestMethodParameterInfo now lives in the Refit.Reflection package. Code that uses it needs that package reference. [nuget.org](https://www.nuget.org/packages/refit/17.0.0)
- **Removed** `Refit.RestMethodParameterProperty`  

RestMethodParameterProperty now lives in the Refit.Reflection package. Code that uses it needs that package reference. [nuget.org](https://www.nuget.org/packages/refit/17.0.0)
- **Removed** `Refit.RestService.For`  

RestService.For moved to the Refit.Reflection package; add that package or use RestService.ForGenerated. [nuget.org](https://www.nuget.org/packages/refit/17.0.0)
- **Removed** `Refit.SystemTextJsonContentSerializer.GetFieldNameForProperty`  

Refit.SystemTextJsonContentSerializer.GetFieldNameForProperty was removed in refit 17.0.0 [nuget.org](https://www.nuget.org/packages/refit/17.0.0)
- **Removed** `RequestBuilder.ForType`  

RequestBuilder.ForType moved to the Refit.Reflection package; add that package to keep using it. [github.com](https://github.com/reactiveui/refit/releases/tag/v17.0.0)
- **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](https://github.com/reactiveui/refit/releases/tag/v17.0.0)
- **Behavior changed**  

The default options dropped AllowReadingFromString, so a quoted number no longer reads into an int. Set NumberHandling on the options if your API sends numbers as strings. [github.com](https://github.com/reactiveui/refit/blob/main/docs/breaking-changes.md)
- **Behavior changed**  

Complex objects in form bodies now throw NotSupportedException unless Refit.Reflection is referenced and registered. Flatten the model or type the body so the generator sees every member. [github.com](https://github.com/reactiveui/refit/blob/main/docs/breaking-changes.md)
- **Behavior changed**  

Properties typed object or Dictionary\<string, object> now hold JsonElement values instead of CLR values. Read the JsonElement or call AddReflectionConverters from Refit.Reflection. [github.com](https://github.com/reactiveui/refit/blob/main/docs/breaking-changes.md)
- **Behavior changed**  

Enums that appear only as object or a generic argument format as plain names unless Refit.Reflection is registered. [github.com](https://github.com/reactiveui/refit/blob/main/docs/breaking-changes.md)
- **Behavior changed**  

Refit.Newtonsoft.Json and Refit.Xml now produce trim and AOT warnings, and their serializers can fail at run time in trimmed or AOT apps. Use System.Text.Json with a JsonSerializerContext for those apps. [github.com](https://github.com/reactiveui/refit/blob/main/docs/breaking-changes.md)
- **Behavior changed**  

The default JSON options no longer include the string enum converter, so enums are sent and read as numbers. Add a string enum converter to keep the old wire format. [github.com](https://github.com/reactiveui/refit/blob/main/docs/breaking-changes.md)
- **Behavior changed** `ProblemDetails.Extensions`  

The serializer no longer fills Extensions on ProblemDetails, and custom subclasses or serializer settings no longer take part. Read extra members from the raw JSON if needed. [github.com](https://github.com/reactiveui/refit/blob/main/docs/breaking-changes.md)
- **Behavior changed** `SystemTextJsonContentSerializer`  

Options without a resolver no longer switch to reflection silently. The first request throws NotSupportedException, so pass a source-generated context or reference Refit.Reflection. [github.com](https://github.com/reactiveui/refit/blob/main/docs/breaking-changes.md)
- **Configuration changed**  

Refit.Reflection and Refit.HttpClientFactory.Reflection are no longer trimmable and Refit.Reflection.targets no longer ships. Trimmed apps must keep the types they use themselves or move to generated clients. [github.com](https://github.com/reactiveui/refit/blob/main/docs/breaking-changes.md)
- **Signature changed** `GeneratedRequestRunner`  

GeneratedRequestRunner, FormField and generated attribute providers changed shape. Rebuild every project with Refit-generated clients and do not mix Refit 16 generator output with Refit 17. [github.com](https://github.com/reactiveui/refit/blob/main/docs/breaking-changes.md)
- **Signature changed** `Refit.DefaultUrlParameterFormatter.Format`  

The Format parameter type changed the same way as the interface. Update overrides to the new parameter type. [nuget.org](https://www.nuget.org/packages/refit/17.0.0)
- **Signature changed** `Refit.FormField.ResolveFieldName`  

Was string ResolveFieldName(Refit.IUrlParameterKeyFormatter urlParameterKeyFormatter); now string ResolveFieldName(Refit.IUrlParameterKeyFormatter urlParameterKeyFormatter, Refit.ContentSerializerNameStyle nameStyle). [nuget.org](https://www.nuget.org/packages/refit/17.0.0)
- **Signature changed** `Refit.GeneratedRequestRunner.AddFormattedCollectionProperty`  

Was static void AddFormattedCollectionProperty(ref Refit.GeneratedQueryStringBuilder builder, Refit.RefitSettings settings, System.Collections.IEnumerable values, string key, Refit.CollectionFormat collectionFormat, bool preEncoded... [nuget.org](https://www.nuget.org/packages/refit/17.0.0)
- **Signature changed** `Refit.GeneratedRequestRunner.FormatUrlParameter`  

Was static string FormatUrlParameter(Refit.RefitSettings settings, object value, System.Reflection.ICustomAttributeProvider attributeProvider, System.Type type); now static string FormatUrlParameter(Refit.RefitSettings settings, object... [nuget.org](https://www.nuget.org/packages/refit/17.0.0)
- **Signature changed** `Refit.GeneratedRequestRunner.RoundTripEscapePath`  

Was static string RoundTripEscapePath(string value, Refit.RefitSettings settings, System.Reflection.ICustomAttributeProvider attributeProvider, System.Type type); now static string RoundTripEscapePath(string value, Refit.RefitSettings... [nuget.org](https://www.nuget.org/packages/refit/17.0.0)
- **Signature changed** `Refit.IUrlParameterFormatter.Format`  

The Format parameter type changed from ICustomAttributeProvider to IParameterAttributeProvider. Update the parameter type in custom formatters. [nuget.org](https://www.nuget.org/packages/refit/17.0.0)

## refit 14.0.0 breaking changes

refit 14.0.0, released July 25, 2026: 35 breaking changes.

- **Removed**  

The reflection request builder is now in the Refit.Reflection package. Add that package if any API method reports RF006. [github.com](https://github.com/reactiveui/refit/releases/tag/v14.0.0)
- **Removed**  

The Refit package no longer includes the reflection request builder. Add a reference to the Refit.Reflection package if any interface method cannot generate inline. [github.com](https://github.com/reactiveui/refit/blob/main/docs/breaking-changes.md)
- **Removed**  

The Refit package no longer includes the reflection request builder. Add the Refit.Reflection package if any method cannot generate inline, or RestService.For and AddRefitClient will throw NotSupportedException. [github.com](https://github.com/reactiveui/refit/blob/v14.0.0/docs/breaking-changes.md)
- **Behavior changed**  

Streams you pass as a body, StreamPart or multipart parameter stay open after the request. You must dispose them yourself. [github.com](https://github.com/reactiveui/refit/blob/main/docs/breaking-changes.md)
- **Behavior changed**  

Query keys for flattened objects now use the content serializer's property name, such as JsonPropertyName. Set HonorContentSerializerPropertyNamesInQuery to false to keep the old behavior. [github.com](https://github.com/reactiveui/refit/blob/v14.0.0/docs/breaking-changes.md)
- **Behavior changed**  

Nested objects, dictionaries and collections in URL-encoded bodies are now flattened into key-value pairs instead of their ToString() output. [github.com](https://github.com/reactiveui/refit/blob/main/docs/breaking-changes.md)
- **Behavior changed**  

Fully generated interfaces validate route templates when the first request is built, not when the client is created. [github.com](https://github.com/reactiveui/refit/releases/tag/v14.0.0)
- **Behavior changed**  

Nested URL-encoded objects are flattened instead of using ToString(), so request bodies can change. [github.com](https://github.com/reactiveui/refit/releases/tag/v14.0.0)
- **Behavior changed**  

Refit no longer disposes streams supplied as request bodies or multipart parts. Callers must dispose them. [github.com](https://github.com/reactiveui/refit/releases/tag/v14.0.0)
- **Behavior changed**  

Query string generation now flattens query objects from their declared type, which can change the generated query. [github.com](https://github.com/reactiveui/refit/releases/tag/v14.0.0)

And 25 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## refit 14.0.0-beta.5 breaking changes

refit 14.0.0-beta.5, released July 25, 2026: 1 breaking change.

- **Behavior changed**  

Request building no longer uses runtime reflection by default, which changes how existing clients are built. Check for RF006 warnings after upgrading. [github.com](https://github.com/reactiveui/refit/releases/tag/v14.0.0-beta.5)

## refit 14.0.0-beta.1 breaking changes

refit 14.0.0-beta.1, released July 25, 2026: 2 breaking changes.

- **Behavior changed**  

Interfaces whose methods all generate inline no longer use the reflection request builder. Code that relies on reflection-based request building must install the separate opt-in package. [github.com](https://github.com/reactiveui/refit/releases/tag/v14.0.0-beta.1)
- **Signature changed**  

Callers that expect a Task from these members must be updated to handle ValueTask. The release notes do not name the affected members. [github.com](https://github.com/reactiveui/refit/releases/tag/v14.0.0-beta.1)

## refit 13.0.0 breaking changes

refit 13.0.0, released July 1, 2026: 4 breaking changes.

- **Behavior changed**  

Sensitive values such as auth headers and tokens are now redacted from exception and log output, so code that parsed or displayed those values may see different text. [github.com](https://github.com/reactiveui/refit/releases/tag/v13.0.0)
- **Behavior changed**  

The Newtonsoft.Json integration no longer honours unsafe TypeNameHandling by default. If you relied on permissive Newtonsoft type handling, you must opt back in explicitly. [github.com](https://github.com/reactiveui/refit/releases/tag/v13.0.0)
- **Behavior changed**  

XML deserialization now guards against external entity (XXE) attacks, so payloads that relied on external entities may no longer be processed as before. [github.com](https://github.com/reactiveui/refit/releases/tag/v13.0.0)
- **Signature changed** `Refit.ApiException.Content`  

Was string Content {get;}; now string Content {get; set;}. [nuget.org](https://www.nuget.org/packages/refit/13.0.0)

## refit 12.0.0 breaking changes

refit 12.0.0, released June 24, 2026: 37 breaking changes.

- **Removed**  

Target net462 or net8 instead, using multiple targets if you need to support both. [github.com](https://github.com/reactiveui/refit/releases/tag/v12.0.0)
- **Removed** `IApiResponse<T>.ContentHeaders`  

Source still compiles through the inherited base member, but code compiled against v8-v11 needs a recompile. [github.com](https://github.com/reactiveui/refit/releases/tag/v12.0.0)
- **Removed** `IApiResponse<T>.Error`  

Source still compiles through the inherited base member, but code compiled against v8-v11 needs a recompile. [github.com](https://github.com/reactiveui/refit/releases/tag/v12.0.0)
- **Removed** `IApiResponse<T>.IsSuccessful`  

Source still compiles, but narrowing Content via IsSuccessful on IApiResponse\<T> should move to HasContent or IsSuccessfulWithContent. [github.com](https://github.com/reactiveui/refit/releases/tag/v12.0.0)
- **Removed** `IApiResponse<T>.IsSuccessStatusCode`  

Source still compiles through the inherited base member, but code compiled against v8-v11 needs a recompile. [github.com](https://github.com/reactiveui/refit/releases/tag/v12.0.0)
- **Removed** `Refit.RestMethodInfo.EqualityContract`  

Refit.RestMethodInfo.EqualityContract was removed in refit 12.0.0 [nuget.org](https://www.nuget.org/packages/refit/12.0.0)
- **Removed** `Refit.RestMethodInfo.PrintMembers`  

Refit.RestMethodInfo.PrintMembers was removed in refit 12.0.0 [nuget.org](https://www.nuget.org/packages/refit/12.0.0)
- **Behavior changed**  

Multipart Guid, DateTime, DateTimeOffset and TimeSpan values are now sent as plain text rather than JSON-quoted, so servers reading them may see different values. [github.com](https://github.com/reactiveui/refit/commit/8b70ca1c072ac17741615e38918dfe50b970dc8b)
- **Default changed** `SystemTextJsonContentSerializer`  

Numbers in JSON strings are now read by default; set NumberHandling to Strict on JsonSerializerOptions to keep the old behavior. [github.com](https://github.com/reactiveui/refit/releases/tag/v12.0.0)
- **Signature changed** `Refit.AliasAsAttribute`  

Was class AliasAsAttribute : System.Attribute; now sealed class AliasAsAttribute : System.Attribute. [nuget.org](https://www.nuget.org/packages/refit/12.0.0)

And 27 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

4 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### refit 11.0.0 breaking changes

refit 11.0.0, released June 3, 2026: 9 breaking changes.

- **Behavior changed**  

Exceptions thrown by HttpClient.SendAsync before a response arrives are now wrapped in ApiRequestException. For ApiResponse\<T> return types they are surfaced through Error, so catch blocks around Refit calls may need to catch... [github.com](https://github.com/reactiveui/refit/releases/tag/v11.0.0)
- **Behavior changed**  

Synchronous return types are now only permitted for generated or non-public interface members. Interfaces that relied on unsupported synchronous members may now fail generation. [github.com](https://github.com/reactiveui/refit/releases/tag/v11.0.0)

And 7 more in this version.

### refit 7.0.0 breaking changes

refit 7.0.0, released June 29, 2023: 24 breaking changes.

- **Removed** `Refit.RefitSettings.AuthorizationHeaderValueWithCancellationTokenGetter`  

Refit.RefitSettings.AuthorizationHeaderValueWithCancellationTokenGetter was removed in refit 7.0.0 [nuget.org](https://www.nuget.org/packages/refit/7.0.0)
- **Removed** `Refit.RefitSettings.AuthorizationHeaderValueWithParamGetter`  

Refit.RefitSettings.AuthorizationHeaderValueWithParamGetter was removed in refit 7.0.0 [nuget.org](https://www.nuget.org/packages/refit/7.0.0)

And 22 more in this version.

### refit 7.0.0-beta.1 breaking changes

refit 7.0.0-beta.1, released June 29, 2023: 1 breaking change.

- **Configuration changed**  

The release marks its authorization configuration change as breaking, so code that configures authorization may need updating. [github.com](https://github.com/reactiveui/refit/releases/tag/7.0.0-beta.1)

### refit 2.0.0 breaking changes

refit 2.0.0, released October 12, 2014: 3 breaking changes.

- **Removed** `Refit.CastleRestService`  

Refit.CastleRestService was removed in refit 2.0.0 [nuget.org](https://www.nuget.org/packages/refit/2.0.0)
- **Behavior changed**  

Refit 2.0 generates the backing classes for your interfaces at compile time with Roslyn into a RefitStubs.cs file instead of at runtime with Castle.Core, so the generated code and build setup change. [github.com](https://github.com/reactiveui/refit/releases/tag/2.0.0)

And 1 more in this version.

## Related packages

- [refit.xml](https://since.dev/packages/nuget/refit.xml.md)
- [refit.httpclientfactory](https://since.dev/packages/nuget/refit.httpclientfactory.md)
- [refit.newtonsoft.json](https://since.dev/packages/nuget/refit.newtonsoft.json.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
