Skip to main content

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

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

  • binary matching via latest pact-core (887b312)
  • binary matching via latest pact-core (c201eca)

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

  • dsl/verifier - express import typescript error (60fa69f)
  • import clc from cli-colour (785b38c)

10.0.1 (2022-07-28)

Fixes and Improvements

  • throw error if V4 test closure fails. Fixes #904 (6b78bed)

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

  • package.json & package-lock.json to reduce vulnerabilities (#879) (5005463)

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

  • nestjs example should use branches in workflow (a7adf07)
  • webpack on node 16 (903cf44)

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 to Matchers.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 with logLevel: "DEBUG" (logLevels of DEBUG and below now imply verbose where appropriate)
    • Replace consumerVersionTag with the consumerVersionTags array
    • Replace providerVersionTag with the providerVersionTags array
    • Replace tags with consumerVersionTags or providerVersionTags as appropriate.
  • Some VerifierOptions have been removed entirely:

    • customProviderHeaders has been removed. If you need this functionality, set an appropriate request filter with the requestFilters 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)
  • 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

  • return correct data type in fromProviderState (#710) (ec9192f), closes #633

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

  • fromProviderState should accept any valid JSON. Fixes #696 (1b03b2d)

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

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 a None 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 of tags, consumerVersionTag and providerVersionTag with the appropriate consumerVersionTags or providerVersionTags 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 or version. 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;
      }
  • 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

  • use example in datetime matcher instead of generator if provided. Fixes #620 (c0ca78b)

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

  • fix file locking, add 'overwrite' and 'callbackTimeout' flags (e891fcc), closes #599 #600

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

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

  • if query parameters are not supplied they will be null or undefined #516 (17397be)

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

  • enable publishing of verification results (fcbdb3e)
  • release node 14 native binaries (9ee832c)

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 to Matchers.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 with logLevel: "DEBUG" (logLevels of DEBUG and below now imply verbose where appropriate)
    • Replace consumerVersionTag with the consumerVersionTags array
    • Replace providerVersionTag with the providerVersionTags array
    • Replace tags with consumerVersionTags or providerVersionTags as appropriate.
  • Some VerifierOptions have been removed entirely:

    • customProviderHeaders has been removed. If you need this functionality, set an appropriate request filter with the requestFilters 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)
  • 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)

10.0.0-beta.44 (2021-07-22)

Fixes and Improvements

  • consumerVersionTags were overwritten with empty array (#714) (838d1cb)

10.0.0-beta.43 (2021-07-18)

Fixes and Improvements

  • return correct data type in fromProviderState (#710) (ec9192f), closes #633

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

  • fromProviderState should accept any valid JSON. Fixes #696 (1b03b2d)

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

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 a None 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 of tags, consumerVersionTag and providerVersionTag with the appropriate consumerVersionTags or providerVersionTags 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 or version. 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;
      }
  • 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

  • use example in datetime matcher instead of generator if provided. Fixes #620 (c0ca78b)

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

  • fix file locking, add 'overwrite' and 'callbackTimeout' flags (e891fcc), closes #599 #600

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

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

  • if query parameters are not supplied they will be null or undefined #516 (17397be)

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

  • enable publishing of verification results (fcbdb3e)
  • release node 14 native binaries (9ee832c)

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

  • fix file locking, add 'overwrite' and 'callbackTimeout' flags (e891fcc), closes #599 #600

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

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

  • if query parameters are not supplied they will be null or undefined #516 (17397be)

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

  • enable publishing of verification results (fcbdb3e)
  • release node 14 native binaries (9ee832c)

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

  • popsicle: Increase maxBufferSize of requests to infinity (8fd751a)
  • small errors (076549e)

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

  • if query parameters are not supplied they will be null or undefined #516 (17397be)

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

  • enable publishing of verification results (fcbdb3e)
  • release node 14 native binaries (9ee832c)

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

  • if query parameters are not supplied they will be null or undefined #516 (17397be)

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

  • enable publishing of verification results (fcbdb3e)
  • release node 14 native binaries (9ee832c)

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

  • enable publishing of verification results (fcbdb3e)
  • release node 14 native binaries (9ee832c)

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

  • enable publishing of verification results (fcbdb3e)
  • release node 14 native binaries (9ee832c)

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

  • allow matcher as the top-level value of a query string (2922f8f), closes #510

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

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

  • enable publishing of verification results (fcbdb3e)
  • release node 14 native binaries (9ee832c)

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

  • package.json & package-lock.json to reduce vulnerabilities (#418) (c1c7090)

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)
# [9.6.0](https://github.com/pact-foundation/pact-js/compare/v9.5.1...v9.6.0) (2020-01-01)

Features

  • add email address matcher (14e8974)
  • email: add simplified email address format (f5ea38e)
# [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)
# [9.4.0](https://github.com/pact-foundation/pact-js/compare/v9.3.0...v9.4.0) (2019-11-08)

Features

  • update pact-node to ^10.2.0 (c96cc89)
# [9.3.0](https://github.com/pact-foundation/pact-js/compare/v9.2.4...v9.3.0) (2019-11-08)

Features

  • update pact-node to ^10.2.0 (f64cf69)
## [9.2.4](https://github.com/pact-foundation/pact-js/compare/v9.2.3...v9.2.4) (2019-11-08)

Bug Fixes

  • deps: Update vulnerable dependencies (f5d798a)
## [9.2.3](https://github.com/pact-foundation/pact-js/compare/v9.2.2...v9.2.3) (2019-11-08)

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)
## [9.2.2](https://github.com/pact-foundation/pact-js/compare/v9.2.1...v9.2.2) (2019-10-28)

