Releases: restsharp/RestSharp
111.2.0
What's Changed
- Fix null reference exception when disposing response content by @alexeyzimarev in #2201
- Add Version to RestRequest by @alexeyzimarev in #2209
- Bump AutoFixture from 4.18.0 to 4.18.1 by @dependabot in #2183
- Bump JetBrains.Annotations from 2023.2.0 to 2023.3.0 by @dependabot in #2181
- Bump CsvHelper from 30.0.1 to 32.0.3 by @dependabot in #2195
- Bump dawidd6/action-download-artifact from 3.0.0 to 3.1.4 by @dependabot in #2184
- Reverted authenticators rename
- Returned back
Execute(request)
without method
Full Changelog: 111.1.0...111.2.0
111.0.0
What's Changed
- Support file uploading without multipart/form-data by @RomanSoloweow in #2068
- Use builtin methods to ConcurrentDictionary by @sensslen in #2073
- Added remaining overloads (PATCH, HEAD, OPTIONS, DELETE) by @alexeyzimarev in #2050
- Use encoded filename for FileNameStar (#2117) by @alexeyzimarev in #2123
- Added Option to add Interceptors on client level by @fseidl-bauradar in #2118
- Use case insensitive comparer by @softworkz in #2146
- Adjust serializer selection fallback procedure by @softworkz in #2147
- Set UserAgent as a default header parameter by @PetesBreenCoding in #2157
- Fixes OAuth1 signature with special characters (#2126, #1945) by @elia936 in #2127
- Set Version to generic RestResponse by @biasso in #2199
- Timeout as TimeSpan, Support custom request timeout by @RomanSoloweow in #2078
New Contributors
- @RomanSoloweow made their first contribution in #2068
- @mikebundy made their first contribution in #2097
- @Kurzyn made their first contribution in #2116
- @fseidl-bauradar made their first contribution in #2118
- @mavaddat made their first contribution in #2151
- @softworkz made their first contribution in #2146
- @PetesBreenCoding made their first contribution in #2157
- @elia936 made their first contribution in #2127
- @thompson-tomo made their first contribution in #2180
- @biasso made their first contribution in #2199
Full Changelog: 110.2.0...111.0.0
110.2.0
What's Changed
- Add CacheControl and fix response writers by @alexeyzimarev in #2053
- Merge client- and request-level cookies in the header by @alexeyzimarev in #2056
- Move the instantiation of RequestContent after calling the Authenticator by @alexeyzimarev in #2062
Full Changelog: 110.1.0...110.2.0
110.1.0
What's Changed
- Fix unsupported platform issues by @alexeyzimarev in #2044
- Add Remove and Replace parameter functions to DefaultParameters by @alexeyzimarev in #2047
- Bump Newtonsoft.Json from 13.0.2 to 13.0.3 by @dependabot in #2040
- Add
AddJsonBody
overload to serialise top-level string by @alexeyzimarev in #2043
Full Changelog: 110.0.0...110.1.0
110.0.0
What's Changed
- Added default parameters to the request. They got missing somehow. by @alexeyzimarev in #2021
- Consider the boundary quotes request option value by @alexeyzimarev in #2020
- Make BuildUrl an extension by @alexeyzimarev in #2039
- Adding client-level cookie container by @alexeyzimarev in #2042
Breaking change
The IRestClient
interface signature is different, so any non-standard implementations need to adopt the changes.
To keep DefaultParameters
thread-safe, it got a new type DefaultParameters
, and request property Parameters
has a dedicated type RequestParameter
. Code-wise the change is non-breaking as the signatures are the same, but v110 is not binary compatible with previous versions. The difference is that DefaultParameters
collection wraps all its mutations in a lock.
Full Changelog: 109.0.1...110.0.0
109.0.1
What's Changed
- Fixed a bug causing duplicate user-agent headers when using a shared
HttpClient
. by @tacosontitan in #2008
New Contributors
- @tacosontitan made their first contribution in #2008
Full Changelog: 109.0.0...109.0.1
109.0.0
What's Changed
- Removed support of .NET 5. Added .NET Framework 4.7.1.
- Token issues by @edobbsskylark in #1955
- Support constructing
JwtAuthenticator
with token includes Bearer prefix by @nivmeshorer in #1949 - Bump actions/setup-dotnet from 2 to 3 by @dependabot in #1939
- Let it throw on download by @alexeyzimarev in #1962
- Move Cookie handling out of HttpClient so we do not cross pollinate requests by @kendallb in #1966
- Add User Agent without validation. by @alekw in #1973
- Bump FluentAssertions from 6.7.0 to 6.8.0 by @dependabot in #1947
- Use supplied
CsvConfiguration
when reading by @electrokit in #1965 - [Docs] Fix minor typo in usage.md by @agrath in #1980
- Fixed access to possible null object
RequestMessage
by @adegwerth in #1989 - Fix parameter naming case inconsistency in
RestRequestExtension.cs
by @ztl8702 in #1986 - Throw exception on disposed RestClient by @kendallb in #1967
- Optionally disable encoding for request properties by @alexeyzimarev in #1964
- Bump coverlet.collector from 3.1.2 to 3.2.0 by @dependabot in #1956
- Bump JetBrains.Annotations from 2022.1.0 to 2022.3.1 by @dependabot in #1961
- Bump Newtonsoft.Json from 13.0.1 to 13.0.2 by @dependabot in #1991
- Remove duplicate entry in table and sort correctly by @sensslen in #1997
- Bug fix. Response cookie with empty domain fails by @fcastells in #2015
- Documentation fixes by @EdLichtman in #2010
- Bump Moq from 4.18.2 to 4.18.4 by @dependabot in #1992
- Bump Microsoft.NET.Test.Sdk from 17.3.1 to 17.5.0 by @dependabot in #2009
- Bump System.Text.Json from 5.0.1 to 7.0.2 by @dependabot in #2005
- Faster and richer way to add objects as query parameters by @abenaru in #1974
- v109 release by @alexeyzimarev in #1963
IRestClient
interfaceOptions
property is using read-only options class, so it won't be possible to re-assign options that configure HTTP client and message handler- Added a simple client factory (opt-in)
New Contributors
- @edobbsskylark made their first contribution in #1955
- @nivmeshorer made their first contribution in #1949
- @alekw made their first contribution in #1973
- @electrokit made their first contribution in #1965
- @agrath made their first contribution in #1980
- @adegwerth made their first contribution in #1989
- @ztl8702 made their first contribution in #1986
- @sensslen made their first contribution in #1997
- @fcastells made their first contribution in #2015
- @EdLichtman made their first contribution in #2010
Full Changelog: 108.0.3...109.0.0
108.0.3
What's Changed
- Fixed binary compatibility issue in
AddFile
(#1953) - Set minimum System.Text.Json version to 5.0.1 by @LauraArmitage in #1923
- Bump Newtonsoft.Json from 12.0.1 to 13.0.1 in /src/RestSharp.Serializers.NewtonsoftJson by @dependabot in #1930
- .NET Foundation update by @alexeyzimarev in #1934
New Contributors
- @LauraArmitage made their first contribution in #1923
Full Changelog: 108.0.2...108.0.3
108.0.2
What's Changed
- Fixes #1828 by @alexeyzimarev in #1887
- chore: add cancellation support overload by @bednar in #1870
- Fix IsSuccessful in RestResponse (consider ResponseStatus) by @mjuen in #1893
- Do not attempt to read from the stream if we have a ResponseWriter callback by @kendallb in #1824
- Only add proxy settings to handler if supported by @SebastianGrief in #1928
- Add RestSharp.Serializers.CsvHelper by @ishanpranav in #1912
New Contributors
- @bednar made their first contribution in #1870
- @mjuen made their first contribution in #1893
- @SebastianGrief made their first contribution in #1928
- @ishanpranav made their first contribution in #1912
Full Changelog: 108.0.1...108.0.2
108.0.1
Full Changelog: 108.0.0...108.0.1