Skip to content

Releases: restsharp/RestSharp

107.2.1

04 Feb 14:10
Compare
Choose a tag to compare
  • Fixed AddCookie failing with null value as cookie domain

107.2.0

03 Feb 08:47
cd4c434
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 107.1.2...107.2.0

107.1.2

25 Jan 08:41
Compare
Choose a tag to compare
  • Added back the form part content type as a name #1716
  • Wrapped content disposition name and filename in quotes #1713 #1714 #1715
  • Improved the response format handling #1710
  • Fixed wrong Accept header values #1707
  • Added conditional HttpClient disposal #1711

107.1.1

17 Jan 13:39
Compare
Choose a tag to compare

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

11 Jan 13:11
Compare
Choose a tag to compare
  • Use CharSet from ContentType for decoding the request content. If not specified, use Encoding from RestClientOptions (default utf-8)
  • Finally fixed the ThrowOnAnyError being ignored for unsuccessful calls

107.0.2

09 Jan 11:30
Compare
Choose a tag to compare

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 in Content-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

09 Jan 11:24
949a342
Compare
Choose a tag to compare

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

06 Jan 17:17
584fe59
Compare
Choose a tag to compare

First preview release using HttpClient.

Check the initial migration guide.

This release includes major breaking changes:

  • Interface IRestClient is removed, use RestClient class instead
  • Interface IRestRequest is removed, use RestRequest class instead
  • Interface IRestResponse is removed, use RestResponse class instead
  • Most of the client options are now in RestClientOptions as they can't be changed after creating the HttpMessageHandler instance
  • Parameter is now an abstract record. Use specific parameter types like QueryParameter
  • 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

13 Dec 18:29
Compare
Choose a tag to compare
107.0.0-preview.1 Pre-release
Pre-release

First preview release using HttpClient.

This release includes major breaking changes:

  • Interface IRestClient is removed, use RestClient class instead
  • Interface IRestRequest is removed, use RestRequest class instead
  • Interface IRestResponse is removed, use RestResponse class instead
  • Most of the client options are now in RestClientOptions as they can't be changed after creating the HttpMessageHandler 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

08 Dec 14:02
Compare
Choose a tag to compare

What's Changed

Full Changelog: 106.14.0...106.15.0