Bug Fixes

  • deps: Update pact-node to ^10.0.1 (844870d)
## [9.2.1](https://github.com/pact-foundation/pact-js/compare/v9.2.0...v9.2.1) (2019-10-17)# [9.2.0](https://github.com/pact-foundation/pact-js/compare/v9.1.1...v9.2.0) (2019-10-08)

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)
## [9.1.1](https://github.com/pact-foundation/pact-js/compare/v9.1.0...v9.1.1) (2019-09-05)

Bug Fixes

  • Upgrade pact-node minimum version to bring in broker auth with token (41844fe)
# [9.1.0](https://github.com/pact-foundation/pact-js/compare/v9.0.1...v9.1.0) (2019-08-07)

Bug Fixes

  • tests: correct test that would not compile (8cafbbf)
  • types: correct consumerVersionTag in verifier type (fixes #341) (7f6a87d)

Features

## [9.0.1](https://github.com/pact-foundation/pact-js/compare/v9.0.0...v9.0.1) (2019-07-17)

Bug Fixes

  • add pactBrokerToken to match pact-node VerifierOptions (89df786)
# [9.0.0](https://github.com/pact-foundation/pact-js/compare/v8.2.6...v9.0.0) (2019-07-16)

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.
## [8.2.6](https://github.com/pact-foundation/pact-js/compare/v8.2.5...v8.2.6) (2019-06-18)## [8.2.5](https://github.com/pact-foundation/pact-js/compare/v8.2.4...v8.2.5) (2019-06-18)## [8.2.4](https://github.com/pact-foundation/pact-js/compare/v8.2.3...v8.2.4) (2019-05-15)## [8.2.3](https://github.com/pact-foundation/pact-js/compare/v8.2.2...v8.2.3) (2019-05-15)## [8.2.2](https://github.com/pact-foundation/pact-js/compare/v8.2.1...v8.2.2) (2019-04-26)## [8.2.1](https://github.com/pact-foundation/pact-js/compare/v8.2.0...v8.2.1) (2019-04-26)

Bug Fixes

  • verifier: providerStateSetupUrl passed to Verifier constructor should take precedence (#295) (9d118a8)
# [8.2.0](https://github.com/pact-foundation/pact-js/compare/v8.1.2...v8.2.0) (2019-04-12)

Features

  • graphql: export graphql apis for pact web. Fixes #283 (36ea8d1)
## [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)
## [8.1.1](https://github.com/pact-foundation/pact-js/compare/v8.1.0...v8.1.1) (2019-04-11)# [8.1.0](https://github.com/pact-foundation/pact-js/compare/v8.0.5...v8.1.0) (2019-03-29)

Features

## [8.0.5](https://github.com/pact-foundation/pact-js/compare/v8.0.4...v8.0.5) (2019-03-12)

Bug Fixes

  • verifier: add changeOrigin flag for http-proxy (4536be5), closes #282
## [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)
## [8.0.3](https://github.com/pact-foundation/pact-js/compare/v8.0.2...v8.0.3) (2019-03-11)

Bug Fixes

  • messages: prevent message proxy from running twice (50219b1)
  • veriry: allow self-signed certificates in provider verification. Fixes #280 (122eb24)
## [8.0.2](https://github.com/pact-foundation/pact-js/compare/v8.0.1...v8.0.2) (2019-02-23)## [8.0.1](https://github.com/pact-foundation/pact-js/compare/v8.0.0...v8.0.1) (2019-02-23)# [8.0.0](https://github.com/pact-foundation/pact-js/compare/v7.4.0...v8.0.0) (2019-02-23)

Bug Fixes

  • npm: npm lock got out of sync (a9bed4f)
  • rename error classes to lowercase (16b7686)

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)
# [7.4.0](https://github.com/pact-foundation/pact-js/compare/v7.3.0...v7.4.0) (2019-02-22)

Bug Fixes

Features

  • pact-web provider.addInteraction to allow Interaction instance [#270] (0814d68)
# [7.3.0](https://github.com/pact-foundation/pact-js/compare/v7.2.0...v7.3.0) (2019-02-09)

Bug Fixes

  • port-check: make port check more resilient. Fixes #49 (ee0aa71)

Features

  • configuration: return configuration from setup() (11af9e4), closes #259
# [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)
# [7.1.0](https://github.com/pact-foundation/pact-js/compare/v7.0.4...v7.1.0) (2018-11-28)

Features

  • apollo-graphql: add Apollo specific GraphQL interface. Fixes #254 (cab8328)
## [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)
## [7.0.3](https://github.com/pact-foundation/pact-js/compare/v7.0.2...v7.0.3) (2018-11-07)

Bug Fixes

  • apply logLevel to local logger (6e31407)
## [7.0.2](https://github.com/pact-foundation/pact-js/compare/v7.0.1...v7.0.2) (2018-10-27)

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)
## [7.0.1](https://github.com/pact-foundation/pact-js/compare/v7.0.0...v7.0.1) (2018-10-15)

Bug Fixes

  • api: repair incorrect absolute import to 'pact'. Fixes #229 (aa22fae)
# [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.
## [6.0.2](https://github.com/pact-foundation/pact-js/compare/v6.0.1...v6.0.2) (2018-10-01)

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)
## [6.0.1](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.15...v6.0.1) (2018-08-19)

