Releases: pact-foundation/pact-js
Releases · pact-foundation/pact-js
Release v10.0.0-beta.59
10.0.0-beta.59 (2022-04-01)
Fixes and Improvements
Release v9.17.3
9.17.3 (2022-03-16)
Fixes and Improvements
Release v10.0.0-beta.58
10.0.0-beta.58 (2022-02-23)
Fixes and Improvements
- pin to latest beta version of core in examples (d92c793)
Release v10.0.0-beta.57
10.0.0-beta.57 (2022-02-23)
Fixes and Improvements
- core now supports env vars if option not explicitly set (bf69903)
- formatting (9c5bdf1)
- new verifier doesn't support env vars (dfc01b6)
- node gyp not working on windows (a6b1d88)
- remove deprecated v3 beta property (75fc76c)
- update to latest beta core (fff279f)
- update to latest beta core (7a82ad9)
- update to latest beta core (cbb4b07)
Release v10.0.0-beta.56
10.0.0-beta.56 (2022-02-16)
Fixes and Improvements
- bump version of core, remove rust from builds (157d14b)
Release v10.0.0-beta.55
10.0.0-beta.55 (2022-02-16)
Fixes and Improvements
- Bump pact-core dependency to 13.4.1 (a3a11ec)
10.0.0-beta.54 (2021-10-29)
Fixes and Improvements
- Bump version of pact-core to 13.3.0 (97cc2ec)
10.0.0-beta.53 (2021-10-19)
Fixes and Improvements
- Bump version of pact-core to fix regression in publisher API (db434a5)
10.0.0-beta.52 (2021-10-16)
Fixes and Improvements
10.0.0-beta.51 (2021-09-22)
Fixes and Improvements
- Bump version of pact-core to obtain fix for a regression in VerifierOptions where the option was set to undefined (b424136)
10.0.0-beta.50 (2021-09-21)
Fixes and Improvements
- Don't generate random numbers when the example given to V3 integer or decimal matchers is 0 (#742) (e5a443c)
10.0.0-beta.49 (2021-09-15)
Fixes and Improvements
- give up on node 16 musl until we can remove neon (c8e5275)
- update or remove all packages that caused dependency warnings (e1bb6ec)
10.0.0-beta.48 (2021-09-15)
Fixes and Improvements
- upgrade neon to (finally) support Node 16 (hopefully) (6734a52)
10.0.0-beta.47 (2021-09-15)
⚠ BREAKING CHANGES
- matchers:
Matchers.rfc3339Timestamp()
has been renamed toMatchers.rfc1123Timestamp()
. The behaviour is unchanged - it was always RFC1123, and never did match RFC3339 timestamps.
Features
- support node 16 with native build (5c5753e)
Fixes and Improvements
- add support for request-mismatch error types (fa63933)
- Bump version of pact-core to obtain fix for Verifier not accepting broker token correctly (#738) (79d9930)
- matchers: Rename rfc3339Timestamp to rfc1123Timestamp (#451) (8e9c378)
10.0.0-beta.46 (2021-09-13)
Features
- Support node 16 with native build (79d43ff)
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
- correct VerfierV3Options so that it doesn't clobber VeriferOptions (5796fde)
- You no longer need to import the verifier from /v3, it can be imported directly from @pact-foundation/pact (c268497)
10.0.0-beta.44 (2021-07-22)
Fixes and Improvements
- broken pact provider test not consistent with types (29af342)
- consumerVersionTags were overwritten with empty array (#714) (838d1cb)
- using relative import. fixes problems with intellisense in vscode (35de1c5)
10.0.0-beta.43 (2021-07-18)
Fixes and Improvements
10.0.0-beta.42 (2021-06-29)
Features
- reset consumer test state to enable re-use of PactV3 class (0134ea8)
10.0.0-beta.41 (2021-06-26)
⚠ BREAKING CHANGES
- the signature of state handlers has been updated to
accept either a single function with parameters, or an object that
can specify optional teardown and setup functions that run on the
different state phases. - callbackTimeout is now timeout
Features
- support promises in filters + state handlers (456567c)
Fixes and Improvements
- Make request tracer log in debug instead of trace (24742e4)
10.0.0-beta.40 (2021-06-24)
Fixes and Improvements
- make fromProviderState Matcher compatible (b608094)