Release v11.0.0
11.0.0 (2021-05-21)
⚠ BREAKING CHANGES
-
All the interfaces that previously returned
q.Promise
have now been replaced with native es6Promise
s. Calling code will need to be updated. -
All options deprecated in previous versions have been removed. Migration instructions:
-
In
VerifierOptions
: replace use oftags
,consumerVersionTag
andproviderVersionTag
with the appropriateconsumerVersionTags
orproviderVersionTags
option. -
The following classes have had their
.create(options)
removed. Please use the appropriate constructor instead (for example,new Verifier(options)
)Verifier
Publisher
Server
Stub
-
docs: The type for consumer version selectors in the verifier has been corrected. This will affect typescript users who were using consumerVersionSelectors with the fields
pacticipant
,all
orversion
. These fields never worked, and now will no longer compile in typescript. The correct type is:
ConsumerVersionSelector {
tag?: string;
latest?: boolean;
consumer?: string;
fallbackTag?: string;
}
Note that pacticipant
, version
and all
have been removed. Existing code that uses pacticipant
needs to use consumer
instead. The other fields can be dropped. Any questions, please reach out to us at https://slack.pact.io/
Fixes and Improvements
- ConsumerVersionSelector interface (b1e5afe)
- Replace
q
ith nativePromise
(a5076cc) - The verifier option
providerStatesSetupUrl
is no longer deprecated. Other deprecated options have been removed. (95b88e0) - update standalone to 1.88.46 (e9f2b43)
- update standalone to 1.88.47 (5626f3b)
- update standalone to 1.88.48 (14e31cf)
- update standalone to 1.88.49 (cb088ce)
- update standalone to 1.88.50 (ce92950)
- update standalone to 1.88.51 (de83a99)