Skip to content

Releases: pact-foundation/pact-js

Release v10.0.0-beta.61

26 Jul 23:37
Compare
Choose a tag to compare
Pre-release

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)

Release v9.18.1

28 Jun 11:09
Compare
Choose a tag to compare

9.18.1 (2022-06-28)

Fixes and Improvements

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

Release v10.0.0-beta.60

26 Jun 05:10
Compare
Choose a tag to compare
Pre-release

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)

Release v9.18.0

26 Jun 01:45
Compare
Choose a tag to compare

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)

Release v10.0.0-beta.59

01 Apr 07:24
Compare
Choose a tag to compare
Pre-release

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)

Release v9.17.3

16 Mar 13:00
Compare
Choose a tag to compare

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)

Release v10.0.0-beta.58

23 Feb 13:36
Compare
Choose a tag to compare
Pre-release

10.0.0-beta.58 (2022-02-23)

Fixes and Improvements

  • pin to latest beta version of core in examples (d92c793)

Release v10.0.0-beta.57

23 Feb 11:33
Compare
Choose a tag to compare
Pre-release

10.0.0-beta.57 (2022-02-23)

Fixes and Improvements

  • core now supports env vars if option not explicitly set (bf69903)
  • formatting (9c5bdf1)
  • new verifier doesn't support env vars (dfc01b6)
  • node gyp not working on windows (a6b1d88)
  • remove deprecated v3 beta property (75fc76c)
  • update to latest beta core (fff279f)
  • update to latest beta core (7a82ad9)
  • update to latest beta core (cbb4b07)

Release v10.0.0-beta.56

16 Feb 08:34
Compare
Choose a tag to compare
Pre-release

10.0.0-beta.56 (2022-02-16)

Fixes and Improvements

  • bump version of core, remove rust from builds (157d14b)

Release v10.0.0-beta.55

16 Feb 07:12
Compare
Choose a tag to compare
Pre-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...
Read more