Skip to content

Release v10.0.0-beta.55

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 16 Feb 07:12
· 32 commits to e1bcba69876c2a47fd60cf2c9110c559a5c7a579 since this release

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

  • 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

  • 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

  • allow the mock server port to be configured (9c63d28)
  • correct the imports #514 (6764a84)

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)