Skip to content

Releases: pact-foundation/pact-net

1.0.0-beta

19 Apr 12:52
Compare
Choose a tag to compare

Features Added

  1. Adding logging to the consumer and mock provider HTTP server, so that debugging is much less painless.

Install-Package PactNet -Version 1.0.0-beta -Pre

0.1.11-beta

13 Apr 07:20
Compare
Choose a tag to compare

Tweaks

  1. Making the PactFailureException public.

Install-Package PactNet -Version 0.1.11-beta -Pre

0.1.10-beta

13 Apr 05:37
Compare
Choose a tag to compare

Tweaks

  1. Making the MockProviderNancyBootstrapper public.

Install-Package PactNet -Version 0.1.10-beta -Pre

0.1.9-beta

02 Apr 06:29
Compare
Choose a tag to compare

Tweaks

  1. Removing consumerName from PactVerifier constructor as it is redundant. Specify this using the HonoursPactWith method.

Breaking Changes

  1. Removing consumerName from PactVerifier constructor. Specify this using the HonoursPactWith method.

Install-Package PactNet -Version 0.1.9-beta -Pre

0.1.8-beta

25 Sep 04:34
Compare
Choose a tag to compare

Features Added

  1. Better provider verify success and failure output.
  2. Adding an additional test scenario with hypermedia link following.

Tweaks

  1. Updating provider verify filter optional param names to be less confusing.
  2. Updating Comparer objects to return a ComparisonResult, cleaning up a lot of code.
  3. Refactoring the PactVerifier.
  4. Making some objects internal.
  5. Renamed Pact Party to Pacticipant.

Bug fixes

  1. Changing consumer set up and tear down actions defined in the PactVerifier, so that they are invoked at the start and end of each interaction verify on the provider.
  2. Fixed the consumer output issue when specifying multiple mocked interactions in a single test. The console would show error message when it should not. The test did not fail though.

Breaking Changes

  1. Consumer name, set up and tear down actions are now defined in the PactVerifier constructor instead of the ProviderStatesFor method.
  2. The consumer defined set up and tear down actions (supplied in the PactVerifier ctor) are now run before and after interaction verification.
  3. Reducing the visibility of some objects that we don't imagine anyone should be using. Allows us to change implementation details without dealing with breaking changes. Please raise a GitHub issue if you need to use a class that is marked as internal.

Install-Package PactNet -Version 0.1.8-beta -Pre

0.1.7-beta

07 Dec 11:39
Compare
Choose a tag to compare

Features Added

  1. Adding check to ensure request method is set when registering an expectation.
  2. Adding check to ensure response status code is set when registering an expectation.

0.1.6-beta

02 Dec 11:29
Compare
Choose a tag to compare

Features Added

  1. Enforcing a content-type header when a body (request or response) has been specified in an expectation.

Note: this is a potentially breaking change if you are not specifying a content-type headers where you should be

0.1.5-beta

13 Nov 12:24
Compare
Choose a tag to compare

Features Added

  1. Include doco and pdbs in the nuget package.
  2. Updating the query string comparer to match the new V1.1 spec and bumping spec version.
  3. Updating the interaction matcher to match on the full request, instead of just the HTTP method and path.

Tweaks

  1. Refactoring to use HttpVerb instead of HttpMethod on public interfaces.

0.1.4-beta

05 Oct 06:41
Compare
Choose a tag to compare

Features Added

  1. Adding functionality to resolve Pact file from a HTTP or HTTPS URI. This includes the Pact Broker.
  2. Adding functionality for the mock provider service HTTP server to be run standalone. Allows other language specific consumers to use the .NET server to perform consumer related tasks (similar to how the Ruby version works).

Tweaks

  1. Adding forward compatibility for when provider_state becomes providerState in the Pact file.
  2. Matched up mock provider service admin HTTP server success responses with the Ruby version.
  3. Adding functionality to change the pact file path, when running the server is standalone mode.

0.1.2-beta

11 Sep 05:41
Compare
Choose a tag to compare

Adding support for .NET 4 and .NET 4.5

Install-Package PactNet -Version 0.1.2-beta -Pre