Releases: justeattakeaway/httpclient-interception
Releases · justeattakeaway/httpclient-interception
v3.1.2
Added
- Support .NET 6 (#344) Thanks @martincostello!
- Support GitHub Codespaces (#356) Thanks @martincostello!
Fixed
- Fix NullReferenceException when deregistering requests in some cases (#361, #454) Thanks @AliKhalili and @martincostello!
Changed
- Rewrote acting and assertion step of tests for Shouldly when using
Assert.Throws(#359) Thanks @AliKhalili! - Remove unrequired comment after tuple refactor (#370) Thanks @WestDiscGolf!
- Use new .NET 6 and C# 10 features (#445) Thanks @martincostello!
Deregister(HttpRequestInterceptionBuilder)now throws if the HTTP request cannot be deregistered (#454) Thanks @martincostello!
New Contributors
- @AliKhalili made their first contribution in #359
- @WestDiscGolf made their first contribution in #370
Contributors
Full Changelog: v3.1.1...v3.1.2
JustEat.HttpClientInterception v3.1.1
Added
- Use new SDK AssemblyMetadata feature. (#266) Thanks @slang25!
- Enable deterministic builds. (#310) Thanks @martincostello!
- Add tooling to automatically update code snippets in the documentation. (#320) Thanks @SimonCropp!
Fixed
- Fix typos in XML documentation. (#317) Thanks @SimonCropp!
- Fix incorrect nullable annotations. (#319) Thanks @SimonCropp!
- Fixed bundle templates being enumerated multiple times. (#318) Thanks @SimonCropp!
Contributors
JustEat.HttpClientInterception v3.1.0
JustEat.HttpClientInterception v3.0.0
Added
- Add support for async custom matching. (#130)
- Improve exceptions thrown for missing registrations. (#130)
- Add net472 as a target framework. (#127)
- Add support for the new System.Text.Json APIs. (#127)
- Add
netstandard2.1as a target framework. (#127) - Add nullable reference type annotations. (#127)
- Add support for cancellation tokens to
OnIntercepted()(#144) Thanks @slang25!
Changes
- Add analyzer for public API surface. (#132)
- Remove Newtonsoft.Json from the public surface area of the API. (#127)
- Use Microsoft.NETFramework.ReferenceAssemblies to compile .NET Framework versions on non-Windows platforms. (#127)
- Use C# 8. features. (#127)
Fixes
- Fix typos in XML documentation. (#127)
Removed
- Remove support for .NET Standard 1.3. (#127)
Contributors
JustEat.HttpClientInterception v2.0.2
JustEat.HttpClientInterception v2.0.1
Fixes
- Fixed custom
content-typeHTTP response headers not being used for HTTP bundles. (#84)
Contributors
JustEat.HttpClientInterception v2.0.0
Added
- Add support for matching requests to intercept by HTTP request headers. (#57)
- Add
ThrowsOnMissingRegistration()extension method toHttpClientInterceptorOptions. (#57) - Add support for configuring requests to intercept using "bundle files" in JSON format. (#72)
Changes
- Apply Microsoft best-practices for Open-source libraries. (#56)
- Assembly is now strong-named.
- Improvements to NuGet package metadata.
- Use portable PDBs. (#66)
- Set up continuous integration using Azure DevOps Pipelines. (#67)
- Use the new
snupkgformat for the NuGet symbol package. (#77) - Update tests to use .NET Core 2.2. (#44)
- Update sample application for ASP.NET Core 2.2. (#44)
Contributors
JustEat.HttpClientInterception v2.0.0-beta1
Added
- Add support for matching requests to intercept by HTTP request headers. (#57)
- Add
ThrowsOnMissingRegistration()extension method toHttpClientInterceptorOptions. (#57) - Add support for configuring requests to intercept using "bundle files" in JSON format. (#72)
Changes
- Apply Microsoft best-practices for Open-source libraries. (#56)
- Assembly is now strong-named.
- Improvements to NuGet package metadata.
- Use portable PDBs. (#66)
- Set up continuous integration using Azure DevOps Pipelines. (#67)
- Update tests to use .NET Core 2.2. (#44)
- Update sample application for ASP.NET Core 2.2. (#44)
Contributors
JustEat.HttpClientInterception v1.2.2
Added
- Add convenience method
WithFormContent()for URL-encoded form content. (#32) - Added
netstandard2.0target framework. (#34)
Changes
- Add support for Source Link. (#15, #16, #23)
- Update tests to use .NET Core 2.1. (#23)
- Update sample application for ASP.NET Core 2.1. (#23)
- Update sample code and documentation to show usage with
IHttpClientFactory. (#23) - Collect memory allocation details in benchmarks. (#23)
- Add Roslyn source analyzers and fix issues found by them. (#29)
- Use
ConfigureAwait(false)for internal awaits to remove potential for deadlocks if used in a UI application. (#29) - Add C#-specific EditorConfig settings. (#35)
- Remove obsolete MSBuild code. (#39) Thanks @slang25!
- Add GitHub issue templates. (#40)
- Various improvements to build scripts, test dependencies and the .NET Core SDK version used.
- Add assets to allow running the tests from Visual Studio Code.
- Ignore Rider files in
.gitignore. (#51) Thanks @josephwoodward! - Fix build on macOS/Linux if
build.shwasn't used. (#51) Thanks @josephwoodward!