@pact-foundation/pact-core
Advanced tools
Changelog
12.0.0-beta.0 (2021-06-28)
logLevel
of DEBUG
or TRACE
Changelog
11.0.0 (2021-05-21)
All the interfaces that previously returned q.Promise
have now been replaced with native es6 Promise
s. Calling code will need to be updated.
All options deprecated in previous versions have been removed. Migration instructions:
In VerifierOptions
: replace use of tags
, consumerVersionTag
and providerVersionTag
with the appropriate consumerVersionTags
or providerVersionTags
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
or version
. 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/
fix https://github.com/pact-foundation/pact-js-core/issues/285
docs: Add description of consumer version selectors to the documentation. (1bdb45d)
q
ith native Promise
(a5076cc)providerStatesSetupUrl
is no longer deprecated. Other deprecated options have been removed. (95b88e0)