NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #313 most downloaded on NuGet
Type-safe REST API clients for .NET, generated from annotated interfaces with build-time source generation, direct request construction, System.Text.Json defaults, and support for trimming and AOT.
Latest stable
17.0.0
Last release 6 days ago
16 Nov 2026
Ships unpredictably
gaps range from 9 days to 13 months
Most releases are documented
notes for 52 of the last 60 stable releases
13 versions withdrawn
withdrawn after publishing
127 years old
91 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
Refit removes net462 ahead of Microsoft's 12 January 2027 end-of-support date. Combining this transition with the other breaking changes reduces the l…
Refit 17.0.0 separates reflection-based clients from the core package, makes JSON behavior explicit, and moves modern .NET support to .NET 10 and .NET 11. This is a major release with framework, package and API changes. Rebuild all projects containing generated Refit clients after upgrading.
.NET 8 and .NET 9 reached Microsoft's end of support on 10 November 2026. Refit removes these targets so maintenance and dependency updates focus on supported modern runtimes. Retarget applications to .NET 10 LTS or .NET 11 before upgrading. See the .NET support policy.
net462) removalRefit removes net462 ahead of Microsoft's 12 January 2027 end-of-support date. Combining this transition with the other breaking changes reduces the legacy build and dependency combinations we maintain. Remaining .NET Framework assets cover 4.7, 4.7.1, 4.7.2, 4.8 and 4.8.1; targets vary by package. Prefer 4.8 or 4.8.1 where supported. See the .NET Framework support policy.
RestService.For, RequestBuilder.ForType and reflection method metadata move to Refit.Reflection. Add that package to retain those APIs, or use RestService.ForGenerated with a source-generated JSON context.AddRefitClient and AddKeyedRefitClient move to Refit.HttpClientFactory.Reflection. Generated client registration remains in Refit.HttpClientFactory.object values as JsonElement. Configure converters, naming and number handling explicitly when an API requires another wire format.IParameterAttributeProvider. Custom content serializers must migrate from the removed GetFieldNameForProperty contract.Updated ReactiveUI.Primitives to 10.0.0 and TUnit to 1.85.0. Microsoft dependencies retain separate .NET 10 and .NET 11 version bands, and deliberately bounded Roslyn versions remain unchanged. Removed the unused regular-expression package pin while retaining the documented cryptography security override. Retry examples use Refit's own HTTP retry handler, including server retry timing hints, without Polly dependencies. Documentation examples build for both modern runtimes and use generated metadata where required for trimming.
Package version numbers do not express the support lifecycle of the underlying runtime. Dependency majors and platform requirements can change independently. Check each package's target frameworks and dependencies before upgrading. If retargeting must wait, use a compatible Refit 16 release while planning the migration. Staying on an older package does not extend Microsoft's runtime support.
🔗 Full Changelog: v16.4.0...v17.0.0
🌱 New contributors since the last release: @AtakanUk
💖 Thanks to all the contributors: @AtakanUk, @glennawatson
🤖 Automated services that contributed: renovate[bot]
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Refit 16.4.0 adds opt-in HTTP-aware retries, new query naming and relative URL options, and fixes for parameter binding and response handling. Existin
Refit 16.4.0 adds opt-in HTTP-aware retries, new query naming and relative URL options, and fixes for parameter binding and response handling. Existing clients keep their current behavior unless you enable the new options.
HttpRetryHandler works with Refit clients and ordinary HttpClient calls. It needs no extra resilience package or changes to your API interface.
HttpRequestException. A 403 retries only when the configured delay reader finds a valid timing hint.Retry-After headers. RetryDelayProviders.Azure, .Aws, .GitHub and .Jira also read provider-specific timing headers. Custom readers can use ReadHeader with seconds, milliseconds, Unix timestamps or date formats.RetryJitterMode.Symmetric.MaxDelay returns the response rather than retrying too early. ServerDelayJitterRatio can add a small positive variation to a server delay.Put the retry handler in the client's handler chain, then create your Refit client as usual:
using Refit;
var handler = new HttpRetryHandler(new HttpRetryOptions
{
MaxRetries = 3,
DelayProvider = RetryDelayProviders.GitHub,
})
{
InnerHandler = new HttpClientHandler(),
};
using var client = new HttpClient(handler)
{
BaseAddress = new Uri("https://api.github.com"),
};
var api = RestService.ForGenerated<IGitHubApi>(client);
IGitHubApi is your existing Refit interface. Omit DelayProvider to use standard Retry-After handling. With Refit.HttpClientFactory, register a fresh handler for the client:
services.AddRefitGeneratedClient<IGitHubApi>()
.ConfigureHttpClient(static client =>
client.BaseAddress = new Uri("https://api.github.com"))
.AddHttpMessageHandler(static () => new HttpRetryHandler(new HttpRetryOptions
{
DelayProvider = RetryDelayProviders.GitHub,
}));
Set MaxRetries = 0 to disable retries. Use ShouldRetry to replace the response rules, and BaseDelay / MaxDelay to tune waits. POST, PUT, PATCH and DELETE require RetryUnsafeMethods = true; enable this only when replay is safe for the endpoint, such as when it supports an idempotency key. Avoid unbounded streaming uploads and stacking this handler with another retry strategy.
An authentication handler inside the retry handler runs on every attempt. HttpClient.Timeout bounds the whole call, including retry waits. For deterministic tests, Refit.Testing adds RetryReply.After, RetryReply.Header and StubHttp.CreateRetryHandler, with TimeProvider support.
[Query(Name = "client_id")] names a query parameter or form field. [AliasAs] still takes precedence. The positional [Query("...")] argument remains a nesting delimiter, not an alias; the new opt-in diagnostic RF016 helps catch that mistake.[Url(AllowRelative = true)] accepts relative as well as absolute URLs, using normal URI resolution against HttpClient.BaseAddress. Existing encoded queries are retained when appending query parameters. Plain [Url] still requires an absolute URL.RefitSettings now groups options under Serialization, Url, Exceptions and Requests. Existing top-level properties remain available and refer to the same settings. Retry options similarly expose Backoff, Replay and Responses groups.IApiResponse.ContentHeaders.ContentLength remains readable after response content is buffered or disposed, including when no explicit Content-Length header was sent. (#2360)🔗 Full Changelog: https://github.com/reactiveui/refit/compare/v16.3.0...v16.4.0
💖 Thanks to all the contributors: @glennawatson
🤖 Automated services that contributed: renovate[bot]
053873c feat(analyzers): explain why a method cannot generate and flag unbound route placeholders ( #2340 ) @glennawatson
🔗 Full Changelog: v16.2.0...v16.3.0
💖 Thanks to all the contributors: @glennawatson
🔗 Full Changelog: https://github.com/reactiveui/refit/compare/v16.2.0...v16.3.0
💖 Thanks to all the contributors: @glennawatson
d864935 feat(testing): add controllable streams, request capture and a test clock to Refit.Testing ( #2337 ) @glennawatson
🔗 Full Changelog: v16.1.0...v16.2.0
💖 Thanks to all the contributors: @glennawatson
🤖 Automated services that contributed: renovate[bot]
🔗 Full Changelog: https://github.com/reactiveui/refit/compare/v16.1.0...v16.2.0
💖 Thanks to all the contributors: @glennawatson
🤖 Automated services that contributed: renovate[bot]
aa139a2 feat: add lazy paging with generated PagedEnumerable methods ( #2332 ) @glennawatson
🔗 Full Changelog: v16.0.0...v16.1.0
💖 Thanks to all the contributors: @glennawatson
🔗 Full Changelog: https://github.com/reactiveui/refit/compare/v16.0.0...v16.1.0
💖 Thanks to all the contributors: @glennawatson
SECURITY.md lists the supported versions and explains how to report a vulnerability through GitHub private reporting.
Refit 16.0.0 is a major version because the .NET 11 assemblies are built without runtime-async. The public API does not change.
await.UseMonoRuntime=true also run on Mono.src/examples/Documentation has a project for every website page, plus larger samples for topics such as multipart uploads, serializers and compression. Each project builds with Refit.slnx and checks its results against local replies, so none needs a live service.[Options] sends OPTIONS, that [Url] accepts an empty path or /, and that [PathPrefix] does not add a leading slash. The Refit.Testing docs state that VerifyAllCalled ignores reusable and fallback routes.SECURITY.md lists the supported versions and explains how to report a vulnerability through GitHub private reporting.sourceRef to the shared release workflow. Renovate handles package updates per target framework, and the generator snapshot tests use a small in-repo helper instead of the Verify packages.🔗 Full Changelog: https://github.com/reactiveui/refit/compare/v15.2.0...v16.0.0
💖 Thanks to all the contributors: @glennawatson
🤖 Automated services that contributed: renovate[bot]
reactiveui/refit@164332344807773dd0c8a01e6ace24e86d2fedd8 feat(body): compress request bodies (#2311) @glennawatson
🔗 Full Changelog: https://github.com/reactiveui/refit/compare/v15.1.0...v15.2.0
💖 Thanks to all the contributors: @glennawatson
🤖 Automated services that contributed: renovate[bot]
🔗 Full Changelog: v15.1.0...v15.2.0
💖 Thanks to all the contributors: @glennawatson
🤖 Automated services that contributed: renovate[bot]
reactiveui/refit@74cbb64d51b705fb52a7bc0e7bd5f4e4b62bfb5e fix(generator): ship a single Roslyn analyzer slot (#2305) @glennawatson
🔗 Full Changelog: https://github.com/reactiveui/refit/compare/v15.0.0...v15.1.0
💖 Thanks to all the contributors: @glennawatson
🤖 Automated services that contributed: renovate[bot]
🔗 Full Changelog: v15.0.0...v15.1.0
💖 Thanks to all the contributors: @glennawatson
🤖 Automated services that contributed: renovate[bot]
reactiveui/refit@6f5aa733c8f1dbaedc1fe68d70b91260e72c8a2f feat: introduce GeneratedSingleTypeParameterAttributeProvider for single attribute type hand
🔗 Full Changelog: https://github.com/reactiveui/refit/compare/v14.0.1...v15.0.0
🌱 New contributors since the last release: @Lukas, @radixy0 💖 Thanks to all the contributors: @glennawatson, @jgarciadelanoceda, @Lukas, @radixy0, @rmja
🤖 Automated services that contributed: @renovate[bot]
🔗 Full Changelog: v14.0.1...v15.0.0
🌱 New contributors since the last release: @lukas, @radixy0
💖 Thanks to all the contributors: @glennawatson, @jgarciadelanoceda, @lukas, @radixy0, @rmja
🤖 Automated services that contributed: @renovate[bot]
reactiveui/refit@132f72d875f3181b96ec34229788ab4c01d51053 fix(generator): support path and header bindings (#2281) @glennawatson
🔗 Full Changelog: https://github.com/reactiveui/refit/compare/v14.0.0...v14.0.1
🌱 New contributors since the last release: @JavierGarciadelaNocedaArguelles 💖 Thanks to all the contributors: @glennawatson, @JavierGarciadelaNocedaArguelles, @JavierGarcíadelaNocedaArgüelles, @jgarciadelanoceda
🔗 Full Changelog: v14.0.0...v14.0.1
🌱 New contributors since the last release: @JavierGarciadelaNocedaArguelles
💖 Thanks to all the contributors: @glennawatson, @JavierGarciadelaNocedaArguelles, @JaviergarcíadelaNocedaArgüelles, @jgarciadelanoceda
Refit 14 is a major bug-fix and request-generation release. It fixes a broad set of correctness issues while completing the move to source-generated r
Refit 14 is a major bug-fix and request-generation release. It fixes a broad set of correctness issues while completing the move to source-generated request building. Most clients can now build requests without runtime reflection, improving trimming, Native AOT support, startup time, and allocations.
Refit.Reflection package. Fully generated clients should not add it.ValueTask. This affects the success-guard methods, DefaultApiExceptionFactory.CreateAsync, and several RefitSettings delegates. Most callers can continue to await them; code that stores a Task may need .AsTask().ToString().ApiException stack traces.AuthorizationHeaderValueGetter no longer sends a blank Authorization header.InternalsVisibleTo assemblies, and null parameter values round-trip correctly.[PathPrefix], per-method [Timeout], absolute URLs with [Url], optional route segments, indexed query collections, header validation, and returning a built HttpRequestMessage without sending it.IAsyncEnumerable<T>, and transport exceptions can be customized with TransportExceptionFactory.See the V14 migration details and complete feature documentation.
ReflectionTests (#2195) @TimothyMakkisonAttributeProvider field when not empty (#2271) @TimothyMakkisonAddConfiguredRequestOptions (#2214) @glennawatson @TimothyMakkisonStringBuilder with ValueStringBuilder in RoundTripEscapePath (#2253) @TimothyMakkisonStringBuilder with ValueStringBuilder (#2270) @TimothyMakkisonPooledStringBuilder directly and remove ConcatParts and JoinParts (#2275) @TimothyMakkisonAllAttributesCache replace Lazy with laziliy initialised code (#2211) @TimothyMakkisonallowUnmatchedParameter before calling IndexOf (#2252) @TimothyMakkisonMethodImplOptions.AggressiveInlining (#2260) @TimothyMakkison🔗 Full Changelog: https://github.com/reactiveui/refit/compare/v13.1.0...v14.0.0
🌱 New contributors since the last release: @arpitjain099, @jgarciadelanoceda, @rmja 💖 Thanks to all the contributors: @arpitjain099, @ChrisPulman, @glennawatson, @jgarciadelanoceda, @rmja, @TimothyMakkison
🤖 Automated services that contributed: @Copilot, @renovate[bot]
Refit 14 is a major bug-fix and request-generation release. It fixes a broad set of correctness issues while completing the move to source-generated request building. Most clients can now build requests without runtime reflection, improving trimming, Native AOT support, startup time, and allocations.
Refit.Reflection package. Fully generated clients should not add it.ValueTask. This affects the success-guard methods, DefaultApiExceptionFactory.CreateAsync, and several RefitSettings delegates. Most callers can continue to await them; code that stores a Task may need .AsTask().ToString().ApiException stack traces.AuthorizationHeaderValueGetter no longer sends a blank Authorization header.InternalsVisibleTo assemblies, and null parameter values round-trip correctly.[PathPrefix], per-method [Timeout], absolute URLs with [Url], optional route segments, indexed query collections, header validation, and returning a built HttpRequestMessage without sending it.IAsyncEnumerable<T>, and transport exceptions can be customized with TransportExceptionFactory.See the V14 migration details and complete feature documentation.
ReflectionTests (#2195) @TimothyMakkisonAttributeProvider field when not empty (#2271) @TimothyMakkisonAddConfiguredRequestOptions (#2214) @glennawatson @TimothyMakkisonStringBuilder with ValueStringBuilder in RoundTripEscapePath (#2253) @TimothyMakkisonStringBuilder with ValueStringBuilder (#2270) @TimothyMakkisonPooledStringBuilder directly and remove ConcatParts and JoinParts (#2275) @TimothyMakkisonAllAttributesCache replace Lazy with laziliy initialised code (#2211) @TimothyMakkisonallowUnmatchedParameter before calling IndexOf (#2252) @TimothyMakkisonMethodImplOptions.AggressiveInlining (#2260) @TimothyMakkison🔗 Full Changelog: v13.1.0...v14.0.0
🌱 New contributors since the last release: @arpitjain099, @jgarciadelanoceda, @rmja
💖 Thanks to all the contributors: @arpitjain099, @ChrisPulman, @glennawatson, @jgarciadelanoceda, @rmja, @TimothyMakkison
🤖 Automated services that contributed: @Copilot, @renovate[bot]
Fixed the `CS0436` build error from `PrimitivesR3BridgeGeneratedAttribute` (#2176, #2194). Bumps ReactiveUI.Primitives to 6.0.0, which moves the R3 br
CS0436 build error from PrimitivesR3BridgeGeneratedAttribute (#2176, #2194). Bumps ReactiveUI.Primitives to 6.0.0, which moves the R3 bridge generator out of the runtime package. Projects using InternalsVisibleTo (e.g. test projects) build again, and the <Analyzer Remove=... /> workaround is no longer needed.AddRefitGeneratedClient and NativeAOT. Now covers enum, Guid, DateTime/DateTimeOffset/DateOnly/TimeOnly/TimeSpan, all integer widths (incl. Int128/UInt128/Half), and any IFormattable (#2193).🔗 Full Changelog: https://github.com/reactiveui/refit/compare/v13.0.0...13.1.0
🌱 New contributors since the last release: @calebkiage 💖 Thanks to all the contributors: @calebkiage, @glennawatson
Refit 13 is a major release focused on security hardening and a brand-new testing package.
Refit 13 is a major release focused on security hardening and a brand-new testing package.
TypeNameHandling by 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.Testing package (#2184) — a first-party way to stub and verify Refit clients in tests without spinning up a real HttpClient. Supply canned responses for interface calls and assert which requests your code made, instead of hand-rolling HttpMessageHandler fakes.🔗 Full Changelog: https://github.com/reactiveui/refit/compare/v12.1.0...v13.0.0
💖 Thanks to all the contributors: @ChrisPulman, @glennawatson
reactiveui/refit@db3305331c7c81c663d233043a3ff5c53d3e65e9 docs: document v12 breaking changes and update package versions (#2180) @ChrisPulman
🔗 Full Changelog: https://github.com/reactiveui/refit/compare/v12.0.0...12.1.0
💖 Thanks to all the contributors: @ChrisPulman, @glennawatson, @HulinCedric
🤖 Automated services that contributed: @renovate[bot]
…of long-standing fixes. Two small, well-scoped breaking changes are called out below.
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.
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 streaming JsonLinesContent (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 on IApiResponse<T>; a new IsSuccessfulWithContent (and HasContent) gives a single, mock-safe success-with-content check; nullable annotations on IApiResponse<T> were corrected to be sound.RefitSettings.UrlResolution, and RefitSettings.AllowUnmatchedRouteParameters to leave an unmatched {token} for a DelegatingHandler to rewrite.SystemTextJsonContentSerializer.GetFastPathJsonSerializerOptions()) and buffered/streamed request-body modes that run through it.[Query(SerializeNull = true)] to send a null property as key= instead of omitting it, and a public UniqueName.ForType<T>() to resolve the generated IHttpClientFactory client name.Guid/DateTime/DateTimeOffset/TimeSpan (and DateOnly/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 via ToString() (#1281); and IApiResponse<T> no longer shadows base members (#1933).IApiResponse<T> no longer shadows base members. The new-shadowed Error, ContentHeaders, IsSuccessStatusCode, and IsSuccessful members 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 on IsSuccessful to narrow Content to non-null on an IApiResponse<T>-typed value, switch to HasContent / IsSuccessfulWithContent.System.Text.Json serializer now reads numbers from JSON strings (NumberHandling = AllowReadingFromString). Opt back out with NumberHandling = JsonNumberHandling.Strict on your JsonSerializerOptions.🔗 Full Changelog: https://github.com/reactiveui/refit/compare/v11.2.0...v12.0.0
💖 Thanks to all the contributors: @glennawatson
reactiveui/refit@13882dacbfe0466a6fb432b22f0aac224e8ce36a fix: honor parameter-level CollectionFormat for inner collections (#2144) @glennawatson
🔗 Full Changelog: https://github.com/reactiveui/refit/compare/v11.1.0...v11.2.0
💖 Thanks to all the contributors: @glennawatson
reactiveui/refit@be087067732c838d320c98654bf8dc6368cb7884 Fix: serialize body by runtime type for interface/abstract parameters (#2118) (#2119) @Hulin
🔗 Full Changelog: https://github.com/reactiveui/refit/compare/v11.0.1...v11.1.0
🌱 New contributors since the last release: @HulinCedric 💖 Thanks to all the contributors: @ChrisPulman, @glennawatson, @HulinCedric, @PressXtoChris
🤖 Automated services that contributed: @renovate[bot]
reactiveui/refit@484edf6e67310493766b9e4010793bdeaacfb1d7 build: default examples to IsPackable=false @glennawatson
🔗 Full Changelog: https://github.com/reactiveui/refit/compare/v11.0.0...11.0.1
🌱 New contributors since the last release: @xIceFox 💖 Thanks to all the contributors: @glennawatson, @xIceFox
…calls will need changes. These are the same breaking changes that briefly shipped in the now‑delisted 10.1.7 and were reported by the community in #21…
11.0.0 reworks Refit's error/exception model and tightens interface validation. Most apps will compile, but code that inspects ApiResponse.Error, reads StatusCode, or catches transport exceptions around Refit calls will need changes. These are the same breaking changes that briefly shipped in the now‑delisted 10.1.7 and were reported by the community in #2114.
💡 Need a drop‑in, non‑breaking replacement for
10.1.6? Use10.2.0— it is10.1.6re‑signed with a valid certificate (the10.1.6cert was revoked, see #2114). Move to11.0.0when you're ready to adopt the changes below.
1. ApiResponse<T>.Error is now ApiExceptionBase? (was ApiException?) (#2052)
A new abstract base ApiExceptionBase now sits under both ApiException and the new ApiRequestException. ApiExceptionBase does not expose Content / HasContent — those still live on ApiException.
// before
string? body = response.Error?.Content;
// after — narrow to ApiException first
if (response.Error is ApiException apiEx)
{
string? body = apiEx.Content; // Content/HasContent are on ApiException
}
2. New ApiRequestException wraps transport/connection failures (#2052)
Exceptions thrown by HttpClient.SendAsync before a response arrives — HttpRequestException (DNS/host unreachable), TaskCanceledException (timeouts), etc. — are now wrapped in ApiRequestException : ApiExceptionBase, carrying the full request context. For ApiResponse<T> return types these are now surfaced via .Error instead of only being thrown, so you no longer need a separate try/catch and IsSuccessful check.
// catching transport errors: catch the base (or ApiRequestException) now
catch (ApiExceptionBase ex) { /* covers ApiException + ApiRequestException */ }
3. ApiResponse<T>.StatusCode is now nullable (HttpStatusCode?) (#2052)
When the request never reached the server there is no status code. Code that assumed a non‑null value must handle null:
int code = (int)response.StatusCode; // ❌ won't compile / may throw
int? code = (int?)response.StatusCode; // ✅ handle the no-response case
4. Stricter interface validation + enum name handling (#2068)
Synchronous return types are now only permitted for generated/non‑public interface members (RestMethodInfo enforces the rule), and the System.Text.Json enum converter now maps serialized names both ways (including JsonStringEnumMemberName on .NET 9+). Interfaces that previously relied on unsupported sync members may now fail generation.
ApiRequestException for wrapping SendAsync exceptions (new error model) by @PressXtoChris in #2052AddRefitClient overloads and tests by @ChrisPulman in #2084Activator.CreateInstance with direct constructor in ApiResponse.Create by @james-s-tayler in #2071Thanks to everyone who contributed: @ChrisPulman, @PressXtoChris, @james-s-tayler, @yzhoholiev, @dyatlov-a
🤖 Automated services that contributed: @renovate[bot]
🔗 Full Changelog: https://github.com/reactiveui/refit/compare/v10.2.0...v11.0.0
This is a re-release of v10.1.6 which had a certificate revoked.
This is a re-release of v10.1.6 which had a certificate revoked.
🔗 Full Changelog: https://github.com/reactiveui/refit/compare/10.0.1...10.1.6
💖 Thanks to all the contributors: @ChrisPulman
🤖 Automated services that contributed: @renovate[bot]
Nothing published for this version
Nothing published for this version
Nothing published for this version
reactiveui/refit@af972dd8b285db52ff21f261e2c6fec38c80e959 Refactor HttpClientFactoryExtensions to simplify code structure (#2042) @ChrisPulman @zms911
🔗 Full Changelog: https://github.com/reactiveui/refit/compare/9.0.2...10.0.1
🌱 New contributors since the last release: @baynezy, @zms9110750 💖 Thanks to all the contributors: @baynezy, @ChrisPulman, @glennawatson, @zms9110750
🤖 Automated services that contributed: @renovate[bot]
reactiveui/refit@6654c952586b9b578e29160080f69ace40477687 feat: add url query tests for Refit.Tests/RestService (#1904) @ChrisPulman @TimothyMakkison
Refit.Tests/RestService (#1904) @ChrisPulman @TimothyMakkisonRestMethodInfo (#1903) @ChrisPulman @TimothyMakkisonWellKnownType (#1962) @TimothyMakkisonSourceWriter (#1966) @TimothyMakkisonAppend with WriteLine, remove empty lines and align generics (#1967) @TimothyMakkisonInterfaceStubGeneratorTests (#1976) @TimothyMakkisonDynamicallyAccessedMembers attribute (#1973) @ChrisPulman @TimothyMakkisonRestMethodInfo (#1897) @ChrisPulman @TimothyMakkisonCancellationToken? (#1917) @ChrisPulman @TimothyMakkisonqueryParamsToAdd (#1907) @ChrisPulman @TimothyMakkisonRequestBuilderImplementation (#1902) @ChrisPulman @Glenn @TimothyMakkisonMathodTests -> MethodTests (#1928) @ChrisPulman @TimothyMakkisonIObservable<IApiResponse<T>> test (#1964) @TimothyMakkisonWellKnownTYpes to WellKnownTypes (#1977) @ChrisPulman @TimothyMakkisonTreatAsString field to QueryAttribute (#1943) @mark-pro🔗 Full Changelog: https://github.com/reactiveui/refit/compare/8.0.0...9.0.2
🌱 New contributors since the last release: @AldeRoberge, @DavidGarton8, @derekm, @fubar-coder, @KodamaSakuno, @Krzysztof318, @mark-pro, @rdeveen 💖 Thanks to all the contributors: @AldeRoberge, @ChrisPulman, @DavidGarton8, @derekm, @fubar-coder, @Glenn, @glennawatson, @KodamaSakuno, @Krzysztof318, @mark-pro, @rdeveen, @TimothyMakkison
🤖 Automated services that contributed: @renovate[bot]
483b1d8df18098f137ca0eca056b7e9ec19f70dd Fix for CRLF injection vulnerability (#1834) @ChrisPulman
UniqueNameBuilder (#1894) @TimothyMakkisonunmanaged struct constraint generation (#1861) @ChrisPulman @TimothyMakkisonIDisposable test (#1855) @TimothyMakkisonIPerformanceService to return HttpResponseMessage (#1893) @TimothyMakkisonReflectionTests for IUrlParameterFormatter (#1888) @TimothyMakkisonShouldNotEmitFiles test (#1843) @TimothyMakkisonRestServiceExceptions (#1886) @TimothyMakkisonMicrosoft.CodeAnalysis.CSharp to 4.1.0 (#1857) @ChrisPulman @TimothyMakkisonVerify.SourceGenerators and update tests (#1874) @ChrisPulman @TimothyMakkisonNew contributors since the last release: @mithileshz, @ted-ccm, @TeddyAssefa Thanks to all the contributors: @ChrisPulman, @marcominerva, @mithileshz, @sguryev, @ted-ccm, @TeddyAssefa, @TimothyMakkison
The following automated services have also contributed to this release: @renovate[bot]
Fix for CRLF injection vulnerability (#1834) 155153e39a2b68421da8fc44b4f995ca65e82e2e @ChrisPulman
chore(deps): update dependency microsoft.codeanalysis.csharp.workspaces to 4.12.0-3.24456.2 by @renovate in https://github.com/reactiveui/refit/pull/1
Full Changelog: https://github.com/reactiveui/refit/compare/7.2.0...7.2.1
feat: fix form url encoded strings #1593 by @TimothyMakkison in https://github.com/reactiveui/refit/pull/1752
InterfaceTests by @TimothyMakkison in https://github.com/reactiveui/refit/pull/1802Full Changelog: https://github.com/reactiveui/refit/compare/7.1.2...7.2.0
b320e4eb4e9049210fe7655e0c6f9fda6b1c8e77 feat: optimize CachedRequestBuilder (#1716) @TimothyMakkison
CachedRequestBuilder (#1716) @TimothyMakkisonTryGetSingle instead of collection enumerable to lists. (#1738) @TimothyMakkisonpropertiesToAdd (#1741) @TimothyMakkisonRestMethodInfo, reduce dictionary allocations and linq iterations (#1742) @TimothyMakkison8a40692db0322c49ee82ca0dac2e733c46de496f feat: add startup and performance benchmarks (#1731) @TimothyMakkison
ValueStringBuilder adding the query parameters (#1719) @TimothyMakkisonee3119974b0d4c7334bfa1c22d3573a6d9afbd67 Bump BenchmarkDotNet from 0.13.5 to 0.13.6 (#1539) @dependabot[bot]
Array.Empty where possible (#1599) @TimothyMakkisonprivate static fields to store constant typeParameters where possible (#1606) @TimothyMakkisonifs, use TryGetValue, remove unneeded ToArray (#1619) @TimothyMakkison0a03d4a4ca91b5823c1151de35d977c41ca98183 Bump Nerdbank.GitVersioning from 3.5.119 to 3.6.132 (#1507) @dependabot[bot]
c0af5c2a3a78f490b3aaf1f07e994b2017e67e62 feature: Make the RestMethodInfo available in the request options (#1317) @0xced
RestMethodInfo available in the request options (#1317) @0xced63b96540716a12a5f36c514ee117316bbb92e116 Bump Newtonsoft.Json from 13.0.1 to 13.0.3 (#1480) @dependabot[bot]
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
#1298: remove readme from package
#1297: Update dependencies <details><summary><b>See More</b></summary>
#1296: Add a readme to the package
#1294: Fix example syntax, add paren.
#1293: fix: load content into buffer for void return methods
#1292: Update renamed section in Table of Contents
#1275: Add Xml documentation to exposed methods and classes.
#1287: Update README.md
#1279: Add note about JSON source generator
#1267: Fix NuGet package link for Serilog.Exceptions.Refit doc
This list of changes was auto generated.</details>
Nothing published for this version
This list of changes was auto generated.
#1248: Add documentation for Serilog.Exceptions.Refit nuget package
#1229: Gate the incremental source generators on LangVersion=preview <details><summary><b>See More</b></summary>
#1222: Change folder path to avoid implicit NuGet inclusions
This list of changes was auto generated.</details>
This list of changes was auto generated.
#1158: Upgrade to GitHub-native Dependabot
#1207: Bump Nerdbank.GitVersioning from 3.4.228 to 3.4.231
#1205: Bump Nerdbank.GitVersioning from 3.4.220 to 3.4.228
#1200: Bump coverlet.collector from 3.0.3 to 3.1.0 <details><summary><b>See More</b></summary>
#1193: Bump Nerdbank.GitVersioning from 3.4.216 to 3.4.220
#1183: Bump Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing.XUnit from 1.0.1-beta1.21265.1 to 1.1.0
#1188: Bump Nerdbank.GitVersioning from 3.4.205 to 3.4.216
#1185: Bump Nerdbank.GitVersioning from 3.4.203 to 3.4.205
#1184: Bump Microsoft.VisualStudio.Threading.Analyzers from 16.9.60 to 16.10.56
#1182: Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.10.0
#1181: Bump Nerdbank.GitVersioning from 3.4.194 to 3.4.203
#1177: Bump Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing.XUnit from 1.0.1-beta1.21256.1 to 1.0.1-beta1.21265.1
#1170: Bump Microsoft.NETFramework.ReferenceAssemblies from 1.0.1 to 1.0.2
#1165: Bump Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing.XUnit from 1.0.1-beta1.21254.1 to 1.0.1-beta1.21256.1
#1164: Bump Microsoft.NETFramework.ReferenceAssemblies from 1.0.0 to 1.0.1
#1162: Bump Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing.XUnit from 1.0.1-beta1.21177.1 to 1.0.1-beta1.21254.1
#1148: Bump Nerdbank.GitVersioning from 3.4.190 to 3.4.194
#1146: Bump Nerdbank.GitVersioning from 3.3.37 to 3.4.190
#1147: Bump System.Text.Json from 5.0.1 to 5.0.2
#1144: Bump Microsoft.NET.Test.Sdk from 16.9.1 to 16.9.4
#1134: Bump Newtonsoft.Json from 12.0.3 to 13.0.1
This list of changes was auto generated.</details>
This list of changes was auto generated.
<details><summary><b>See More</b></summary>
This list of changes was auto generated.</details>
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
<details><summary><b>See More</b></summary>
This list of changes was auto generated.</details>
This list of changes was auto generated.
<details><summary><b>See More</b></summary>
This list of changes was auto generated.</details>
This list of changes was auto generated.
#883: Usings fix
#879: Base address fix
#866: Fixed System.Text.Json deserialization on streamed data <details><summary><b>See More</b></summary>
#877: Disable CI build for tests as coverlet doesn't work
#874: Replace .NET Standard 1.4 with 2.0 in README.md
#868: Fix GitHub Pages
#653: IContentSerializer implementation and/or example for .NET Core 3.0?
#2: Add top-level API
This list of changes was auto generated.</details>
This list of changes was auto generated.
<details><summary><b>See More</b></summary>
#864: Revert "Ensure we have an emtpy byte array so that a content-length of 0 is sent"
#862: Custom query prop
#860: Trim trailing / for HttpClient-supplied base addresses
#858: Remove unused types (supporting netstandard1.4 )
#856: Bump Microsoft.CodeAnalysis.CSharp from 3.4.0 to 3.5.0
#854: Bump Nerdbank.GitVersioning from 3.1.68 to 3.1.71
#851: Bump Nerdbank.GitVersioning from 3.0.50 to 3.1.68
#1: Handle actually issuing REST requests, not just building them
#842: Bump Microsoft.Extensions.Http from 3.1.1 to 3.1.2
#838: Bump Microsoft.VisualStudio.Threading.Analyzers from 16.4.45 to 16.5.132
#834: Bump Microsoft.NET.Test.Sdk from 16.4.0 to 16.5.0
#830: Bump Microsoft.VisualStudio.Threading.Analyzers from 16.4.43 to 16.4.45
#827: Bump Nerdbank.GitVersioning from 3.0.48 to 3.0.50
#826: Bump Microsoft.Extensions.Http from 3.1.0 to 3.1.1
#825: Bump Nerdbank.GitVersioning from 3.0.28 to 3.0.48
#819: Bump coverlet.collector from 1.1.0 to 1.2.0
#5: Silverlight support?
#817: Bump System.Reactive from 4.3.1 to 4.3.2
#815: Updating #811 fix with better language detection
#814: Bump Microsoft.VisualStudio.Threading.Analyzers from 16.4.33 to 16.4.43
#813: Fix issue #811 & add tests for query parameters
#808: Bump System.Reactive from 4.2.0 to 4.3.1
#804: Bump Microsoft.CodeAnalysis.CSharp from 3.3.1 to 3.4.0
#805: Bump Microsoft.Extensions.Http from 3.0.1 to 3.1.0
#803: Generate using statements inside namespaces
#798: Bump Microsoft.SourceLink.GitHub from 1.0.0-beta2-19554-01 to 1.0.0
#792: Bump Microsoft.Extensions.Http from 3.0.0 to 3.0.1
#791: Bump Microsoft.Extensions.DependencyInjection from 3.0.0 to 3.0.1
#790: Update to MockHttp client with strong name
This list of changes was auto generated.</details>
Nothing published for this version
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
Nothing published for this version
Nothing published for this version
a1bfe49ff616c26823d1cad79130f9164a90b778 Merge pull request #629 from benjaminhowarth1/master [ #627, #637, #573 ]
a1bfe49ff616c26823d1cad79130f9164a90b778 Merge pull request #629 from benjaminhowarth1/master [ #627, #637, #573 ]
1be0034f18c91b88c5a9894a50e834cc688a8836 Merge branch 'master' into master
f7854e0fba0f073a2a30bbc275393c36597b83f1 Merge pull request #668 from reactiveui/revert-663-master
962eba8e4abe9280770f72753d84c82815f2559f Revert "added RefitRestServiceAttribute for HttpClient relative path"
182ba568bab25fe2fb7c7aec7651a6f209977671 Added documentation for AuthenticatedParameterizedHttpClientHandler where signature generation is dependent on contents of the HTTP request
0eb1f85ded45c10b66cf8e968214790fe74ca068 Updated README with fresh documentation on [Query] attributes in non-GET methods
ce52764866630fccbb8be6b7c01bc34d2ec2c305 Missed a brace in merge...
2b790cff01dcb363eb8ccab93b7ad51d1f6cf69a Merged
8301de0539c3d28e2ff37d6c29084bcf33e92be7 Fixes #637 by supporting POCO query parameters on all HTTP methods.
8a1aa726b42880ea512dc554c671914fb1eb989d Merge pull request #2 from reactiveui/master <details><summary><b>See more</b></summary>
0ebac043fab67811538fcd109b1b0b9c18ce4b01 Merge branch 'master' into master
5e2e7c3ebf58329247b932c1952255d99e8b9133 Merge branch 'master' of https://github.com/benjaminhowarth1/refit
c528c293170aa0265c24f2d70f434209ba733bf7 #637 Test demonstrating failure of [Query] to be recognised in non-get methods.
febd345f998197f9b61f4e19cba0b681d52d015b Merge branch 'master' into master
248d33325b8927f70f7a104b2066d9644a19cf6d Created new class for passing HttpRequestMessage to extra param, additive as @onovotny requested.
79552402894710b0bb04f5d82755018d32671430 Created parameterized HttpClientHandler as requested change to be additive, which is not possible without modifying the handler. So, creatingf a handler explicitly with a method type to support passing HttpRequestMessage in, and then users can choose to use this whenever their getToken method requires access to the HttpRequestMessage.
f5c75af73e9a88eeb0ea731874d08c08d0ad8851 Updated test signature
0d2b8b84ee7aab3aa2e25baf3197dbb1d3433632 Updated AuthorizationHeaderValueGetter to support passing HttpRequestMessage into getToken() as OAuth signature generation may rely on having access to properties in the request (example: Twitter reuest signing)
bddddc23ad69ef728319ffd99605fede805f57ce Merge pull request #1 from reactiveui/master
This list of changes was auto generated.</details>
76f03d36f6553da1adfef3321d60a39cd5ce91a4 Merge pull request #663 from yuri-voloshyn/master
76f03d36f6553da1adfef3321d60a39cd5ce91a4 Merge pull request #663 from yuri-voloshyn/master
c5ef508d3fa5f240279f57462895783af9eaca21 RefitRestServiceAttribute renamed to BaseAddressAttribute
cd8975aac89fd16049a8e1e5ee235d7b3d254042 fixed issue #662
a1146b383c2adb8bfb25747e7b66814c17024b86 Merge pull request #2 from reactiveui/master
c6a3fcfac35ab80ae848dcb4bec55d7d1f36d0d5 Bump to 4.7 with new API surface area
d9ca3f1aab6089e79a4a9c091c9a7d1b91595b09 Merge pull request #645 from yuri-voloshyn/master
d58df7614e079fcb54296d15dfab06081b9a9ae7 Merge pull request #658 from iron9light/round_tripping_route
97b77013062a7fc5eff2e0c360a51245309b7e57 Add doc for round-tripping parameter
14b03aaec214345d54dce7c701f113a75ab0ad21 Add more test cases for Round-Tripping parameter
324ae473c80a6713a84b0faca3b07f335791cb18 Support Round-tripping route parameter syntax. <details><summary><b>See more</b></summary>
5b4e14aaf8a1fcc27396b7c08171d100aba1b97d Merge pull request #654 from gpriaulx/Housekeeping_UpdateReferencesToDotNetFoundation
2fde9055a537a261050097f58b052bd54cef8f06 Housekeeping: Updated references to DotNetFOundation and URLs
ddcced27142e201625b9566aadc6a266d744864d Fix find method
d6570f9fe84613daf2c57bbb44bb99cc064d4c12 Added non generic methods for create rest service
5d9fe6c648a8b2ed147c711efc7084db98ade137 Merge pull request #1 from reactiveui/master
This list of changes was auto generated.</details>
16d5a713b8f13ed89f7610f0fd2689d178ff6dc5 Merge pull request #646 from Styxxy/memleakxml [ #643 ]
16d5a713b8f13ed89f7610f0fd2689d178ff6dc5 Merge pull request #646 from Styxxy/memleakxml [ #643 ]
564559d24a5a4bfcfa5e84cb4aa7e334d3e8c9c3 Merge pull request #648 from Styxxy/issue641-nullrefexception [ #641 ]
ac4188e6627d45f2adfac7e9dda71b67ea0d44d1 check for null values in handling (exception) content
ccd5b6bd044ce9cf959e61df94760b4155991d94 add test to simulate issue
8fef9a0cf44c339cef35656f51ce7f3f5ff6e677 add xmlserializer cache
82b093e6ee6b4c2f2ccb7d7ef44a3114f089d6ec Merge pull request #638 from fedemkr/patch-1 [ #425 ]
9d7bd9c664fa7a780ac9c8415767d7a11cb10750 Merge pull request #640 from yuri-voloshyn/master
3979ed94ce6a21bc8bc4695db9392c8863e0411d docs: added sample application
a4c84e4b21c77bef75f6dbf82fc23c77fc5d37f5 Added inherited generic interfaces
ad82d88e1f61b9a451a0417c99c1bca287487d73 added sample application <details><summary><b>See more</b></summary>
f083efda466633418d092685307f73bde9e11ebc Update docs because of #425
This list of changes was auto generated.</details>
4c8febe95a239dd94093fdb6cc0fb7a1255ca8c4 Merge pull request #634 from lhyqy5/issue-625-output-encoding-error [ #625 ]
4c8febe95a239dd94093fdb6cc0fb7a1255ca8c4 Merge pull request #634 from lhyqy5/issue-625-output-encoding-error [ #625 ]
33832ff9aefbc6e6ccde045c21123c42dfee7fe4 Merge branch 'master' into issue-625-output-encoding-error
a124fb54db48764223d9c808a0c62fc976ccbe02 Merge pull request #633 from Sergio0694/master
199dedf10c802a8c610d06917625a5ad8853987f Tweaked README.md
0814d0d3be62335c9d2507a933fe7e695584b92b Added interface inheritance docs
814d70034ef76fab1e185680d5a61a65ae1fff58 Added header attributes inheritance
2c0acaa02238f0978c7db30332159283ce2cefc3 use MemoryStream replace StringWriter in XmlContentSerializer's SerializeAsync method
ad3d42becf45641d09e33b9d69e4fd694fb50626 add unit test for xml writer encoding setting
ec3d6c3da9a7763782a158cf1530adbdb4446c8f Merge pull request #631 from Bartmax/patch-1
b68a55d048be15a7347037f4a5422bcde91e54c1 Fixed merge issues <details><summary><b>See more</b></summary>
4f7e2b4cd2aaeb6603f071ca1011b87dbd2eaafc Merge branch 'master' into master
d74278e4ad23700914a695c00b143a9808ac8620 Switched to explicit interface implementation
94a37fde48c8a771bb20dd206a2221eef2b2145d Fixed formatting
ea66fe19569e312a2f693fb8c400bb78d3907f50 Update README using async void to async Task.
d56caf871945d514d654acdb76797f3d7f4511fa ensure build task files are signed
f3cdd66b3682c092ff771e4d7932e0aad2b492a3 Merge branch 'master' into master
01dee3941ad1f4057dd4716722d230d3a8dfd360 Initial WhiteSource configuration file
728d4f021830d4596368ac024302a6a2b1f5ac05 Merge branch 'master' into master
6330b580b487eef6d35fbb62cbf7b2ae411da113 Add mock InheritedMethodTest
44d24d1afbf90ebd3f746de72a44d13331b05342 Adjust example inheritance interfaces for integrations tests
ab8dca520eedc9c1c71977e456b8ffb704fcec13 Change generic RequestBuilderImplementation to include inherited methods by it's interfaces
fc801edfb75cb95c84d58a47b87195cfca630740 Fixing method AddInheritedMethods unnecessarily returning modified TemplateInformation object
3943d364544c30564d15eb691367f09ee561b692 #176: Adding support for aggregated/interhited interfaces
This list of changes was auto generated.</details>
One column per quarter.