4.2.0
What's Changed
- fix: Messaging server could try to use occupied port by @adamrodger in #412
- refactor: Move to new FFI combined interaction model by @adamrodger in #414
- refactor: Decompose NativeDriver to opaque interop drivers by @adamrodger in #415
- chore: Upgrade FFI to 0.3.8 by @omajid in #416
- docs: Update docs with new consumer builder API (see below)
API Changes
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.
New Contributors
Full Changelog: 4.1.0...4.2.0