Changelog
All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.
13.1.4 (2024-10-08)​
Fixes and Improvements​
13.1.3 (2024-09-12)​
Fixes and Improvements​
13.1.2 (2024-08-15)​
Fixes and Improvements​
13.1.1 (2024-07-15)​
Fixes and Improvements​
13.1.0 (2024-06-24)​
Features​
- support alpine via pact-js-core 15.1.0 (1d35c82)
13.0.0 (2024-06-17)​
⚠BREAKING CHANGES​
- update to @pact-foundation/pact-core to 15.x
Fixes and Improvements​
- update to @pact-foundation/pact-core to 15.x (42f52bb)
12.5.2 (2024-05-30)​
Fixes and Improvements​
- prevent non-number use in number matcher (d0ee6c4)
12.5.1 (2024-05-30)​
Fixes and Improvements​
- prevent non-number use in number matcher (0db6f7f)
12.5.0 (2024-04-26)​
Features​
- support matching numbers, bool in query strings (d2237bd)
Fixes and Improvements​
- broken
eachLike
V3 documentation. (68e5013) - package.json & package-lock.json to reduce vulnerabilities (7c2e119)
- update to latest pact-core 14.3.4 (1b56a73)
- updated deprecated
eachLike
V3 description. (1e7b7ae)
12.4.0 (2024-03-25)​
Features​
- corporate proxy: support in verifier (f3ec1be)
12.3.1 (2024-03-25)​
Fixes and Improvements​
- update to latest pact-core 14.3.3 (34d8a4b)
12.3.0 (2024-02-28)​
Features​
- allow v3 matchers in message metadata (58b1251)
12.2.0 (2024-02-09)​
Features​
- remove feature flag for v4 (3d8eccc)
Fixes and Improvements​
- retire lodash omitby to fix vulnerability (fedcc2e)
- revert test workaround / update to matt plugin 0.1.0 (f306c2b)
12.1.3 (2024-01-23)​
Fixes and Improvements​
- ci: update matt plugin provider test (db37296)
- support multiple states with same name (36dfb4f), closes #848
12.1.2 (2024-01-07)​
Fixes and Improvements​
- PactV4 should default to V4 spec (46acc70)
- types: remove AnyTemplate references from DSL (4aa5c9b), closes #1133
12.1.1 (2023-11-10)​
Fixes and Improvements​
- allow re-use of PactV4 object (38a68fb)
- MessageConsumerPact merge pact file correctly (6b5de27)
- package.json & package-lock.json to reduce vulnerabilities (288bdfd)
- return raw consumer mock server mismatch if structure unknown (17be53c)
12.1.0 (2023-07-18)​
Features​
- add eachKeyMatches + eachValueMatches matchers (0b2098b)
Fixes and Improvements​
- Deprecate the
eachKeyLike
matcher (0b2098b) - do not split headers by comma (fccaa07), closes #1031 #1058
- update dependencies to remove vulnerabilities (4b00b63)
12.0.0 (2023-07-10)​
⚠BREAKING CHANGES​
- set node engines min version to 16
Fixes and Improvements​
11.0.2 (2023-03-09)​
Fixes and Improvements​
11.0.1 (2023-03-09)​
Fixes and Improvements​
- update to the latest @pact-foundation/pact-core-13.13.5 (dd5b785)
11.0.0 (2023-03-02)​
⚠BREAKING CHANGES​
- Rename the message-pact state handler type to
MessageStateHandlers
fromStateHandlers
avoiding the conflicting type problem introduced in #882. Fixes #1057
Fixes and Improvements​
- Remove all references to
AnyTemplate
and deprecate the type. See #1054 for details (c7edb7e) - Rename the message-pact state handler type to
MessageStateHandlers
fromStateHandlers
avoiding the conflicting type problem introduced in #882. Fixes #1057 (9be81ce) - Widen types for V3 matchers, avoiding AnyTemplate errors. This has the side effect that functions, Dates and other inappropriate types can now be passed to matchers, and the benefit that people using interfaces don't get spurious errors. Fixes #1054 (0803cdf)
10.4.1 (2023-01-23)​
Fixes and Improvements​
- accept multiple values for headers in V2 interface. Fixes #1031 (229aadd)
- disabled HTTP tracer as it causes the node process to hang (7de96ca)
- update to latest pact-core 13.13.2 (671891b)
10.4.0 (2022-12-09)​
Features​
Fixes and Improvements​
- Export
VerifierOptions
as a root export (bbcccc8) - missing min in v3 eachLike pact-foundation/pact-js#958 (18dbfd4)
- Remove unnecessary dependency @types/bluebird (also removed bluebird internally) (56efeb3)
- support multiple header values with matchers (ccd95bb), closes #964
10.3.1 (2022-11-30)​
Fixes and Improvements​
- PactV4 feature flag check was causing import errors for all imports (8897da7)
10.3.0 (2022-11-29)​
Features​
- expose V4 public interface (047b61d)
Fixes and Improvements​
- add --detectOpenHandles to provider state tests (9f14582)
- update to latest pact-core 13.12.2 (e54aa7a)
10.2.2 (2022-11-14)​
Fixes and Improvements​
- remove all remaining absolute imports (1d16a76)
10.2.1 (2022-11-14)​
Fixes and Improvements​
10.2.0 (2022-11-10)​
Features​
- support V4 Pact interface (beta) (7f87896)
Fixes and Improvements​
- Fix an issue where extractPayload would not work correctly with objects with a value key (469e6d3)
10.1.4 (2022-09-21)​
Fixes and Improvements​
- Fix issue where MatchersV3.string() with no arguments would not correctly match strings (ed70734)
10.1.3 (2022-09-06)​
Fixes and Improvements​
- PactV4 error handling logic (78ff0bf)
10.1.2 (2022-08-20)​
Fixes and Improvements​
10.1.1 (2022-08-14)​
Fixes and Improvements​
- print errors if fn passed to executeTest throws (8cfc8c7)
10.1.0 (2022-08-11)​
Features​
- port extractPayload function from 9.x (1afef87)
10.0.2 (2022-08-08)​
Fixes and Improvements​
10.0.1 (2022-07-28)​
Fixes and Improvements​
10.0.0 (2022-07-28)​
🎉 TL;DR - lots. See https://github.com/pact-foundation/pact-js/blob/master/docs/migrations/9-10.md for more!
9.18.1 (2022-06-28)​
Fixes and Improvements​
9.18.0 (2022-06-26)​
Features​
- drop support for pact web incl. karma examples (d45f898)
- modify request body inside of verifer (#873) (be8ed15)
Fixes and Improvements​
9.17.3 (2022-03-16)​
Fixes and Improvements​
- remove rust from v3 release build (2a5f65b)
- The table on README.md is corrupted and unreadable (#832) (b73fa05)
- throw an error when pact spec version is not set to 2 (4186c22)
- upgrade to latest pact-node (0d9b127)
- verifier req/res logging on debug (#835) (3edc5a0)
10.0.0-beta.62 (2022-07-27)​
Fixes and Improvements​
- states not added when using PactV3.addInteraction (cb4bd1a)
10.0.0-beta.61 (2022-07-26)​
Features​
- migrate message pact to new js core (156886f)
- remove deprecated VerifierV3 from beta interface. BREAKING CHANGE (25dc07e)
- replace ruby core with rust core in stable pact http package (7b7d415)
- support JSON addInteraction function for PactV3 (903fd36)
- support user defined port/host in v3 consumer tests (8aaafe6)
Fixes and Improvements​
- Add support for state params to MessageProviderPact (#372) (#882) (33c145a)
- make 'dir' optional in PactV3 interface and default to ./pacts dir (0b12160)
10.0.0-beta.60 (2022-06-26)​
Features​
- modify request body inside of verifier v3 (#875) (0fd1a34)
- remove pact-web and karma (2c57330)
- support customising the proxy host (d281d4f)
10.0.0-beta.59 (2022-04-01)​
Fixes and Improvements​
- content type detection now considers matchers (069da08)
- e2e tests were verifying the wrong pacts (1999f2d)
- infer content type from headers, prevent non JSON-able state parameters (2a6acf3)
- update to latest core (51c4c52)
10.0.0-beta.58 (2022-02-23)​
Fixes and Improvements​
- pin to latest beta version of core in examples (d92c793)
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)
10.0.0-beta.56 (2022-02-16)​
Fixes and Improvements​
- bump version of core, remove rust from builds (157d14b)
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 means
logDir
/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)
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)
10.0.0-beta.39 (2021-06-23)​
Fixes and Improvements​
10.0.0-beta.38 (2021-06-21)​
Fixes and Improvements​
- Add InterfaceToTemplate<> generic type to address compile errors if users are using interfaces with matchers (982c4d2)
- verifier: added StateHandler type and improved JSDocs (4cad265)
10.0.0-beta.37 (2021-06-06)​
Features​
- add consumer version selectors to v3 pact verifier (3fe65ad)
Fixes and Improvements​
- append text only works with Matchers (ef56513), closes /github.com/pact-foundation/pact-js/commit/b3b5e6231e9f0ade7be045ff117b441d0169114a#diff-254dbea027a5c57e2b14fb8ff30edc28fea1d39ff2392d95731f7a16f60d5782R70
10.0.0-beta.36 (2021-05-31)​
Features​
- filter verification by description & state (2eb529a)
Fixes and Improvements​
- build: restore to files from git before build (dfb9b08)
- Error message with no pactBrokerUrl and no pactUrls (3f6b036)
- internal error in Neon module: called
Option::unwrap()
on aNone
value (7cb6822) - linting (3b1d394)
- process body intermediate format when the content type is not JSON #633 (2683224)
- rename pact-node to pact-core (553c525)
- windows tests (c56db1b)
- windows tests (1ef2f7c)
- XMLBuilder needs to return intermediate format (002d6bc)
10.0.0-beta.35 (2021-05-21)​
⚠BREAKING CHANGES​
Pact-js no longer officially supports node less than 10 (10 is only supported by nodejs for another few months anyway, so I doubt this will affect many users)
Since some of the interface of pact-core is exposed, there are some breaking changes:
- In
VerifierOptions
: replace use oftags
,consumerVersionTag
andproviderVersionTag
with the appropriateconsumerVersionTags
orproviderVersionTags
option. - The type for consumer version selectors in the verifier options has been corrected. This will affect typescript users who were using consumerVersionSelectors with the fields
pacticipant
,all
orversion
. 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;
}
- In
Drop support for node < 10 (328de85)
Update pact-core to v11. (9e5a67d)
10.0.0-beta.34 (2021-04-07)​
Features​
- add support for ignoring keys via the eachKeyLike matcher (2f59c9f)
Fixes and Improvements​
- Correct types for interaction chaining in graphql (5043cc0)
- package-name: Use the new name (pact-core) for pact-node (a42fee2)
- Remove deprecated ability to provide options to Vverifier outside the constructor. Temporarily disable nestjs example accordingly (a7a3c0e)
- typescript: accept string array as query value (69f74ba)
10.0.0-beta.33 (2021-03-03)​
Fixes and Improvements​
10.0.0-beta.32 (2021-02-23)​
Features​
- add experimental 'allow missing' behind env var PACT_EXPERIMENTAL_FEATURE_ALLOW_MISSING_REQUESTS (2d3a1fe)
Fixes and Improvements​
- pact-node: Bump dependency on pact-node (812e09e)
10.0.0-beta.31 (2021-02-10)​
Fixes and Improvements​
- improve file locking behaviour (0f73466)
10.0.0-beta.30 (2021-02-08)​
Features​
Fixes and Improvements​
- make the callback timeout configurable with a 5 sec default (a0f0876)
10.0.0-beta.29 (2021-01-29)​
Fixes and Improvements​
- added export to V3 matcher interfaces (8d11c1a)
- don't strigify response that is already a string (a867147)
10.0.0-beta.26 (2021-01-27)​
Features​
- add uuid matcher function (49c3da8)
Fixes and Improvements​
- don't JSON.stringify body if its already a string (6d44059)
- local pact URL (1fd5fe4)
- use correct id in consumer test (3d7e9c0)
10.0.0-beta.25 (2021-01-12)​
Fixes and Improvements​
- change the release trigger for native libs (3f1bbfa)
- URLs were not being generated correctly when used with an array contains matcher (4fccb8d)
10.0.0-beta.24 (2021-01-12)​
Fixes and Improvements​
- exclude openssl from native build for musl versions (3db75af)
- exclude the native lib from the NPM package (208e750)
- exclude the native lib from the NPM package (69a6e5b)
10.0.0-beta.23 (2021-01-11)​
Features​
- initial pacts for verification integration (6428bbe)
- support for matchers on headers (aa3d55e)
- Update URL matching functions to support mock server URL generation (2733af9)
Fixes and Improvements​
- correct V3 matcher spec (6b6ac6c)
10.0.0-beta.22 (2020-11-17)​
Features​
- add example consumer test with provider state injected values #516 (190f332)
- added consumer for provider state injected example (bdc333c)
- got provider state injected values working with provider test #516 (5fdf7eb)
- implemented matching query parameters and provider state injected values (in consumer DSL) #516 (f798c13)
Fixes and Improvements​
10.0.0-beta.21 (2020-10-30)​
Fixes and Improvements​
- improve the test error to include the original stack trace (c14cb97)
- update to latest mock server crate, fixes #520 (21774de)
10.0.0-beta.20 (2020-10-29)​
Fixes and Improvements​
- can not use matrix expressions in uses: with GH actions (d6942a4)
- support any values for provider state parameters (df4df0b)
- update the MUSL docker container for use with GH actions (5647032)
10.0.0-beta.19 (2020-10-19)​
10.0.0-beta.18 (2020-10-16)​
Features​
- add support for array contains matcher (57bcc79)
Fixes and Improvements​
10.0.0-beta.17 (2020-10-12)​
Features​
- improve the error messages for a failed test (f01b57e)
Fixes and Improvements​
10.0.0-beta.16 (2020-09-28)​
Features​
- add flag to enable handling CORS pre-flight requests (0adb3fc)
Fixes and Improvements​
- correct Rust code after upgrade to upstream libs (aa6d803)
- need .mocharc.json after merge from master (2525bf6)
- package.json after merge from master (aef422b)
10.0.0-beta.15 (2020-08-05)​
Fixes and Improvements​
- correct matcher paths for text nodes in XML (a217793)
10.0.0-beta.14 (2020-08-04)​
Fixes and Improvements​
10.0.0-beta.13 (2020-06-27)​
Features​
- add some tests around the conusmer DSL matchers (e6a153f)
- handle XML matching with different types of child elements (2143ca4)
- implemented consumer DSL URL matcher (f27a444)
Fixes and Improvements​
10.0.0-beta.12 (2020-06-12)​
10.0.0-beta.11 (2020-06-12)​
10.0.0-beta.10 (2020-06-12)​
10.0.0-beta.9 (2020-06-11)​
10.0.0-beta.8 (2020-06-11)​
10.0.0-beta.7 (2020-06-11)​
10.0.0-beta.6 (2020-06-11)​
Features​
10.0.0-beta.5 (2020-05-27)​
Features​
- support MIME multipart form posts with binary files (d72a210)
- support regex matcher with a regexp object (d92f6f5)
- support text nodes configured from XML builder (a2a7f55)
- support using matchers on XML text nodes (b3b5e62)
Fixes and Improvements​
- correct the version of the pact_mock_server crate (a17f2bb)
- date/time matchers were being skipped due to defect in upstream matching lib (dcc3a7f)
- travis matrix was doubled up (fe08a70)
- travis was not running the E2E tests after merge from master (73257dc)
10.0.0-beta.4 (2020-05-20)​
Features​
- add support for binary payloads (658ffa0)
Fixes and Improvements​
- accidentially commited development paths in cargo manefest (03cc16f)
- format the error messages in a better way (0a15772)
- handle error when pact file cannot be written (82832a8)
- throw an exception when a request is configured but no interaction defined (b317da7)
- throw an exception when a response is configured but no interaction defined (6feacbe)
10.0.0-beta.3 (2020-04-08)​
Fixes and Improvements​
- correct invalid logger import (5d4ba5b)
- don't bundle the native lib in the NPM package (24f43f3)
- guard against panics in background thread (b35aecd)
- integer, decimal and number parameters are optional (69f3983)
- throw a JS error if there are no pacts to verify (3bfd9da)
- try get the cause of any Rust panic (f1f3d4a)
- typo (5d8dd37)
- update pact matching crate to 0.5.10 to fix invalid path matcher format (ecce929)
10.0.0-beta.2 (2020-03-18)​
Fixes and Improvements​
- correct the path to the native lib in the NPM package (300d915)
10.0.0-beta.1 (2020-03-17)​
Features​
- got E2E consumer test passing (904ed0b)
- got request filters working. Yay! (de16880)
- got the example V3 test working (9ab43cc)
- handle the parameters and results from provider state callbacks #372 (d3f73e5)
- implement provider state parameters in consumer tests #372 (af8bf32)
- implemented provider state callbacks with parameters #372 (50e4e61)
- Introduce an authenticated state #372 (debebd7)
Fixes and Improvements​
- changes needed for the E2E consumer test (6022f8b)
- correct the paths for the attribute matchers (7629c92)
- correct the v3-todo example tests (de205c7)
- datetime matchers now generate a value if one is not given (a910840)
- fucking lint (cdb72db)
- Gah! Lint Nazis (79082fd)
- got eachlike with number of examples working (88c9a72)
- lint (772224d)
- lint (9717b47)
- neon build should point to native directory (fdea3eb)
- neon build should point to native directory (16957a2)
- neon requires a C++ compiler (bb8731f)
- removed node 6 and 7 because ancient (2b45cfc)
- rustup: Unable to run interactively. Run with -y to accept defaults (abfa9c9)
- travis build needs the Rust source in dist (e64402e)
- travis build needs the Rust source in dist (519fee5)
- use 0.5.6 of matching lib to avoid dup rules (d30d7b9)
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 means
logDir
/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)
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)
10.0.0-beta.44 (2021-07-22)​
Fixes and Improvements​
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)
10.0.0-beta.39 (2021-06-23)​
Fixes and Improvements​
10.0.0-beta.38 (2021-06-21)​
Fixes and Improvements​
- Add InterfaceToTemplate<> generic type to address compile errors if users are using interfaces with matchers (982c4d2)
- verifier: added StateHandler type and improved JSDocs (4cad265)
10.0.0-beta.37 (2021-06-06)​
Features​
- add consumer version selectors to v3 pact verifier (3fe65ad)
Fixes and Improvements​
- append text only works with Matchers (ef56513), closes /github.com/pact-foundation/pact-js/commit/b3b5e6231e9f0ade7be045ff117b441d0169114a#diff-254dbea027a5c57e2b14fb8ff30edc28fea1d39ff2392d95731f7a16f60d5782R70
10.0.0-beta.36 (2021-05-31)​
Features​
- filter verification by description & state (2eb529a)
Fixes and Improvements​
- build: restore to files from git before build (dfb9b08)
- Error message with no pactBrokerUrl and no pactUrls (3f6b036)
- internal error in Neon module: called
Option::unwrap()
on aNone
value (7cb6822) - linting (3b1d394)
- process body intermediate format when the content type is not JSON #633 (2683224)
- rename pact-node to pact-core (553c525)
- windows tests (c56db1b)
- windows tests (1ef2f7c)
- XMLBuilder needs to return intermediate format (002d6bc)
10.0.0-beta.35 (2021-05-21)​
⚠BREAKING CHANGES​
Pact-js no longer officially supports node less than 10 (10 is only supported by nodejs for another few months anyway, so I doubt this will affect many users)
Since some of the interface of pact-core is exposed, there are some breaking changes:
- In
VerifierOptions
: replace use oftags
,consumerVersionTag
andproviderVersionTag
with the appropriateconsumerVersionTags
orproviderVersionTags
option. - The type for consumer version selectors in the verifier options has been corrected. This will affect typescript users who were using consumerVersionSelectors with the fields
pacticipant
,all
orversion
. 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;
}
- In
Drop support for node < 10 (328de85)
Update pact-core to v11. (9e5a67d)
10.0.0-beta.34 (2021-04-07)​
Features​
- add support for ignoring keys via the eachKeyLike matcher (2f59c9f)
Fixes and Improvements​
- Correct types for interaction chaining in graphql (5043cc0)
- Remove deprecated ability to provide options to Vverifier outside the constructor. Temporarily disable nestjs example accordingly (a7a3c0e)
- package-name: Use the new name (pact-core) for pact-node (a42fee2)
- typescript: accept string array as query value (69f74ba)
10.0.0-beta.33 (2021-03-03)​
Fixes and Improvements​
10.0.0-beta.32 (2021-02-23)​
Features​
- add experimental 'allow missing' behind env var PACT_EXPERIMENTAL_FEATURE_ALLOW_MISSING_REQUESTS (2d3a1fe)
Fixes and Improvements​
- pact-node: Bump dependency on pact-node (812e09e)
10.0.0-beta.31 (2021-02-10)​
Fixes and Improvements​
- improve file locking behaviour (0f73466)
10.0.0-beta.30 (2021-02-08)​
Features​
Fixes and Improvements​
- make the callback timeout configurable with a 5 sec default (a0f0876)
10.0.0-beta.29 (2021-01-29)​
Fixes and Improvements​
- added export to V3 matcher interfaces (8d11c1a)
- don't strigify response that is already a string (a867147)
10.0.0-beta.26 (2021-01-27)​
Features​
- add uuid matcher function (49c3da8)
Fixes and Improvements​
- don't JSON.stringify body if its already a string (6d44059)
- local pact URL (1fd5fe4)
- use correct id in consumer test (3d7e9c0)
10.0.0-beta.25 (2021-01-12)​
Fixes and Improvements​
- change the release trigger for native libs (3f1bbfa)
- URLs were not being generated correctly when used with an array contains matcher (4fccb8d)
10.0.0-beta.24 (2021-01-12)​
Fixes and Improvements​
- exclude openssl from native build for musl versions (3db75af)
- exclude the native lib from the NPM package (208e750)
- exclude the native lib from the NPM package (69a6e5b)
10.0.0-beta.23 (2021-01-11)​
Features​
- initial pacts for verification integration (6428bbe)
- support for matchers on headers (aa3d55e)
- Update URL matching functions to support mock server URL generation (2733af9)
Fixes and Improvements​
- correct V3 matcher spec (6b6ac6c)
10.0.0-beta.22 (2020-11-17)​
Features​
- add example consumer test with provider state injected values #516 (190f332)
- added consumer for provider state injected example (bdc333c)
- got provider state injected values working with provider test #516 (5fdf7eb)
- implemented matching query parameters and provider state injected values (in consumer DSL) #516 (f798c13)
Fixes and Improvements​
10.0.0-beta.21 (2020-10-30)​
Fixes and Improvements​
- improve the test error to include the original stack trace (c14cb97)
- update to latest mock server crate, fixes #520 (21774de)
10.0.0-beta.20 (2020-10-29)​
Fixes and Improvements​
- can not use matrix expressions in uses: with GH actions (d6942a4)
- support any values for provider state parameters (df4df0b)
- update the MUSL docker container for use with GH actions (5647032)
10.0.0-beta.19 (2020-10-19)​
10.0.0-beta.18 (2020-10-16)​
Features​
- add support for array contains matcher (57bcc79)
Fixes and Improvements​
10.0.0-beta.17 (2020-10-12)​
Features​
- improve the error messages for a failed test (f01b57e)
Fixes and Improvements​
10.0.0-beta.16 (2020-09-28)​
Features​
- add flag to enable handling CORS pre-flight requests (0adb3fc)
Fixes and Improvements​
- correct Rust code after upgrade to upstream libs (aa6d803)
- need .mocharc.json after merge from master (2525bf6)
- package.json after merge from master (aef422b)
10.0.0-beta.15 (2020-08-05)​
Fixes and Improvements​
- correct matcher paths for text nodes in XML (a217793)
10.0.0-beta.14 (2020-08-04)​
Fixes and Improvements​
10.0.0-beta.13 (2020-06-27)​
Features​
- add some tests around the conusmer DSL matchers (e6a153f)
- handle XML matching with different types of child elements (2143ca4)
- implemented consumer DSL URL matcher (f27a444)
Fixes and Improvements​
10.0.0-beta.12 (2020-06-12)​
10.0.0-beta.11 (2020-06-12)​
10.0.0-beta.10 (2020-06-12)​
10.0.0-beta.9 (2020-06-11)​
10.0.0-beta.8 (2020-06-11)​
10.0.0-beta.7 (2020-06-11)​
10.0.0-beta.6 (2020-06-11)​
Features​
10.0.0-beta.5 (2020-05-27)​
Features​
- support MIME multipart form posts with binary files (d72a210)
- support regex matcher with a regexp object (d92f6f5)
- support text nodes configured from XML builder (a2a7f55)
- support using matchers on XML text nodes (b3b5e62)
Fixes and Improvements​
- correct the version of the pact_mock_server crate (a17f2bb)
- date/time matchers were being skipped due to defect in upstream matching lib (dcc3a7f)
- travis matrix was doubled up (fe08a70)
- travis was not running the E2E tests after merge from master (73257dc)
10.0.0-beta.4 (2020-05-20)​
Features​
- add support for binary payloads (658ffa0)
Fixes and Improvements​
- accidentially commited development paths in cargo manefest (03cc16f)
- format the error messages in a better way (0a15772)
- handle error when pact file cannot be written (82832a8)
- throw an exception when a request is configured but no interaction defined (b317da7)
- throw an exception when a response is configured but no interaction defined (6feacbe)
10.0.0-beta.3 (2020-04-08)​
Fixes and Improvements​
- correct invalid logger import (5d4ba5b)
- don't bundle the native lib in the NPM package (24f43f3)
- guard against panics in background thread (b35aecd)
- integer, decimal and number parameters are optional (69f3983)
- throw a JS error if there are no pacts to verify (3bfd9da)
- try get the cause of any Rust panic (f1f3d4a)
- typo (5d8dd37)
- update pact matching crate to 0.5.10 to fix invalid path matcher format (ecce929)
10.0.0-beta.2 (2020-03-18)​
Fixes and Improvements​
- correct the path to the native lib in the NPM package (300d915)
10.0.0-beta.1 (2020-03-17)​
Features​
- got E2E consumer test passing (904ed0b)
- got request filters working. Yay! (de16880)
- got the example V3 test working (9ab43cc)
- handle the parameters and results from provider state callbacks #372 (d3f73e5)
- implement provider state parameters in consumer tests #372 (af8bf32)
- implemented provider state callbacks with parameters #372 (50e4e61)
- Introduce an authenticated state #372 (debebd7)
Fixes and Improvements​
- changes needed for the E2E consumer test (6022f8b)
- correct the paths for the attribute matchers (7629c92)
- correct the v3-todo example tests (de205c7)
- datetime matchers now generate a value if one is not given (a910840)
- fucking lint (cdb72db)
- Gah! Lint Nazis (79082fd)
- got eachlike with number of examples working (88c9a72)
- lint (772224d)
- lint (9717b47)
- neon build should point to native directory (fdea3eb)
- neon build should point to native directory (16957a2)
- neon requires a C++ compiler (bb8731f)
- removed node 6 and 7 because ancient (2b45cfc)
- rustup: Unable to run interactively. Run with -y to accept defaults (abfa9c9)
- travis build needs the Rust source in dist (e64402e)
- travis build needs the Rust source in dist (519fee5)
- use 0.5.6 of matching lib to avoid dup rules (d30d7b9)
10.0.0-beta.34 (2021-04-07)​
Features​
- add support for ignoring keys via the eachKeyLike matcher (2f59c9f)
Fixes and Improvements​
- Correct types for interaction chaining in graphql (5043cc0)
- Remove deprecated ability to provide options to Vverifier outside the constructor. Temporarily disable nestjs example accordingly (a7a3c0e)
- package-name: Use the new name (pact-core) for pact-node (a42fee2)
- pact-web-types: Fix issue where typescript types were not exposed in pact-web (d529082)
- typescript: accept string array as query value (69f74ba)
9.15.2 (2021-02-28)​
Fixes and Improvements​
<<<<<<< HEAD
- pact-node: bump dependency on pact-node (a200414)
9.15.1 (2021-02-23)​
- Bump pact-node version to get vulnerability fixes (bc0e7f0)
9.15.3 (2021-03-10)​
<<<<<<< HEAD
- package.json & package-lock.json to reduce vulnerabilities (aa8036c)
9.15.0 (2021-02-02)​
Features​
- provider-states: Add beforeEach and afterEach hooks to provider verification (#529) - Fixes #526 (8147042)
9.14.2 (2021-01-28)​
Fixes and Improvements​
- pact-node: Bump dependency on pact-node to avoid regression in query string matching (9c733ce)
- pact-node: bump dependency on pact-node to get verbose logging in verification #583 (66e9dca)
9.14.1 (2021-01-27)​
Fixes and Improvements​
- set permissions for Ruby binaries on GH Actions (8881ee7)
- set permissions for Ruby binaries on GH Actions (5701c0f)
- logger: lowercase log level (8388776)
- logger: replace bunyan with pino (fe6dd30)
- pact-node: bump dependency on pact-node to get verbose logging in verification #583 (8b26262)
10.0.0-beta.33 (2021-03-03)​
Fixes and Improvements​
- use example in datetime matcher instead of generator if provided. Fixes #620 (c0ca78b)
- pact-node: Bump dependency on pact-node (812e09e)
10.0.0-beta.32 (2021-02-23)​
Features​
- add experimental 'allow missing' behind env var PACT_EXPERIMENTAL_FEATURE_ALLOW_MISSING_REQUESTS (2d3a1fe)
10.0.0-beta.31 (2021-02-10)​
=======
- pact-web-types: Fix issue where typescript types were not exposed in pact-web (d529082)
9.15.2 (2021-02-28)​
Fixes and Improvements​
- improve file locking behaviour (0f73466)
10.0.0-beta.30 (2021-02-08)​
Features​
Fixes and Improvements​
- make the callback timeout configurable with a 5 sec default (a0f0876)
10.0.0-beta.29 (2021-01-29)​
Fixes and Improvements​
- added export to V3 matcher interfaces (8d11c1a)
- don't strigify response that is already a string (a867147)
10.0.0-beta.26 (2021-01-27)​
Features​
- add uuid matcher function (49c3da8)
Fixes and Improvements​
- don't JSON.stringify body if its already a string (6d44059)
- increase provider test timeout (f850859)
- local pact URL (1fd5fe4)
- publish V3 was not kicking off the native libs release process (23bd533)
- use correct id in consumer test (3d7e9c0)
10.0.0-beta.25 (2021-01-12)​
Fixes and Improvements​
- change the release trigger for native libs (3f1bbfa)
- URLs were not being generated correctly when used with an array contains matcher (4fccb8d)
10.0.0-beta.24 (2021-01-12)​
Fixes and Improvements​
- exclude openssl from native build for musl versions (3db75af)
- exclude the native lib from the NPM package (208e750)
- exclude the native lib from the NPM package (69a6e5b)
10.0.0-beta.23 (2021-01-11)​
Features​
- initial pacts for verification integration (6428bbe)
- support for matchers on headers (aa3d55e)
- Update URL matching functions to support mock server URL generation (2733af9)
Fixes and Improvements​
- correct V3 matcher spec (6b6ac6c)
10.0.0-beta.22 (2020-11-17)​
Features​
- add example consumer test with provider state injected values #516 (190f332)
- added consumer for provider state injected example (bdc333c)
- got provider state injected values working with provider test #516 (5fdf7eb)
- implemented matching query parameters and provider state injected values (in consumer DSL) #516 (f798c13)
Fixes and Improvements​
10.0.0-beta.21 (2020-10-30)​
Fixes and Improvements​
- improve the test error to include the original stack trace (c14cb97)
- update to latest mock server crate, fixes #520 (21774de)
10.0.0-beta.20 (2020-10-29)​
Fixes and Improvements​
- can not use matrix expressions in uses: with GH actions (d6942a4)
- support any values for provider state parameters (df4df0b)
- update the MUSL docker container for use with GH actions (5647032)
10.0.0-beta.19 (2020-10-19)​
10.0.0-beta.18 (2020-10-16)​
Features​
- add support for array contains matcher (57bcc79)
Fixes and Improvements​
10.0.0-beta.17 (2020-10-12)​
Features​
- improve the error messages for a failed test (f01b57e)
Fixes and Improvements​
10.0.0-beta.16 (2020-09-28)​
Features​
- add flag to enable handling CORS pre-flight requests (0adb3fc)
Fixes and Improvements​
- correct Rust code after upgrade to upstream libs (aa6d803)
- need .mocharc.json after merge from master (2525bf6)
- package.json after merge from master (aef422b)
10.0.0-beta.15 (2020-08-05)​
Fixes and Improvements​
- correct matcher paths for text nodes in XML (a217793)
10.0.0-beta.14 (2020-08-04)​
Fixes and Improvements​
10.0.0-beta.13 (2020-06-27)​
Features​
- add some tests around the conusmer DSL matchers (e6a153f)
- handle XML matching with different types of child elements (2143ca4)
- implemented consumer DSL URL matcher (f27a444)
Fixes and Improvements​
10.0.0-beta.12 (2020-06-12)​
10.0.0-beta.11 (2020-06-12)​
10.0.0-beta.10 (2020-06-12)​
10.0.0-beta.9 (2020-06-11)​
10.0.0-beta.8 (2020-06-11)​
10.0.0-beta.7 (2020-06-11)​
10.0.0-beta.6 (2020-06-11)​
Features​
10.0.0-beta.5 (2020-05-27)​
Features​
- support MIME multipart form posts with binary files (d72a210)
- support regex matcher with a regexp object (d92f6f5)
- support text nodes configured from XML builder (a2a7f55)
- support using matchers on XML text nodes (b3b5e62)
Fixes and Improvements​
- correct the version of the pact_mock_server crate (a17f2bb)
- date/time matchers were being skipped due to defect in upstream matching lib (dcc3a7f)
- travis matrix was doubled up (fe08a70)
- travis was not running the E2E tests after merge from master (73257dc)
10.0.0-beta.4 (2020-05-20)​
Features​
- add support for binary payloads (658ffa0)
Fixes and Improvements​
- accidentially commited development paths in cargo manefest (03cc16f)
- format the error messages in a better way (0a15772)
- handle error when pact file cannot be written (82832a8)
- throw an exception when a request is configured but no interaction defined (b317da7)
- throw an exception when a response is configured but no interaction defined (6feacbe)
10.0.0-beta.3 (2020-04-08)​
Fixes and Improvements​
- correct invalid logger import (5d4ba5b)
- don't bundle the native lib in the NPM package (24f43f3)
- guard against panics in background thread (b35aecd)
- integer, decimal and number parameters are optional (69f3983)
- throw a JS error if there are no pacts to verify (3bfd9da)
- try get the cause of any Rust panic (f1f3d4a)
- typo (5d8dd37)
- update pact matching crate to 0.5.10 to fix invalid path matcher format (ecce929)
10.0.0-beta.2 (2020-03-18)​
Fixes and Improvements​
- correct the path to the native lib in the NPM package (300d915)
10.0.0-beta.1 (2020-03-17)​
Features​
- got E2E consumer test passing (904ed0b)
- got request filters working. Yay! (de16880)
- got the example V3 test working (9ab43cc)
- handle the parameters and results from provider state callbacks #372 (d3f73e5)
- implement provider state parameters in consumer tests #372 (af8bf32)
- implemented provider state callbacks with parameters #372 (50e4e61)
- Introduce an authenticated state #372 (debebd7)
Fixes and Improvements​
- changes needed for the E2E consumer test (6022f8b)
- correct the paths for the attribute matchers (7629c92)
- correct the v3-todo example tests (de205c7)
- datetime matchers now generate a value if one is not given (a910840)
- fucking lint (cdb72db)
- Gah! Lint Nazis (79082fd)
- got eachlike with number of examples working (88c9a72)
- lint (772224d)
- lint (9717b47)
- neon build should point to native directory (fdea3eb)
- neon build should point to native directory (16957a2)
- neon requires a C++ compiler (bb8731f)
- removed node 6 and 7 because ancient (2b45cfc)
- rustup: Unable to run interactively. Run with -y to accept defaults (abfa9c9)
- travis build needs the Rust source in dist (e64402e)
- travis build needs the Rust source in dist (519fee5)
- use 0.5.6 of matching lib to avoid dup rules (d30d7b9)
10.0.0-beta.23 (2021-01-05)​
Features​
- initial pacts for verification integration (6428bbe)
- support for matchers on headers (aa3d55e)
- Update URL matching functions to support mock server URL generation (2733af9)
9.14.0 (2021-01-09)​
Features​
- add request/response tracing (37c3dc3)
Fixes and Improvements​
- logger: Message consumers now respect the specified log level (98e601c)
- pact-web: Pact-web is now built using webpack 4. Please let us know if there are any issues (27fd1b5)
9.13.2 (2021-01-04)​
Bug Fixes​
10.0.0-beta.22 (2020-11-17)​
Features​
- add example consumer test with provider state injected values #516 (190f332)
- added consumer for provider state injected example (bdc333c)
- got provider state injected values working with provider test #516 (5fdf7eb)
- implemented matching query parameters and provider state injected values (in consumer DSL) #516 (f798c13)
Bug Fixes​
10.0.0-beta.21 (2020-10-30)​
Bug Fixes​
- improve the test error to include the original stack trace (c14cb97)
- update to latest mock server crate, fixes #520 (21774de)
10.0.0-beta.20 (2020-10-29)​
Bug Fixes​
- can not use matrix expressions in uses: with GH actions (d6942a4)
- support any values for provider state parameters (df4df0b)
- update the MUSL docker container for use with GH actions (5647032)
10.0.0-beta.19 (2020-10-19)​
10.0.0-beta.18 (2020-10-16)​
Features​
- add support for array contains matcher (57bcc79)
Bug Fixes​
10.0.0-beta.17 (2020-10-12)​
Features​
- improve the error messages for a failed test (f01b57e)
Bug Fixes​
10.0.0-beta.16 (2020-09-28)​
Features​
- add flag to enable handling CORS pre-flight requests (0adb3fc)
Bug Fixes​
- correct Rust code after upgrade to upstream libs (aa6d803)
- need .mocharc.json after merge from master (2525bf6)
- package.json after merge from master (aef422b)
10.0.0-beta.15 (2020-08-05)​
Bug Fixes​
- correct matcher paths for text nodes in XML (a217793)
10.0.0-beta.14 (2020-08-04)​
Bug Fixes​
10.0.0-beta.13 (2020-06-27)​
Features​
- add some tests around the conusmer DSL matchers (e6a153f)
- handle XML matching with different types of child elements (2143ca4)
- implemented consumer DSL URL matcher (f27a444)
Bug Fixes​
10.0.0-beta.12 (2020-06-12)​
10.0.0-beta.11 (2020-06-12)​
10.0.0-beta.10 (2020-06-12)​
10.0.0-beta.9 (2020-06-11)​
10.0.0-beta.8 (2020-06-11)​
10.0.0-beta.7 (2020-06-11)​
10.0.0-beta.6 (2020-06-11)​
Features​
10.0.0-beta.5 (2020-05-27)​
Features​
- support MIME multipart form posts with binary files (d72a210)
- support regex matcher with a regexp object (d92f6f5)
- support text nodes configured from XML builder (a2a7f55)
- support using matchers on XML text nodes (b3b5e62)
Bug Fixes​
- correct the version of the pact_mock_server crate (a17f2bb)
- date/time matchers were being skipped due to defect in upstream matching lib (dcc3a7f)
- travis matrix was doubled up (fe08a70)
- travis was not running the E2E tests after merge from master (73257dc)
10.0.0-beta.4 (2020-05-20)​
Features​
- add support for binary payloads (658ffa0)
Bug Fixes​
- accidentially commited development paths in cargo manefest (03cc16f)
- format the error messages in a better way (0a15772)
- handle error when pact file cannot be written (82832a8)
- throw an exception when a request is configured but no interaction defined (b317da7)
- throw an exception when a response is configured but no interaction defined (6feacbe)
10.0.0-beta.3 (2020-04-08)​
Bug Fixes​
- correct invalid logger import (5d4ba5b)
- don't bundle the native lib in the NPM package (24f43f3)
- guard against panics in background thread (b35aecd)
- integer, decimal and number parameters are optional (69f3983)
- throw a JS error if there are no pacts to verify (3bfd9da)
- try get the cause of any Rust panic (f1f3d4a)
- typo (5d8dd37)
- update pact matching crate to 0.5.10 to fix invalid path matcher format (ecce929)
10.0.0-beta.2 (2020-03-18)​
Bug Fixes​
- correct the path to the native lib in the NPM package (300d915)
10.0.0-beta.1 (2020-03-17)​
Features​
- got E2E consumer test passing (904ed0b)
- got request filters working. Yay! (de16880)
- got the example V3 test working (9ab43cc)
- handle the parameters and results from provider state callbacks #372 (d3f73e5)
- implement provider state parameters in consumer tests #372 (af8bf32)
- implemented provider state callbacks with parameters #372 (50e4e61)
- Introduce an authenticated state #372 (debebd7)
Bug Fixes​
- changes needed for the E2E consumer test (6022f8b)
- correct the paths for the attribute matchers (7629c92)
- correct the v3-todo example tests (de205c7)
- datetime matchers now generate a value if one is not given (a910840)
- fucking lint (cdb72db)
- Gah! Lint Nazis (79082fd)
- got eachlike with number of examples working (88c9a72)
- lint (772224d)
- lint (9717b47)
- neon build should point to native directory (fdea3eb)
- neon build should point to native directory (16957a2)
- neon requires a C++ compiler (bb8731f)
- removed node 6 and 7 because ancient (2b45cfc)
- rustup: Unable to run interactively. Run with -y to accept defaults (abfa9c9)
- travis build needs the Rust source in dist (e64402e)
- travis build needs the Rust source in dist (519fee5)
- use 0.5.6 of matching lib to avoid dup rules (d30d7b9)
10.0.0-beta.22 (2020-11-17)​
Features​
- add example consumer test with provider state injected values #516 (190f332)
- added consumer for provider state injected example (bdc333c)
- got provider state injected values working with provider test #516 (5fdf7eb)
- implemented matching query parameters and provider state injected values (in consumer DSL) #516 (f798c13)
Bug Fixes​
10.0.0-beta.21 (2020-10-30)​
Bug Fixes​
- improve the test error to include the original stack trace (c14cb97)
- update to latest mock server crate, fixes #520 (21774de)
10.0.0-beta.20 (2020-10-28)​
Bug Fixes​
- support any values for provider state parameters (df4df0b)
10.0.0-beta.19 (2020-10-19)​
10.0.0-beta.18 (2020-10-16)​
Features​
- add support for array contains matcher (57bcc79)
Bug Fixes​
10.0.0-beta.17 (2020-10-12)​
Features​
- improve the error messages for a failed test (f01b57e)
Bug Fixes​
10.0.0-beta.16 (2020-09-28)​
Features​
- add flag to enable handling CORS pre-flight requests (0adb3fc)
Bug Fixes​
- correct Rust code after upgrade to upstream libs (aa6d803)
- need .mocharc.json after merge from master (2525bf6)
- package.json after merge from master (aef422b)
10.0.0-beta.15 (2020-08-05)​
Bug Fixes​
- correct matcher paths for text nodes in XML (a217793)
10.0.0-beta.14 (2020-08-04)​
Bug Fixes​
10.0.0-beta.13 (2020-06-27)​
Features​
- add some tests around the conusmer DSL matchers (e6a153f)
- handle XML matching with different types of child elements (2143ca4)
- implemented consumer DSL URL matcher (f27a444)
Bug Fixes​
10.0.0-beta.12 (2020-06-12)​
10.0.0-beta.11 (2020-06-12)​
10.0.0-beta.10 (2020-06-12)​
10.0.0-beta.9 (2020-06-11)​
10.0.0-beta.8 (2020-06-11)​
10.0.0-beta.7 (2020-06-11)​
10.0.0-beta.6 (2020-06-11)​
Features​
10.0.0-beta.5 (2020-05-27)​
Features​
- support MIME multipart form posts with binary files (d72a210)
- support regex matcher with a regexp object (d92f6f5)
- support text nodes configured from XML builder (a2a7f55)
- support using matchers on XML text nodes (b3b5e62)
Bug Fixes​
- correct the version of the pact_mock_server crate (a17f2bb)
- date/time matchers were being skipped due to defect in upstream matching lib (dcc3a7f)
- travis matrix was doubled up (fe08a70)
- travis was not running the E2E tests after merge from master (73257dc)
10.0.0-beta.4 (2020-05-20)​
Features​
- add support for binary payloads (658ffa0)
Bug Fixes​
- accidentially commited development paths in cargo manefest (03cc16f)
- format the error messages in a better way (0a15772)
- handle error when pact file cannot be written (82832a8)
- throw an exception when a request is configured but no interaction defined (b317da7)
- throw an exception when a response is configured but no interaction defined (6feacbe)
10.0.0-beta.3 (2020-04-08)​
Bug Fixes​
- correct invalid logger import (5d4ba5b)
- don't bundle the native lib in the NPM package (24f43f3)
- guard against panics in background thread (b35aecd)
- integer, decimal and number parameters are optional (69f3983)
- throw a JS error if there are no pacts to verify (3bfd9da)
- try get the cause of any Rust panic (f1f3d4a)
- typo (5d8dd37)
- update pact matching crate to 0.5.10 to fix invalid path matcher format (ecce929)
10.0.0-beta.2 (2020-03-18)​
Bug Fixes​
- correct the path to the native lib in the NPM package (300d915)
10.0.0-beta.1 (2020-03-17)​
Features​
- got E2E consumer test passing (904ed0b)
- got request filters working. Yay! (de16880)
- got the example V3 test working (9ab43cc)
- handle the parameters and results from provider state callbacks #372 (d3f73e5)
- implement provider state parameters in consumer tests #372 (af8bf32)
- implemented provider state callbacks with parameters #372 (50e4e61)
- Introduce an authenticated state #372 (debebd7)
Bug Fixes​
- changes needed for the E2E consumer test (6022f8b)
- correct the paths for the attribute matchers (7629c92)
- correct the v3-todo example tests (de205c7)
- datetime matchers now generate a value if one is not given (a910840)
- fucking lint (cdb72db)
- Gah! Lint Nazis (79082fd)
- got eachlike with number of examples working (88c9a72)
- lint (772224d)
- lint (9717b47)
- neon build should point to native directory (fdea3eb)
- neon build should point to native directory (16957a2)
- neon requires a C++ compiler (bb8731f)
- removed node 6 and 7 because ancient (2b45cfc)
- rustup: Unable to run interactively. Run with -y to accept defaults (abfa9c9)
- travis build needs the Rust source in dist (e64402e)
- travis build needs the Rust source in dist (519fee5)
- use 0.5.6 of matching lib to avoid dup rules (d30d7b9)
10.0.0-beta.19 (2020-10-19)​
10.0.0-beta.18 (2020-10-16)​
Features​
- add support for array contains matcher (57bcc79)
Bug Fixes​
10.0.0-beta.17 (2020-10-12)​
Features​
- improve the error messages for a failed test (f01b57e)
- web: Use latest can-i-use database when producing distribution (cae3ea2)
- small errors (076549e)
9.13.1 (2020-12-11)​
Bug Fixes​
10.0.0-beta.16 (2020-09-28)​
- Expect at least one millisecond digit in iso8601DateTimeWithMillis (4f48823)
9.13.0 (2020-10-23)​
Features​
- add flag to enable handling CORS pre-flight requests (0adb3fc)
Bug Fixes​
- correct Rust code after upgrade to upstream libs (aa6d803)
- need .mocharc.json after merge from master (2525bf6)
- package.json after merge from master (aef422b)
10.0.0-beta.15 (2020-08-05)​
Bug Fixes​
- correct matcher paths for text nodes in XML (a217793)
10.0.0-beta.14 (2020-08-04)​
Bug Fixes​
10.0.0-beta.13 (2020-06-27)​
Features​
- add some tests around the conusmer DSL matchers (e6a153f)
- handle XML matching with different types of child elements (2143ca4)
- implemented consumer DSL URL matcher (f27a444)
Bug Fixes​
10.0.0-beta.12 (2020-06-12)​
10.0.0-beta.11 (2020-06-12)​
10.0.0-beta.10 (2020-06-12)​
10.0.0-beta.9 (2020-06-11)​
10.0.0-beta.8 (2020-06-11)​
10.0.0-beta.7 (2020-06-11)​
10.0.0-beta.6 (2020-06-11)​
Features​
10.0.0-beta.5 (2020-05-27)​
Features​
- support MIME multipart form posts with binary files (d72a210)
- support regex matcher with a regexp object (d92f6f5)
- support text nodes configured from XML builder (a2a7f55)
- support using matchers on XML text nodes (b3b5e62)
Bug Fixes​
- correct the version of the pact_mock_server crate (a17f2bb)
- date/time matchers were being skipped due to defect in upstream matching lib (dcc3a7f)
- travis matrix was doubled up (fe08a70)
- travis was not running the E2E tests after merge from master (73257dc)
10.0.0-beta.4 (2020-05-20)​
Features​
- add support for binary payloads (658ffa0)
Bug Fixes​
- accidentially commited development paths in cargo manefest (03cc16f)
- format the error messages in a better way (0a15772)
- handle error when pact file cannot be written (82832a8)
- throw an exception when a request is configured but no interaction defined (b317da7)
- throw an exception when a response is configured but no interaction defined (6feacbe)
10.0.0-beta.3 (2020-04-08)​
Bug Fixes​
- correct invalid logger import (5d4ba5b)
- don't bundle the native lib in the NPM package (24f43f3)
- guard against panics in background thread (b35aecd)
- integer, decimal and number parameters are optional (69f3983)
- throw a JS error if there are no pacts to verify (3bfd9da)
- try get the cause of any Rust panic (f1f3d4a)
- typo (5d8dd37)
- update pact matching crate to 0.5.10 to fix invalid path matcher format (ecce929)
10.0.0-beta.2 (2020-03-18)​
Bug Fixes​
- correct the path to the native lib in the NPM package (300d915)
10.0.0-beta.1 (2020-03-17)​
Features​
- got E2E consumer test passing (904ed0b)
- got request filters working. Yay! (de16880)
- got the example V3 test working (9ab43cc)
- handle the parameters and results from provider state callbacks #372 (d3f73e5)
- implement provider state parameters in consumer tests #372 (af8bf32)
- implemented provider state callbacks with parameters #372 (50e4e61)
- Introduce an authenticated state #372 (debebd7)
Bug Fixes​
- changes needed for the E2E consumer test (6022f8b)
- correct the paths for the attribute matchers (7629c92)
- correct the v3-todo example tests (de205c7)
- datetime matchers now generate a value if one is not given (a910840)
- fucking lint (cdb72db)
- Gah! Lint Nazis (79082fd)
- got eachlike with number of examples working (88c9a72)
- lint (772224d)
- lint (9717b47)
- neon build should point to native directory (fdea3eb)
- neon build should point to native directory (16957a2)
- neon requires a C++ compiler (bb8731f)
- removed node 6 and 7 because ancient (2b45cfc)
- rustup: Unable to run interactively. Run with -y to accept defaults (abfa9c9)
- travis build needs the Rust source in dist (e64402e)
- travis build needs the Rust source in dist (519fee5)
- use 0.5.6 of matching lib to avoid dup rules (d30d7b9)
10.0.0-beta.16 (2020-09-28)​
Features​
- add flag to enable handling CORS pre-flight requests (0adb3fc)
Bug Fixes​
- correct Rust code after upgrade to upstream libs (aa6d803)
- need .mocharc.json after merge from master (2525bf6)
- package.json after merge from master (aef422b)
10.0.0-beta.15 (2020-08-05)​
Bug Fixes​
- correct matcher paths for text nodes in XML (a217793)
10.0.0-beta.14 (2020-08-04)​
Bug Fixes​
- add some tests around the conusmer DSL matchers (e6a153f)
- handle XML matching with different types of child elements (2143ca4)
- implemented consumer DSL URL matcher (f27a444)
Bug Fixes​
10.0.0-beta.12 (2020-06-12)​
10.0.0-beta.11 (2020-06-12)​
10.0.0-beta.10 (2020-06-12)​
10.0.0-beta.9 (2020-06-11)​
10.0.0-beta.8 (2020-06-11)​
10.0.0-beta.7 (2020-06-11)​
10.0.0-beta.6 (2020-06-11)​
Features​
10.0.0-beta.5 (2020-05-27)​
Features​
support MIME multipart form posts with binary files (d72a210)
support regex matcher with a regexp object (d92f6f5)
support text nodes configured from XML builder (a2a7f55)
support using matchers on XML text nodes (b3b5e62)
allow WebDav REPORT request (2928613)
9.12.2 (2020-10-06)​
Bug Fixes​
- types: Export LogLevel, PactOptions and MessageProviderOptions at the root of @pact-foundation/pact (a6b50d3)
9.12.1 (2020-09-24)​
Bug Fixes​
9.12.0 (2020-09-21)​
Features​
- support MIME multipart form posts with binary files (d72a210)
- support regex matcher with a regexp object (d92f6f5)
- support text nodes configured from XML builder (a2a7f55)
- support using matchers on XML text nodes (b3b5e62)
- allow also WebDAV HTTP Requests (2ac811d)
Bug Fixes​
- correct the version of the pact_mock_server crate (a17f2bb)
- date/time matchers were being skipped due to defect in upstream matching lib (dcc3a7f)
- travis matrix was doubled up (fe08a70)
- travis was not running the E2E tests after merge from master (73257dc)
10.0.0-beta.4 (2020-05-20)​
Features​
- add support for binary payloads (658ffa0)
Bug Fixes​
- accidentially commited development paths in cargo manefest (03cc16f)
- format the error messages in a better way (0a15772)
- handle error when pact file cannot be written (82832a8)
- throw an exception when a request is configured but no interaction defined (b317da7)
- throw an exception when a response is configured but no interaction defined (6feacbe)
10.0.0-beta.3 (2020-04-08)​
Bug Fixes​
- correct invalid logger import (5d4ba5b)
- don't bundle the native lib in the NPM package (24f43f3)
- guard against panics in background thread (b35aecd)
- integer, decimal and number parameters are optional (69f3983)
- throw a JS error if there are no pacts to verify (3bfd9da)
- try get the cause of any Rust panic (f1f3d4a)
- typo (5d8dd37)
- update pact matching crate to 0.5.10 to fix invalid path matcher format (ecce929)
10.0.0-beta.2 (2020-03-18)​
Bug Fixes​
- correct the path to the native lib in the NPM package (300d915)
10.0.0-beta.1 (2020-03-17)​
Features​
- got E2E consumer test passing (904ed0b)
- got request filters working. Yay! (de16880)
- got the example V3 test working (9ab43cc)
- handle the parameters and results from provider state callbacks #372 (d3f73e5)
- implement provider state parameters in consumer tests #372 (af8bf32)
- implemented provider state callbacks with parameters #372 (50e4e61)
- Introduce an authenticated state #372 (debebd7)
Bug Fixes​
- changes needed for the E2E consumer test (6022f8b)
- correct the paths for the attribute matchers (7629c92)
- correct the v3-todo example tests (de205c7)
- datetime matchers now generate a value if one is not given (a910840)
- fucking lint (cdb72db)
- Gah! Lint Nazis (79082fd)
- got eachlike with number of examples working (88c9a72)
- lint (772224d)
- lint (9717b47)
- neon build should point to native directory (fdea3eb)
- neon build should point to native directory (16957a2)
- neon requires a C++ compiler (bb8731f)
- removed node 6 and 7 because ancient (2b45cfc)
- rustup: Unable to run interactively. Run with -y to accept defaults (abfa9c9)
- travis build needs the Rust source in dist (e64402e)
- travis build needs the Rust source in dist (519fee5)
- use 0.5.6 of matching lib to avoid dup rules (d30d7b9)
10.0.0-beta.13 (2020-06-27)​
Features​
- add some tests around the conusmer DSL matchers (e6a153f)
- handle XML matching with different types of child elements (2143ca4)
- implemented consumer DSL URL matcher (f27a444)
- package.json & package-lock.json to reduce vulnerabilities (0bb8512)
- pact-node: Bump version of pact-node to pick up improved logging options (1e09e1e)
9.11.1 (2020-07-18)​
Bug Fixes​
- after upgrading crates (9a5a36d)
- import for metadata was wrong (ba2a975)
- lint (78b4692)
- deps: Update vulnerable dependencies (2b2ce6e)
9.11.0 (2020-05-20)​
Bug Fixes​
- dsl: Fix extractPayload so that it passes through object properties that are not matchers (fixes #454) (c0f3d37)
10.0.0-beta.12 (2020-06-12)​
10.0.0-beta.11 (2020-06-12)​
10.0.0-beta.10 (2020-06-12)​
10.0.0-beta.9 (2020-06-11)​
10.0.0-beta.8 (2020-06-11)​
10.0.0-beta.7 (2020-06-11)​
10.0.0-beta.6 (2020-06-11)​
Features​
10.0.0-beta.5 (2020-05-27)​
- deps: Bump lodash dependency version to obtain security fix (c035482)
- package.json & package-lock.json to reduce vulnerabilities (f147ad2)
- package.json & package-lock.json to reduce vulnerabilities (c620dc1)
- deps: Update vulnerable dependencies (2b2ce6e)
9.11.0 (2020-05-20)​
Features​
- support MIME multipart form posts with binary files (d72a210)
- support regex matcher with a regexp object (d92f6f5)
- support text nodes configured from XML builder (a2a7f55)
- support using matchers on XML text nodes (b3b5e62)
Bug Fixes​
- correct the version of the pact_mock_server crate (a17f2bb)
- date/time matchers were being skipped due to defect in upstream matching lib (dcc3a7f)
- travis matrix was doubled up (fe08a70)
- travis was not running the E2E tests after merge from master (73257dc)
10.0.0-beta.4 (2020-05-20)​
Features​
- add support for binary payloads (658ffa0)
- error thrown when query not string (c3ff00f)
- support array as query param (d140d0c)
- support arrays (57288ff)
- validate object values are strings (3863527)
Bug Fixes​
- accidentially commited development paths in cargo manefest (03cc16f)
- comments and accidental package (efe2f4e)
- dir file location error (86ab843)
- format the error messages in a better way (0a15772)
- handle error when pact file cannot be written (82832a8)
- package.json & package-lock.json to reduce vulnerabilities (69d97e0)
- package.json & package-lock.json to reduce vulnerabilities (2184a5d)
- throw an exception when a request is configured but no interaction defined (b317da7)
- throw an exception when a response is configured but no interaction defined (6feacbe)
10.0.0-beta.3 (2020-04-08)​
Bug Fixes​
- correct invalid logger import (5d4ba5b)
- don't bundle the native lib in the NPM package (24f43f3)
- guard against panics in background thread (b35aecd)
- integer, decimal and number parameters are optional (69f3983)
- throw a JS error if there are no pacts to verify (3bfd9da)
- try get the cause of any Rust panic (f1f3d4a)
- typo (5d8dd37)
- update pact matching crate to 0.5.10 to fix invalid path matcher format (ecce929)
10.0.0-beta.2 (2020-03-18)​
Bug Fixes​
- correct the path to the native lib in the NPM package (300d915)
10.0.0-beta.1 (2020-03-17)​
Features​
- got E2E consumer test passing (904ed0b)
- got request filters working. Yay! (de16880)
- got the example V3 test working (9ab43cc)
- handle the parameters and results from provider state callbacks #372 (d3f73e5)
- implement provider state parameters in consumer tests #372 (af8bf32)
- implemented provider state callbacks with parameters #372 (50e4e61)
- Introduce an authenticated state #372 (debebd7)
Bug Fixes​
- changes needed for the E2E consumer test (6022f8b)
- correct the paths for the attribute matchers (7629c92)
- correct the v3-todo example tests (de205c7)
- datetime matchers now generate a value if one is not given (a910840)
- fucking lint (cdb72db)
- Gah! Lint Nazis (79082fd)
- got eachlike with number of examples working (88c9a72)
- lint (772224d)
- lint (9717b47)
- neon build should point to native directory (fdea3eb)
- neon build should point to native directory (16957a2)
- neon requires a C++ compiler (bb8731f)
- removed node 6 and 7 because ancient (2b45cfc)
- rustup: Unable to run interactively. Run with -y to accept defaults (abfa9c9)
- travis build needs the Rust source in dist (e64402e)
- travis build needs the Rust source in dist (519fee5)
- use 0.5.6 of matching lib to avoid dup rules (d30d7b9)
10.0.0-beta.3 (2020-04-07)​
Bug Fixes​
- update pact matching crate to 0.5.10 to fix invalid path matcher format (ecce929)
- build: travis formatting (41afa50)
- correct invalid logger import (5d4ba5b)
- don't bundle the native lib in the NPM package (24f43f3)
- guard against panics in background thread (b35aecd)
- integer, decimal and number parameters are optional (69f3983)
- throw a JS error if there are no pacts to verify (3bfd9da)
- try get the cause of any Rust panic (f1f3d4a)
- typo (5d8dd37)
10.0.0-beta.2 (2020-03-18)​
- dsl: Fix extractPayload so that it passes through object properties that are not matchers (fixes #454) (c0f3d37)
- package.json & package-lock.json to reduce vulnerabilities (69d97e0)
- package.json & package-lock.json to reduce vulnerabilities (2184a5d)
9.10.0 (2020-04-24)​
Features​
- remove need for pact-node in almost all uses, including examples (4e22828)
- update PactWeb and MessageProviderPact interface (b82976f)
9.9.12 (2020-04-19)​
9.9.11 (2020-04-19)​
9.9.10 (2020-04-19)​
9.9.9 (2020-04-19)​
9.9.8 (2020-04-19)​
9.9.7 (2020-04-19)​
9.9.6 (2020-04-19)​
9.9.5 (2020-04-16)​
9.9.4 (2020-04-16)​
9.9.3 (2020-04-10)​
Bug Fixes​
- correct the path to the native lib in the NPM package (300d915)
10.0.0-beta.1 (2020-03-17)​
Features​
- got E2E consumer test passing (904ed0b)
- got request filters working. Yay! (de16880)
- got the example V3 test working (9ab43cc)
- handle the parameters and results from provider state callbacks #372 (d3f73e5)
- implement provider state parameters in consumer tests #372 (af8bf32)
- implemented provider state callbacks with parameters #372 (50e4e61)
- Introduce an authenticated state #372 (debebd7)
- build: travis formatting (41afa50)
- pact-node: Bump dependency on pact-node to get support for wip pacts (5e165fb)
9.9.3 (2020-04-10)​
Bug Fixes​
- build: travis formatting (41afa50)
- pact-node: Bump dependency on pact-node to get support for wip pacts (5e165fb)
9.9.3 (2020-04-10)​
Bug Fixes​
- changes needed for the E2E consumer test (6022f8b)
- correct the paths for the attribute matchers (7629c92)
- correct the v3-todo example tests (de205c7)
- datetime matchers now generate a value if one is not given (a910840)
- fucking lint (cdb72db)
- Gah! Lint Nazis (79082fd)
- got eachlike with number of examples working (88c9a72)
- lint (772224d)
- lint (9717b47)
- neon build should point to native directory (fdea3eb)
- neon build should point to native directory (16957a2)
- neon requires a C++ compiler (bb8731f)
- removed node 6 and 7 because ancient (2b45cfc)
- rustup: Unable to run interactively. Run with -y to accept defaults (abfa9c9)
- travis build needs the Rust source in dist (e64402e)
- travis build needs the Rust source in dist (519fee5)
- use 0.5.6 of matching lib to avoid dup rules (d30d7b9)
- build: travis formatting (41afa50)
- pact-node: Bump dependency on pact-node to get support for wip pacts (5e165fb)
9.9.2 (2020-03-30)​
9.9.1 (2020-03-30)​
9.9.0 (2020-03-26)​
Features​
- support pending pacts and version selectors (51aacc3)
Bug Fixes​
- deps: Update vulnerable dependencies (cae591e)
- pact-node: Bump pact-node to ^10.7.0, bringing a couple of fixes useful for debugging (25ecd71)
9.8.2 (2020-03-20)​
10.0.0-beta.2 (2020-03-18)​
Bug Fixes​
- correct the path to the native lib in the NPM package (300d915)
10.0.0-beta.1 (2020-03-17)​
Features​
- got E2E consumer test passing (904ed0b)
- got request filters working. Yay! (de16880)
- got the example V3 test working (9ab43cc)
- handle the parameters and results from provider state callbacks #372 (d3f73e5)
- implement provider state parameters in consumer tests #372 (af8bf32)
- implemented provider state callbacks with parameters #372 (50e4e61)
- Introduce an authenticated state #372 (debebd7)
Bug Fixes​
- changes needed for the E2E consumer test (6022f8b)
- correct the paths for the attribute matchers (7629c92)
- correct the v3-todo example tests (de205c7)
- datetime matchers now generate a value if one is not given (a910840)
- fucking lint (cdb72db)
- Gah! Lint Nazis (79082fd)
- got eachlike with number of examples working (88c9a72)
- lint (772224d)
- lint (9717b47)
- neon build should point to native directory (fdea3eb)
- neon build should point to native directory (16957a2)
- neon requires a C++ compiler (bb8731f)
- removed node 6 and 7 because ancient (2b45cfc)
- rustup: Unable to run interactively. Run with -y to accept defaults (abfa9c9)
- travis build needs the Rust source in dist (e64402e)
- travis build needs the Rust source in dist (519fee5)
- use 0.5.6 of matching lib to avoid dup rules (d30d7b9)
9.8.1 (2020-03-16)​
Bug Fixes​
9.8.0 (2020-03-02)​
Features​
9.7.0 (2020-02-17)​
Features​
- upgrade Pact Node to 10.3.1 (4503b32)
9.6.1 (2020-01-23)​
Bug Fixes​
- dependencies: Move bunyan-prettystream to a dependency instead of a dev dependency (805ed11)
Features​
# [9.5.0](https://github.com/pact-foundation/pact-js/compare/v9.4.0...v9.5.0) (2019-11-10)Features​
- update pact-node to ^10.2.1 (100914f)
Features​
- update pact-node to ^10.2.0 (c96cc89)
Features​
- update pact-node to ^10.2.0 (f64cf69)
Bug Fixes​
- deps: Update vulnerable dependencies (f5d798a)
Bug Fixes​
- deps: Upgrade vulnerable dependencies and correct peer dependencies (#388) (4a19161)
- examples: Set jasmine timeout in Jest example, preventing brittle tests (fixes #383) (#386) (5f76433)
- net: stop port check from failing due to ipv6 unavailability (#381) (#389) (9ae53c2)
Bug Fixes​
- deps: Update pact-node to ^10.0.1 (844870d)
Bug Fixes​
- examples: correct karma/jasmine example to use jasmine instead of mocha (#365) (96a0758)
- MessageProvider: Shut down test environment even if message provider throws an error (#366) (3d66117)
- upgrade vulnerable dependencies (2380b75)
Features​
- Automatically set
changeOrigin: true
for non-local verifications (#319) (60f2dc3), closes #280 #281 #282 - grahpql: allow operation to have null (88acdc0)
Bug Fixes​
- Upgrade pact-node minimum version to bring in broker auth with token (41844fe)
Bug Fixes​
- tests: correct test that would not compile (8cafbbf)
- types: correct consumerVersionTag in verifier type (fixes #341) (7f6a87d)
Features​
- matching: add string type matcher. See https://github.com/pact-foundation/pact-js/issues/323 (#335) (9f49588)
Bug Fixes​
- add pactBrokerToken to match pact-node VerifierOptions (89df786)
Bug Fixes​
deps​
- pact-node: bump version of pact-node to 9.0.0 (cede852)
BREAKING CHANGES​
- pact-node: pact-node 9.0.0 removes the pact-cli wrapper in favour of exposing the pact-standalone binaries as binstubs. Scripts using the pact cli will need to be updated to use the standalone binaries.
Bug Fixes​
- verifier: providerStateSetupUrl passed to Verifier constructor should take precedence (#295) (9d118a8)
Features​
## [8.1.2](https://github.com/pact-foundation/pact-js/compare/v8.1.1...v8.1.2) (2019-04-12)Bug Fixes​
- example: ensure 401 case has invalid bearer token (0dd519b)
Features​
- upgrade to @pact-foundation/pact-node@^8.1.1 (087d79d), closes #287
Bug Fixes​
## [8.0.4](https://github.com/pact-foundation/pact-js/compare/v8.0.2...v8.0.4) (2019-03-11)Bug Fixes​
- messages: prevent message proxy from running twice (50219b1)
- veriry: allow self-signed certificates in provider verification. Fixes #280 (122eb24)
Bug Fixes​
- messages: prevent message proxy from running twice (50219b1)
- veriry: allow self-signed certificates in provider verification. Fixes #280 (122eb24)
Bug Fixes​
Features​
- dynamic-proxy: working dynamic proxy code with tests (d8e2eec)
- proxy: add docs and e2e examples of filters and stateHandlers (5561980)
- proxy: cleanup verifier interface (63a661b)
Bug Fixes​
- matchers: remove hardcoded true value from a boolean matcher (499c02c)
- portcheck: feedback from PR 266#discussion_r255314895 (c583224), closes 266#discussion_r255314895
Features​
# [7.3.0](https://github.com/pact-foundation/pact-js/compare/v7.2.0...v7.3.0) (2019-02-09)Bug Fixes​
Features​
# [7.2.0](https://github.com/pact-foundation/pact-js/compare/v7.1.0...v7.2.0) (2018-11-28)Bug Fixes​
Features​
- examples: add array bracket notation example to jest tests (93c1572)
- isodate-matcher: ensure minimum 3 precision on iso data matcher (b9144bb)
Features​
## [7.0.4](https://github.com/pact-foundation/pact-js/compare/v7.0.3...v7.0.4) (2018-11-24)Bug Fixes​
- graphql: omit variables and operation name if empty. Fixes #243 (0ac2709)
- vulnerabilities: upgrade version of pact-node (#244) (d8214e6)
Bug Fixes​
- apply logLevel to local logger (6e31407)
Bug Fixes​
- graphql: allow arbitrary operation names in GraphQL interface #235 (16df628)
- interaction-failure: clear interactions on any verify() (fbc5ac0), closes #231
- matchers: allow integers/decimals to be 0 (#236) (c40ce32)
Bug Fixes​
# [7.0.0](https://github.com/pact-foundation/pact-js/compare/v6.0.2...v7.0.0) (2018-10-09)Bug Fixes​
- README.md: providerVersion is a string not a boolean (#217) (15706cc)
- test: fix port unavailable test on windows (c41a934)
Chores​
- deprecate: deprecate Node version < 6 (c778880)
BREAKING CHANGES​
- deprecate: No longer supporting Node versions 4 or 5.
Bug Fixes​
- examples/typescript: fix example failing to run (f2ed7d7)
- examples/typescript: fix the typings for getMeDogs (42bbb9a)
- examples/typescript: missing dependencies (314119d)
- vulnerabilities: run npm audit fix on e2e tests (934789f)
Bug Fixes​
## [5.9.1](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.14...v5.9.1) (2018-05-10)Bug Fixes​
- interaction: include response body if set to empty string (2db0f23)
Bug Fixes​
- interaction: include response body if set to empty string (abc20d4)
Features​
# [6.0.0-alpha.13](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.12...v6.0.0-alpha.13) (2018-04-29)Features​
- graphql: escape queries with variables (8b64dd4)
Features​
- example: example GraphQL pact test (3280a81)
- graphql: add basic GraphQL wrapper function (641e0e7)
- message: tidy up Message interface and tests (58c334c)
Features​
- example: example GraphQL pact test (3280a81)
- graphql: add basic GraphQL wrapper function (641e0e7)
- message: tidy up Message interface and tests (58c334c)
Bug Fixes​
# [6.0.0-alpha.9](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.8...v6.0.0-alpha.9) (2018-04-20)Bug Fixes​
# [6.0.0-alpha.8](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.7...v6.0.0-alpha.8) (2018-04-15)Features​
- messages: setup provider states in verification (57f7352)
Features​
- messages: implement v3 compatible provider states (8e113a5)
Bug Fixes​
- test: fix promise resolution in test (ce31f31)
Features​
- example: working serverless example with pact. #166 (d4a49f5)
- message: fix message structure sent to consumer verify(). #166 (ee1ddf0)
- serverless-example: add basic serverless SNS example (08cd73b)
Features​
- messages: initial WIP for message pacts (fd3526e)
Features​
- upgrade: update to pact-node 6.13.x (b19f069)
Features​
- upgrade: update to pact-node 6.12.x (6e5c2e1)
Features​
## [5.6.1](https://github.com/pact-foundation/pact-js/compare/v5.6.0...v5.6.1) (2018-02-25)# [5.6.0](https://github.com/pact-foundation/pact-js/compare/v5.5.1...v5.6.0) (2018-02-22)Features​
## [5.5.1](https://github.com/pact-foundation/pact-js/compare/v5.5.0...v5.5.1) (2018-02-20)# [5.5.0](https://github.com/pact-foundation/pact-js/compare/v5.4.0...v5.5.0) (2018-02-09)Features​
- upgrade: update to pact-node 6.8.x (fd4ae99)
Features​
- types: allow builder usage in Pact tests (cb6305b)
Bug Fixes​
- logging: set pact-node log level before constructing server #139 (b2f5c2d)
- verifier: properly wrap pact-node q promise in verifier (affca89)
Features​
# [5.2.0](https://github.com/pact-foundation/pact-js/compare/v5.0.3...v5.2.0) (2017-12-10)Bug Fixes​
Features​
- examples: extending ava examples with matchers (51fb8ae)
- mock-service: pass arguments to CLI not API (2b9053c), closes #105
- pact-node: update to latest pact-node 6.4.x (2430ee0), closes #131
Bug Fixes​
Features​
- examples: extending ava examples with matchers (51fb8ae)
- pact-node: update to latest pact-node 6.4.x (3d8aef0)
Bug Fixes​
- amd: do not name AMD module in UMD #98 (fced1ab)
- build: fix for bash script and output helpful information during projects tests (192f9e4)
- examples: update jasmine karma example with best practice #122 (93cba30)
- examples: update mocha karma example with best practice #122 (a62d00f)
- src: fix typo in eachLike error message (601d158)
- tests: update e2e tests with latest API (09a9f03)
- verification: pass validation error message on #114 (302357f)
Features​
- api: cleanup public API (39dfc45)
- finalise: warn if finalise called more than once (bc52810)
- karma: relax consumer/provider requirement in MockService #96 (62a9c44)
- matching: add a number of common matchers to DSL (4259171)
- pact-node: upgrade to latest pact-node 5.1.x (fde380e)
- pact-node: upgrade to pact-node 5.2.1 (f9bd4ae)
- pact-server: allow running mock server on non-local host #115 (b6866ef)
- pact-web: refactor PactWeb module (95b26c4)
- release: update release process to use standard-version (ae96806)
- types: reexport Interaction and MockService namespace #117 (e1b658f)
- types: reexport Interaction and MockService namespace into pact-web #117 (c3cd435)
- typescript: add integration pact tests (3b2279a)
- typescript: fix pact-web and karma tests (91ef75c)
- typescript: initial TypeScript setup (c6e6c3a)
BREAKING CHANGES​
- api: - Provider verification exposed via a Verifier class
- Matchers exposed through separate sub-module
- pact-web: Requires constructor to create now.
Features​
# [4.1.0](https://github.com/pact-foundation/pact-js/compare/v4.0.0...v4.1.0) (2017-10-18)Features​
- release: update release process to use standard-version (47d118d)
Bug Fixes​
Features​
- pact-node: upgrade to pact-node 5.x.x (6d2ad81)
- pact-server: Allow to run pact mock server on a host other than localhost/127.0.0.1 (e24be20)
Bug Fixes​
- lint: fix lint in mock service (e4c61b1)
- tests: update e2e tests with timeout for CI builds (f141c5e)
- typo: cosmetic cleanup for typo of wrong project name (18d49f6)
Features​
- karma: relax consumer/provider requirement in MockService (e9f3a4a)
Bug Fixes​
Features​
- example: adding example for the AVA test framework (65e8314)
- upgrade: upgrade to latest pact node v4.12.0 (50e1041)
Features​
- writemode: update pactFileWriteMode flag and docs (6b32990)
Bug Fixes​
Features​
- mock service: add pactfile_write_mode option handling (da92274)
- verifications: update example to publish verification results (592b9db)
Features​
- pact-web: only deploy pact-web on tagged master (a66cbea)
Features​
- port-check: check if port is available during setup() #37 (c729d8e)
- typescript: add TypeScript annotations (8eeb561)
Bug Fixes​
- test: fix logic issue in karma tests that was passing for the wrong reasons (080898f)
- test: update karma jasmine test to properly fail tests if verification fails. (802d5dc)
- test: update karma mocha test to fail if verification fails (98a6380)
Features​
# [2.1.0](https://github.com/pact-foundation/pact-js/compare/v2.0.1...v2.1.0) (2017-02-27)Features​
- test: update end-to-end test example (cb38b17)
- verify: update to latest pact-node including ability to set verification timeout #28 (4d0901e)
Bug Fixes​
# [2.0.0](https://github.com/pact-foundation/pact-js/compare/v1.0.0...v2.0.0) (2017-02-22)Bug Fixes​
- api: remove redundant responseParser and tests (a06a14d)
- test: properly pass through ssl flag (bc3120d)
- test: set timeout to 10s for Travis builds (e76d0e8)
- test: update all mainline tests to match new API (936a75d)
- test: update e2e test to properly wait for pact finalisation (b98c1f9)
- test: update formatting in integration test (6bd19c9)
- test: update jest tests with new API, fixes #21 (4eb2e1c)
- test: update mocha tests with new API, fixes #22 (2062d6d)
- tests: remove trailing semi-colons for consistency (7a9565d)
Features​
- api: redesign API to make it simpler to interact with (67482d1)
- examples: update e2e provider test to use mocha interface (898203a)
- karma: update code formatting (ef27b7c)
- karma: update tests for karma suite and adapted Pact API for Karma (7182c7b)
Features​
- example: add better readme, cleanup linting for E2E example (4a8e8cb)
- examples: running consumer tests for E2E example (274f18f)
- examples: update docu for e2e example (491f641)
- examples: WIP e2e example (14a464c)
- examples: working e2e example (24b9888)
Bug Fixes​
Features​
- interceptor: remove Interceptor from DSL (0b9e4f4)
Features​
- app: update distribution files (8f9f7e2)
Bug Fixes​
- lib: better handling HTTP responses (7b07821)