Releases: restsharp/RestSharp
Releases · restsharp/RestSharp
107.2.1
- Fixed
AddCookie
failing with null value as cookie domain
107.2.0
What's Changed
- doc: fixed return value of RestClient.PostAsync() by @ivosnoza in #1723
- Bump FluentAssertions from 6.3.0 to 6.4.0 by @dependabot in #1720
- Fix typo in v107 documentation by @georgevanburgh in #1724
- Unnecessary semicolon removed in v107 documentation by @aecceyhan in #1728
- Prerelease 107.2 by @alexeyzimarev in #1730
New Contributors
- @ivosnoza made their first contribution in #1723
- @georgevanburgh made their first contribution in #1724
- @aecceyhan made their first contribution in #1728
Full Changelog: 107.1.2...107.2.0
107.1.2
107.1.1
What's Changed
- Added
DataType.Binary
and corresponding body handling - Fixed the missing resource issue for JSON request overloads (
GetJsonAsync
, etc) - Added the
SEARCH
verb handling
Full Changelog: 107.0.3...107.1.1
107.0.3
- Use CharSet from ContentType for decoding the request content. If not specified, use
Encoding
fromRestClientOptions
(default utf-8) - Finally fixed the
ThrowOnAnyError
being ignored for unsuccessful calls
107.0.2
What's Changed
- #1686 Reverted to using
x-www-form-urlencoded
by default unless there's a body or multipart form is set in options - #1687 remedy, added a client option
DisableCharset
to make servers that don't support charset inContent-Type
happier - Added generic overloads for adding parameters with the type constrained to
struct
as part of #1682 fix - Added response headers to
RestResponse.ContentHeaders
collection #1684 - Wrapped request cancellation token and source in
using
for #1685
Full Changelog: 107.0.1...107.0.2
107.0.1
What's Changed
- Removed default encoding for header parameters
- Fixed the issue with URL segment parameter value being cast to string instead of conversion
Full Changelog: 107.0.0...107.0.1
107.0.0
First preview release using HttpClient.
Check the initial migration guide.
This release includes major breaking changes:
- Interface
IRestClient
is removed, useRestClient
class instead - Interface
IRestRequest
is removed, useRestRequest
class instead - Interface
IRestResponse
is removed, useRestResponse
class instead - Most of the client options are now in
RestClientOptions
as they can't be changed after creating theHttpMessageHandler
instance Parameter
is now an abstract record. Use specific parameter types likeQueryParameter
- All synchronous methods are gone, use asynchronous methods instead
- Default JSON serializer is now using
System.Text.Json
, SimpleJson is gone - Support for .NET 4.5 is removed, for legacy .NET Framework use the .NET Standard package
107.0.0-preview.1
First preview release using HttpClient
.
This release includes major breaking changes:
- Interface
IRestClient
is removed, useRestClient
class instead - Interface
IRestRequest
is removed, useRestRequest
class instead - Interface
IRestResponse
is removed, useRestResponse
class instead - Most of the client options are now in
RestClientOptions
as they can't be changed after creating theHttpMessageHandler
instance - All synchronous methods are gone, use asynchronous methods instead
- Default JSON serializer is now using
System.Text.Json
,SimpleJson
is gone - Support for .NET 4.5 is removed, for legacy .NET Framework use the .NET Standard package
106.15.0
What's Changed
- Use request body content type instead of default one by @alexeyzimarev in #1659
Full Changelog: 106.14.0...106.15.0