Releases: pact-foundation/pact-net
Releases · pact-foundation/pact-net
1.0.0-beta
Features Added
- 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
Tweaks
- Making the PactFailureException public.
Install-Package PactNet -Version 0.1.11-beta -Pre
0.1.10-beta
Tweaks
- Making the MockProviderNancyBootstrapper public.
Install-Package PactNet -Version 0.1.10-beta -Pre
0.1.9-beta
Tweaks
- Removing consumerName from PactVerifier constructor as it is redundant. Specify this using the HonoursPactWith method.
Breaking Changes
- Removing consumerName from PactVerifier constructor. Specify this using the HonoursPactWith method.
Install-Package PactNet -Version 0.1.9-beta -Pre
0.1.8-beta
Features Added
- Better provider verify success and failure output.
- Adding an additional test scenario with hypermedia link following.
Tweaks
- Updating provider verify filter optional param names to be less confusing.
- Updating Comparer objects to return a ComparisonResult, cleaning up a lot of code.
- Refactoring the PactVerifier.
- Making some objects internal.
- Renamed Pact Party to Pacticipant.
Bug fixes
- 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.
- 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
- Consumer name, set up and tear down actions are now defined in the PactVerifier constructor instead of the ProviderStatesFor method.
- The consumer defined set up and tear down actions (supplied in the PactVerifier ctor) are now run before and after interaction verification.
- 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
Features Added
- Adding check to ensure request method is set when registering an expectation.
- Adding check to ensure response status code is set when registering an expectation.
0.1.6-beta
Features Added
- 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
Features Added
- Include doco and pdbs in the nuget package.
- Updating the query string comparer to match the new V1.1 spec and bumping spec version.
- Updating the interaction matcher to match on the full request, instead of just the HTTP method and path.
Tweaks
- Refactoring to use HttpVerb instead of HttpMethod on public interfaces.
0.1.4-beta
Features Added
- Adding functionality to resolve Pact file from a HTTP or HTTPS URI. This includes the Pact Broker.
- 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
- Adding forward compatibility for when provider_state becomes providerState in the Pact file.
- Matched up mock provider service admin HTTP server success responses with the Ruby version.
- Adding functionality to change the pact file path, when running the server is standalone mode.
0.1.2-beta
Adding support for .NET 4 and .NET 4.5
Install-Package PactNet -Version 0.1.2-beta -Pre