Bug Fixes

  • test: add mocha.opts for mocha tests (765f272)
  • test: remove async usage in examples (11368c8)
## [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)
# [6.0.0-alpha.15](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.14...v6.0.0-alpha.15) (2018-07-17)

Bug Fixes

  • interaction: include response body if set to empty string (abc20d4)
# [6.0.0-alpha.14](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.13...v6.0.0-alpha.14) (2018-05-08)

Features

  • message: modify message: content -> contents (38e57a8)
  • upgrade: update to pact-node 6.16.x (c1d938b)
# [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)
# [6.0.0-alpha.12](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.10...v6.0.0-alpha.12) (2018-04-22)

Features

  • example: example GraphQL pact test (3280a81)
  • graphql: add basic GraphQL wrapper function (641e0e7)
  • message: tidy up Message interface and tests (58c334c)
# [6.0.0-alpha.11](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.10...v6.0.0-alpha.11) (2018-04-22)

Features

  • example: example GraphQL pact test (3280a81)
  • graphql: add basic GraphQL wrapper function (641e0e7)
  • message: tidy up Message interface and tests (58c334c)
# [6.0.0-alpha.10](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.9...v6.0.0-alpha.10) (2018-04-20)

Bug Fixes

  • Replace packpath with pkginfo to get metadata in more reliable f… (#175) (5abb32e)
# [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

  • resolve package.json for version metadata regardless of nesting (#174) (9b771c6)
# [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)
# [6.0.0-alpha.7](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.6...v6.0.0-alpha.7) (2018-04-05)# [6.0.0-alpha.6](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.5...v6.0.0-alpha.6) (2018-04-05)# [6.0.0-alpha.5](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.4...v6.0.0-alpha.5) (2018-04-04)

Features

  • messages: implement v3 compatible provider states (8e113a5)
# [6.0.0-alpha.4](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.2...v6.0.0-alpha.4) (2018-04-01)

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)
# [6.0.0-alpha.2](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.0...v6.0.0-alpha.2) (2018-03-31)# [6.0.0-alpha.1](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.0...v6.0.0-alpha.1) (2018-03-31)# [6.0.0-alpha.0](https://github.com/pact-foundation/pact-js/compare/v5.9.0...v6.0.0-alpha.0) (2018-03-31)

Features

  • messages: initial WIP for message pacts (fd3526e)
# [5.9.0](https://github.com/pact-foundation/pact-js/compare/v5.8.0...v5.9.0) (2018-03-27)

Features

  • upgrade: update to pact-node 6.13.x (b19f069)
# [5.8.0](https://github.com/pact-foundation/pact-js/compare/v5.7.0...v5.8.0) (2018-03-25)

Features

  • upgrade: update to pact-node 6.12.x (6e5c2e1)
# [5.7.0](https://github.com/pact-foundation/pact-js/compare/v5.6.0...v5.7.0) (2018-02-28)

Features

  • upgrade: update to pact-node 6.11.x. Fixes #63 (f0063c9)
## [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

  • upgrade: update to pact-node 6.10.x. Fixes #150 (99ab454)
## [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)
# [5.4.0](https://github.com/pact-foundation/pact-js/compare/v5.3.2...v5.4.0) (2018-02-08)

Features

  • types: allow builder usage in Pact tests (cb6305b)
## [5.3.2](https://github.com/pact-foundation/pact-js/compare/v5.3.1...v5.3.2) (2018-01-11)## [5.3.1](https://github.com/pact-foundation/pact-js/compare/v5.3.0...v5.3.1) (2018-01-06)

Bug Fixes

  • logging: set pact-node log level before constructing server #139 (b2f5c2d)
  • verifier: properly wrap pact-node q promise in verifier (affca89)
# [5.3.0](https://github.com/pact-foundation/pact-js/compare/v5.2.0...v5.3.0) (2017-12-11)

Features

  • parallel: allow pactfileWriteMode to support 'merge'. #124 (81e1078)
# [5.2.0](https://github.com/pact-foundation/pact-js/compare/v5.0.3...v5.2.0) (2017-12-10)

Bug Fixes

  • jest: update jest example to be compatible with v21.x.x (#132) (7fabfc4)

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
# [5.1.0](https://github.com/pact-foundation/pact-js/compare/v5.0.3...v5.1.0) (2017-12-08)

Bug Fixes

  • jest: update jest example to be compatible with v21.x.x (#132) (7fabfc4)

Features

  • examples: extending ava examples with matchers (51fb8ae)
  • pact-node: update to latest pact-node 6.4.x (3d8aef0)
## [5.0.3](https://github.com/pact-foundation/pact-js/compare/v5.0.2...v5.0.3) (2017-12-06)# [5.0.0](https://github.com/pact-foundation/pact-js/compare/v4.2.1...v5.0.0) (2017-12-06)

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.
## [4.2.1](https://github.com/pact-foundation/pact-js/compare/v4.2.0...v4.2.1) (2017-11-05)# [4.2.0](https://github.com/pact-foundation/pact-js/compare/v4.1.0...v4.2.0) (2017-11-05)

Features

  • types: add TS bindings for pact-web standalone. Fixes #92 (d436862)
# [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)
# [4.0.0](https://github.com/pact-foundation/pact-js/compare/v3.0.1...v4.0.0) (2017-10-18)

Bug Fixes

  • src: fix typo in error message (e91588c)
  • verification: pass validation error message on (3041282)

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)
## [3.0.1](https://github.com/pact-foundation/pact-js/compare/v2.7.0...v3.0.1) (2017-09-19)

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)
# [2.7.0](https://github.com/pact-foundation/pact-js/compare/v2.6.0...v2.7.0) (2017-08-06)

Bug Fixes

  • gitignore: ignore IDE generated project files (84b78c3)
  • issue_template: Corrected typos (bac51ad)

Features

  • example: adding example for the AVA test framework (65e8314)
  • upgrade: upgrade to latest pact node v4.12.0 (50e1041)
# [2.6.0](https://github.com/pact-foundation/pact-js/compare/v2.5.0...v2.6.0) (2017-06-13)# [2.5.0](https://github.com/pact-foundation/pact-js/compare/v2.4.1...v2.5.0) (2017-05-15)## [2.4.1](https://github.com/pact-foundation/pact-js/compare/v2.4.0...v2.4.1) (2017-05-12)

Features

  • writemode: update pactFileWriteMode flag and docs (6b32990)
# [2.4.0](https://github.com/pact-foundation/pact-js/compare/v2.3.4...v2.4.0) (2017-05-11)

Bug Fixes

  • providerstate: make providerState serialisation spec compliant #12 (cc44554)

Features

  • mock service: add pactfile_write_mode option handling (da92274)
  • verifications: update example to publish verification results (592b9db)
## [2.3.4](https://github.com/pact-foundation/pact-js/compare/v2.3.3...v2.3.4) (2017-04-26)

Features

  • pact-web: only deploy pact-web on tagged master (a66cbea)
## [2.3.3](https://github.com/pact-foundation/pact-js/compare/v2.3.1...v2.3.3) (2017-04-21)

Features

  • port-check: check if port is available during setup() #37 (c729d8e)
  • typescript: add TypeScript annotations (8eeb561)
## [2.3.1](https://github.com/pact-foundation/pact-js/compare/v2.2.1...v2.3.1) (2017-04-03)## [2.2.1](https://github.com/pact-foundation/pact-js/compare/v2.2.0...v2.2.1) (2017-03-12)

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)
# [2.2.0](https://github.com/pact-foundation/pact-js/compare/v2.1.0...v2.2.0) (2017-02-27)

