Release v10.0.0-beta.45
Pre-release
Pre-release
github-actions
released this
10 Sep 08:53
·
67 commits
to 51aa4a2d58b72790a67bf623cc32f9019883577c
since this release
10.0.0-beta.45 (2021-09-10)
⚠ BREAKING CHANGES
-
There are several changes to the
VerifierOptions
. To migrate:- Replace
verbose
withlogLevel: "DEBUG"
(logLevels ofDEBUG
and below now implyverbose
where appropriate) - Replace
consumerVersionTag
with theconsumerVersionTags
array - Replace
providerVersionTag
with theproviderVersionTags
array - Replace
tags
withconsumerVersionTags
orproviderVersionTags
as appropriate.
- Replace
-
Some
VerifierOptions
have been removed entirely:customProviderHeaders
has been removed. If you need this functionality, set an
appropriate request filter with therequestFilters
option instead.- All logging and reporting is now on standard out (this was the default before).
This meanslogDir
/format
/out
have all been removed. 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.
-
logging: 'fatal' log level has been removed. Nothing was logged at fatal, and the underlying core doesn't support it.
Features
-
Actually send message metadata during verification (c373144)
-
Add ability to specify metadata in provider tests with (824e49b)
-
State handlers respect promises for all pact file formats (72bfc0b)
-
logging: Improve trace logging and use clearer types (060daa9)
-
update verifier options (6df54b0)
Fixes and Improvements
- broken pact provider test not consistent with types (29af342)
- correct VerfierV3Options so that it doesn't clobber VeriferOptions (5796fde)
- using relative import. fixes problems with intellisense in vscode (35de1c5)
- You no longer need to import the verifier from /v3, it can be imported directly from @pact-foundation/pact (c268497)