Releases: pact-foundation/pact-js-core
Release v13.1.2
Release v13.1.1
Release v13.1.0
Release v13.0.1
Release v13.0.0
13.0.0 (2021-08-24)
⚠ BREAKING CHANGES
- setLogLevel no longer accepts or returns a
number - The verbose option has been removed, as it is now implied by
logLevelofDEBUGorTRACE - All logging and reporting is now on standard out. This was the default before. This means the logDir / format / out options are no longer supported. If your ecosystem needs the ability to customise logging and reporting, please let us know by opening an issue.
- The undocumented option monkeypatch has been removed. The use cases for this feature are mostly covered by other options.
- customProviderHeaders has been removed. Please see the request filter documentation in pact-js.
Features
-
include standalone binaries in released package (eedeb18)
-
Use the native ffi bindings for the Verifier instead of the ruby bindings (119c3ce)
-
Add migration docs and update readme (e589c01)
-
Refactor logger to make it easier to use ffi logs (c650192)
Fixes and Improvements
- Correct exposed log levels to 'debug' | 'error' | 'info' | 'trace' | 'warn'. (4a6f573)
- Expose logger as a base level export (5686a66)
- Print warnings if 'latest' is used as a tag during verification (ddd516d)
- Remove some unnecessary files from the npm package (60c4aa1)
- Use the new pact_ffi instead of the verifier-only one (5d2f364)
Release v11.1.1
11.1.1 (2021-08-11)
Fixes and Improvements
Release v11.1.0
Release v11.0.1
Release v11.0.0
11.0.0 (2021-05-21)
⚠ BREAKING CHANGES
-
All the interfaces that previously returned
q.Promisehave now been replaced with native es6Promises. Calling code will need to be updated. -
All options deprecated in previous versions have been removed. Migration instructions:
-
In
VerifierOptions: replace use oftags,consumerVersionTagandproviderVersionTagwith the appropriateconsumerVersionTagsorproviderVersionTagsoption. -
The following classes have had their
.create(options)removed. Please use the appropriate constructor instead (for example,new Verifier(options))VerifierPublisherServerStub
-
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,allorversion. 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
qith nativePromise(a5076cc) - The verifier option
providerStatesSetupUrlis 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)