Features

  • ssl: add ability to specify custom ssl key + cert #29 (c54d224)
# [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)
## [2.0.1](https://github.com/pact-foundation/pact-js/compare/v2.0.0...v2.0.1) (2017-02-26)

Bug Fixes

  • pact-node and cli-color should be dependencies (#26 #25) (83c8af3)
# [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)
# [1.0.0](https://github.com/pact-foundation/pact-js/compare/v1.0.0-rc.5...v1.0.0) (2017-01-21)

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)
# [1.0.0-rc.5](https://github.com/pact-foundation/pact-js/compare/v1.0.0-rc.4...v1.0.0-rc.5) (2016-08-28)

Bug Fixes

  • readme: fix example in readme (f0eeb0f)
  • style: remove empty space breaking linter (62a72d8)

Features

  • interceptor: remove Interceptor from DSL (0b9e4f4)
# [1.0.0-rc.4](https://github.com/pact-foundation/pact-js/compare/v1.0.0-rc.3...v1.0.0-rc.4) (2016-08-02)

Features

  • app: update distribution files (8f9f7e2)
# [1.0.0-rc.3](https://github.com/pact-foundation/pact-js/compare/v1.0.0-rc.2...v1.0.0-rc.3) (2016-08-01)# [1.0.0-rc.2](https://github.com/pact-foundation/pact-js/compare/v1.0.0-rc...v1.0.0-rc.2) (2016-07-11)

Bug Fixes

  • lib: better handling HTTP responses (7b07821)