github pact-foundation/pact-net 5.0.0

one month ago

This version is the same as release 5.0.0-beta.3, and marks the full release of PactNet 5.0.0 with some breaking changes. Please see below for details and refer to the upgrade guide for more.

Breaking Changes

  • feat: Support v4 specification for consumer tests by @adamrodger in #453
  • refactor!: Allow verifier to specify both HTTP and message transports by @adamrodger in #465
  • refactor!: Remove obsolete extension methods by @adamrodger in #466
  • refactor!: Remove obsolete IMessagePact and MessagePact
  • Replaced Newtonsoft with System.Text.Json (see upgrade guide for more info)
  • Increased minimum supported .Net Framework version to 4.6.2

Minor Changes

  • Throw more specific PactVerificationFailedException instead of more generic PactFailureException when veritication is unsuccessful (#505)
  • Marked MacOS ARM architecture as fully supported
  • docs: point to new workshop link by @YOU54F in #517

Internal Changes

  • Upgraded tests to .Net 8 and .Net Frame 4.6.2
  • Upgraded to latest FFI
  • Find unused ports for the messaging server more efficiently

Full Changelog: 4.5.0...5.0.0

Thanks to @mefellows, @YOU54F, @flakey-bit and the thousands of you that have helped to beta test all of the breaking changes ❤️

Don't miss a new pact-net release

NewReleases is sending notifications on new releases.