NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet · #1227 most downloaded on NuGet
Easy-to-use typesafe REST API client library, which is simple and customisable. Write a C# interface which describes your API, and RestEase generates an implementation you can call into. Source Generators are here! Reference the RestEase.SourceGenerator NuGet package.
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 11 months
Most releases are documented
notes for 44 of 49 stable releases
3 versions withdrawn
withdrawn after publishing
127 years old
52 releases · first in 1900
Nothing published for this version
Provide an extension point to customise the ApiException thrown for unsuccessful requests
RestEase.SourceGenerator: support types with the same name but different arity
One column per quarter.
Support passing a custom IRequester when using HttpClientFactory
IRequester when using HttpClientFactory (#244)Bump Json.NET minimum version to avoid users being accidentally exposed to CWE-755
Task<Response<string>> (#230)Support multiple attributes on a single parameter
HttpClientFactory: A supplied RequestModifier no longer overrides the PrimaryHttpMessageHandler, meaning you can supply this when calling UseWithRestE
RequestModifier no longer overrides the PrimaryHttpMessageHandler, meaning you can supply this when calling UseWithRestEaseClient (#211, #220)Update System.Net.Http dependency to avoid CVE-2018-8292
Fix binary break in ApiException
ApiException (#182)Add RestClient overloads which accept a HttpMessageHandler
RestClient overloads which accept a HttpMessageHandlerPolly to README (#89)ApiException.DeserializeContent<T> (#172)RestClient constructor and .For overloads#nullable enable before C# 8IHttpClientBuilder.UseWithRestEaseClientSourceGenerator: Add comment to generated files, to keep StyleCop et al happy
<auto-generated> comment to generated files, to keep StyleCop et al happy (#174)RestEase.SourceGenerator is out of preview!
[BaseAddress][Body] parameter, contents headers are always sentRestClient.HttpRequestMessageRequestInfoOptionsKey for use with HttpClient.OptionsSupport content-related headers on a method, even if the method doesn't specify a body
Add support for multiple raw query strings
Add extended formats for property headers and header params
- Add [BasePath]
[BasePath] (#113)Support custom path parameter/property serialization (thanks to @sharparam). This is useful for enums
HttpRequestMessage.Proprties through properties and parameters (thanks to @Husqvik) (#116)Avoid deadlock in ModifyingHttpClientHandler
Fix crash introduced by (#98) when a method has a non-primitive struct type with a default value
Fixed ignored QueryAttribute.Name when set using property setter ([Query(Name = "customName"))
[Query(Name = "customName"))(#94)byte[] bodies (#91)Allow a custom class to be used to control query param serialization
Ensure that methods which return Task properly dispose of the underlying HttpResponseMessage
Task properly dispose of the underlying HttpResponseMessage (#65)Various README improvements (#53, #55, #58, #59)
Task<Stream> responses (#56)Move to abstract base classes for custom serializers and deserializers
IFormatProvider to be specified, which overrides the culture on the thread which calls RestEase's methods (#49)RestClient.For(Type type, IRequester requester) overload (#43)Fix bug where unicode characters were incorrectly double-encoded
IRequester properties (#38)RestClient.For(Type type) overload (#43)BREAKING CHANGE: Remove support for .NET 4.0. Microsoft.Bcl.Async does not work well with csproj-based .NET Core projects
Don't crash if a [Header] attribute on a method is used to remove one specified on the interface / on a property
[Header] attribute on a method is used to remove one specified on the interface / on a property (#29)RestClient overloads which take a Uri (#27)- Add support for netstandard1.1
If you make your interface IDisposable, disposing it will dispose the underlying HttpClient
IDisposable, disposing it will dispose the underlying HttpClientTask<HttpResponseMessage>, use HttpCompletionOption.ResponseHeadersRead instead of HttpCompletionOption.ResponseContentRead, allowing you to control if and when the content is read.[Path(UrlEncode = false)], allowing URL encoding to be turned off for individual path parametersBREAKING CHANGE: Add a RequestQueryParamSerializerInfo parameter to methods on IRequestQueryParamSerializer
RequestQueryParamSerializerInfo parameter to methods on IRequestQueryParamSerializerIFormattable format strings for query parameters, path parameters, and path properties (#21)Allow null BaseAddress on HttpClient
Nothing published for this version
Fix metadata fields in NuGet package (no functional changes)
Add support for path properties - path compoments which are the same for every request
Nothing published for this version
Avoid dependency on System.Net.Http NuGet package on .NET 4.5
Avoid dependency on Microsoft.Net.Http on .NET 4.5
Add support for .NET Core (.NET Standard 1.3) - thanks to Fazouane Marouane
- Fix a test
Fix issue where query parameters not decorated with [Query] would always be serialized as ToString, regardless of any [SerializationMethod] attributes
[Query] would always be serialized as ToString, regardless of any [SerializationMethod] attributesHandle null paths (e.g. [Post] or [Get(null)])
[Post] or [Get(null)])Support .NET 4.0 (using Microsoft.Net.Http and Microsoft.Bcl.Async as dependencies)
The old methods are still present, but are marked as deprecated. Please upgrade to the new methods (suggested by the deprecation messages).
[SerializationMethods] attribute, to specify the default serialization method for bodies and query parametersRestClient, to make specifying custom serializers/deserializations/configuration easier.
The old methods are still present, but are marked as deprecated. Please upgrade to the new methods (suggested by the deprecation messages).Fix race condition when creating implementations
Allow interface headers in interface inheritance
RestClient.For overloads- Allow interface inheritance
JsonRequestBodySerializer sets a default Content-Type header of application/json
JsonRequestBodySerializer sets a default Content-Type header of application/json- Initial Release
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →