You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename the verifier options triggers.verifiers to triggers.testResponses and triggers.errorVerifiers to triggers.testErrorResponses for consistency with the runExample DSL
Rename contract.verifyContract to contract.runVerification for consistency
Verification now supports reading contracts from a directory, to allow contract download from a broker. The interface to verifyContract has now changed - use contractFilename or contractDirectory instead of passing the raw contract.
Change the default to not publish contracts if not in CI. Set the new config option publish: true or publish: "ALWAYS" if you need the old behaviour of always publishing
All matcher and mock types are now prefixed with case:. This change allows extensions without naming clashes, but means any contracts prior to this version must be regenerated.
Features
Add ability to publish verification results (cc2b7c2)
Change the default to not publish contracts if not in CI. Set the new config option publish: true or publish: "ALWAYS" if you need the old behaviour of always publishing (9ab6ca9)
Verification now supports reading contracts from a directory, to allow contract download from a broker. The interface to verifyContract has now changed - use contractFilename or contractDirectory instead of passing the raw contract. (e0b9fbb)
When saving contracts, create contract directory if it doesn't already exist (72f8edb)
Bug Fixes
Correct parsing of Broker response messages (f625168)
Empty triggers.testResponses and triggers.testErrorResponses blocks are no longer required (4a2d6e6)
Extend Jest's timeout during contract definition as well as verification (db998a6)
Improve debug message when the trigger fails (098050a)
Improve error message when publish is misconfigured (fc0fb1e)
Code Refactoring
All matcher and mock types are now prefixed with case:. This change allows extensions without naming clashes, but means any contracts prior to this version must be regenerated. (945808b)
Rename contract.verifyContract to contract.runVerification for consistency (b739ceb)
Rename the verifier options triggers.verifiers to triggers.testResponses and triggers.errorVerifiers to triggers.testErrorResponses for consistency with the runExample DSL (a6fe848)