Skip to content

Releases: richardszalay/mockhttp

v7.0.0

12 Oct 10:13
Compare
Choose a tag to compare
  • Change target profiles to netstandard1.1, netstandard2.0, net5.0, net6.0 (BREAKING)
  • Change default fallback behaviour to throw an exception with a report of the match attempts
  • Add JSON and XML matchers
  • Add support for synchronous HttpClient.Send #104
  • Modernize source #41 and add SourceLink support #66
  • Fix matching of encoded URL paths #116
  • Throw a descriptive error when matching on a mocked request with no response #87 (thanks perfectsquircle!)
  • Fix race condition on outstanding requests exception message #96 (thanks jr01!)

v6.0.0

18 Nov 22:44
Compare
Choose a tag to compare
  • Assemblies are now strong named (binary BREAKING) #1

v5.0.0

18 Jun 11:08
Compare
Choose a tag to compare

Align with official recommendations on multi-targetting HttpClient:

  • Add netstandard2.0 target #61
  • Change .NET 4.5 target to use in-band System.Net.Http reference (BREAKING) #61
  • Remove PCL profile 111 (BREAKING) #18

v4.0.0

11 Jun 23:25
Compare
Choose a tag to compare
  • Default Fallback message now includes request method and URL (BREAKING) - Fixes #57
  • Deprecated FallbackMessage property removed (BREAKING)

v3.3.0

11 Mar 09:58
Compare
Choose a tag to compare

Added overloads for including custom headers in the response (thanks Sascha Kiefer!)

v3.2.1

07 Sep 00:54
Compare
Choose a tag to compare
  • XML documentation is now included in the NuGet package. Fixes #52

v3.2.0

31 Aug 05:57
Compare
Choose a tag to compare
  • MockHttpMessageHandler now tracks successful matches. Fixes #35
  • Added WithExactQueryString / WithExactFormData overloads. Fixes #37
  • Added BackendDefinitionBehavior to allow matching Backend Definitions when Request Expectations exist, but don't match. Fixes #45
  • Fixed typo in Response(HttpResponseMessage) obsolete message. Fixes #44

v3.1.0

29 Aug 13:06
Compare
Choose a tag to compare
  • Bump major version to work around bug in NuGet. Fixes #50

v1.5.1

22 Aug 11:18
Compare
Choose a tag to compare
  • Respond(HttpClient) now works as expected. Fixes #39
  • HttpResponseMessage can be disposed without breaking future requests. Fixes #33

v1.5.0

23 Feb 22:43
Compare
Choose a tag to compare
  • WithHeaders now also matches against Content-* headers (thanks Cory Lucas!)