Changelog
For release notes of previous versions, please check the Releases page in RestSharp GitHub repository.
Changes between major versions are documented in the documentation for each version on this website.
v112.0
- Security fix for CVE-2024-45302. Header values cannot contain
CRLF.
v112.1
- Follow up on v112.0 security fix: remove
\tfrom the list of forbidden characters in headers.
v113.0
- Added support for .NET 9 and .NET 10
- Upgraded
System.Text.Jsonto v10 for all target frameworks - Added support for Microsoft dependency injection and HTTP client factory
- For responses with 404 (not found) status code the
IsSuccessfulis set tofalse - When the new option
ErrorWhenUnsuccessfulStatusCodeis set tofalse, the error message and the exception won't be added to the response. Default for this option istruefor backwards compatibility. - When
AddUrlSegmentis called more than once with the same name, the last value will be used. - The new package
RestSharp.Extensions.DependencyInjectionintegrates RestSharp with Microsoft DI container andIHttpClientFactory.