Releases: restsharp/RestSharp
Releases · restsharp/RestSharp
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
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
Obsolete
attributes 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
106.12.0
- Fixes CVE-2021-27293: Fix NewDateRegex #1556
What's Changed
- fix #1480 - ToCamelCase broken for a single word with multiple upperc… by @moderndev in #1513
- fix: throw error if ThrowOnAnyError flag is true by @FrediKats in #1515
- Fix broken link by @ynden in #1528
- Changed tha to who by @DevAmitK in #1537
- Fix typo by @ynden in #1539
- fix memory leak #1506 by @mhornbacher in #1543
- mark ErrorException as nullable to match interface by @mhornbacher in #1548
- Fix NewDateRegex in StringExtensions #1556 by @b-c-ds in #1557
- Implement DevSecOps through GitHub's Dependabot and CodeQL by @aleks-ivanov in #1563
- Update getting-started.md by @asymmetricblue in #1570
- Update parameters.md by @propenster in #1571
- Bump actions/setup-dotnet from v1 to v1.8.0 by @dependabot in #1579
- Update actions/checkout requirement to v2.3.4 by @dependabot in #1580
- Important change in Docs in Utf8Json by @ShardulTiurwadkar in #1600
- Bump Microsoft.NETFramework.ReferenceAssemblies from 1.0.0 to 1.0.2 by @dependabot in #1588
- Bump BenchmarkDotNet from 0.12.1 to 0.13.0 by @dependabot in #1590
- Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.10.0 by @dependabot in #1591
- Bump NUnit3TestAdapter from 3.17.0 to 4.0.0 by @dependabot in #1595
- Bump actions/setup-dotnet from 1.8.0 to 1.8.1 by @dependabot in #1602
- Let us use C# 9 by @alexeyzimarev in #1609
- Double uppercase issue by @shipsaw in #1601
- JsonSerializer does not respect Culture when deserializing primitive types by @Georgiks in #1606
- Resolves: Add GitHub Codespaces configuration by @aleks-ivanov in #1599
- Implement "AddOrUpdateHeader(s)" methods by @Lramelot in #1576
- OAuth1: Allow empty customer secrets, according to the specifications. by @JamesMenetrey in #1596
- Bump prismjs from 1.23.0 to 1.24.1 by @dependabot in #1612
- Bump dns-packet from 1.3.1 to 1.3.4 by @dependabot in #1610
- Bump postcss from 7.0.35 to 7.0.36 by @dependabot in #1611
- Bump ws from 6.2.1 to 6.2.2 by @dependabot in #1613
New Contributors
- @moderndev made their first contribution in #1513
- @FrediKats made their first contribution in #1515
- @ynden made their first contribution in #1528
- @DevAmitK made their first contribution in #1537
- @mhornbacher made their first contribution in #1543
- @b-c-ds made their first contribution in #1557
- @aleks-ivanov made their first contribution in #1563
- @asymmetricblue made their first contribution in #1570
- @propenster made their first contribution in #1571
- @dependabot made their first contribution in #1579
- @ShardulTiurwadkar made their first contribution in #1600
- @shipsaw made their first contribution in #1601
- @Georgiks made their first contribution in #1606
- @Lramelot made their first contribution in #1576
- @JamesMenetrey made their first contribution in #1596
Full Changelog: 106.11.7...106.12.0