Releases: restsharp/RestSharp
Releases · restsharp/RestSharp
107.1.2
107.1.1
What's Changed
- Added
DataType.Binaryand corresponding body handling - Fixed the missing resource issue for JSON request overloads (
GetJsonAsync, etc) - Added the
SEARCHverb 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
EncodingfromRestClientOptions(default utf-8) - Finally fixed the
ThrowOnAnyErrorbeing ignored for unsuccessful calls
107.0.2
What's Changed
- #1686 Reverted to using
x-www-form-urlencodedby default unless there's a body or multipart form is set in options - #1687 remedy, added a client option
DisableCharsetto make servers that don't support charset inContent-Typehappier - Added generic overloads for adding parameters with the type constrained to
structas part of #1682 fix - Added response headers to
RestResponse.ContentHeaderscollection #1684 - Wrapped request cancellation token and source in
usingfor #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
IRestClientis removed, useRestClientclass instead - Interface
IRestRequestis removed, useRestRequestclass instead - Interface
IRestResponseis removed, useRestResponseclass instead - Most of the client options are now in
RestClientOptionsas they can't be changed after creating theHttpMessageHandlerinstance Parameteris 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
IRestClientis removed, useRestClientclass instead - Interface
IRestRequestis removed, useRestRequestclass instead - Interface
IRestResponseis removed, useRestResponseclass instead - Most of the client options are now in
RestClientOptionsas they can't be changed after creating theHttpMessageHandlerinstance - All synchronous methods are gone, use asynchronous methods instead
- Default JSON serializer is now using
System.Text.Json,SimpleJsonis 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
106.14.0
What's Changed
- Better enum deserialization exception fixes #1614 by @sicklittlemonkey in #1619
- Following up on enum deserialization to use the default value instead of throwing an argument out of range exception
- Authenticator documentation updates by @patrickhampson in #1629
- Remove obsolete attribute from RequestBody constructor by @TimSirmovics in #1658
- Remove some more
Obsoleteattributes for things that are going to change in the next major version
New Contributors
- @sicklittlemonkey made their first contribution in #1619
- @patrickhampson made their first contribution in #1629
- @TimSirmovics made their first contribution in #1658
Full Changelog: 106.13.0...106.14.0
106.13.0
What's Changed
- Made the Parameter class no obsolete by @alexeyzimarev in #1644