.NET version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
Full Changelog: https://github.com/pact-foundation/pact-net/compare/5.0.0-beta.1...5.0.0-beta.2
Full Changelog: https://github.com/pact-foundation/pact-net/compare/4.5.0...5.0.0-beta.1
⚠️ This release is here for completeness because it was actually pushed to nuget.org, but version 4.6.0 will likely never happen and has been pulled from nuget.org. The aim was to support Pact Specification v4 but we realised afterwards that proper ergonomic support would require breaking API changes, and thus version 5.0 is the version to use instead. This version has incomplete v4 support.
Full Changelog: https://github.com/pact-foundation/pact-net/compare/4.4.0...4.5.0
Full Changelog: https://github.com/pact-foundation/pact-net/compare/4.3.0...4.4.0
Please Note: OSX ARM64 support has been merged but is still considered alpha. We are currently unable to run CI on OSX/ARM64 on GitHub Actions runners and so can't automatically verify the integrity of each release. Those that have tried PactNet locally on M1/M2 Macs have reported no issues, but until CI support is available this platform is considered unsupported.
Full Changelog: https://github.com/pact-foundation/pact-net/compare/4.2.1...4.3.0
Full Changelog: https://github.com/pact-foundation/pact-net/compare/4.2.0...4.2.1
The following APIs have been marked as obsolete, but are retained for backwards compatibility until PactNet 5.0.0:
IMessagePact
IMessagePactV3
MessagePact.V3(string, string)
MessagePact.V3(string. string, PactConfig)
IPactV2.UsingNativeBackend()
IPactV3.UsingNativeBackend()
IMessagePactV3.UsingNativeBackend()
Instead, Pact
and MessagePact
have been combined so that only Pact
is needed. A method determines which type of interactions are being defined, from either WithHttpInteractions
for standard HTTP request/response or WithMessageInteractions
for message pacts. The older APIs are retained but internally they just call the new API.
See the samples or docs for further details.
Full Changelog: https://github.com/pact-foundation/pact-net/compare/4.1.0...4.2.0
Full Changelog: https://github.com/pact-foundation/pact-net/compare/4.0.0...4.1.0
This is the first major release of PactNet v4.x, which is a major rewrite of PactNet with a number of breaking changes. Please see the upgrade guide for upgrading from PactNet 3.x to 4.x.
The changes since 4.0.0-beta.5 are:
Full Changelog: https://github.com/pact-foundation/pact-net/compare/4.0.0-beta.5...4.0.0