Skip to content

Releases: pact-foundation/pact-js

Release v12.1.3

23 Jan 13:46

Choose a tag to compare

12.1.3 (2024-01-23)

Fixes and Improvements

  • ci: update matt plugin provider test (db37296)
  • support multiple states with same name (36dfb4f), closes #848

Release v12.1.2

07 Jan 22:42

Choose a tag to compare

12.1.2 (2024-01-07)

Fixes and Improvements

  • PactV4 should default to V4 spec (46acc70)
  • types: remove AnyTemplate references from DSL (4aa5c9b), closes #1133

Release v12.1.1

10 Nov 17:52

Choose a tag to compare

12.1.1 (2023-11-10)

Fixes and Improvements

  • allow re-use of PactV4 object (38a68fb)
  • MessageConsumerPact merge pact file correctly (6b5de27)
  • package.json & package-lock.json to reduce vulnerabilities (288bdfd)
  • return raw consumer mock server mismatch if structure unknown (17be53c)

Release v12.1.0

18 Jul 01:32

Choose a tag to compare

12.1.0 (2023-07-18)

Features

  • add eachKeyMatches + eachValueMatches Matchers (0b2098b)

Fixes and Improvements

Release v12.0.0

10 Jul 13:05

Choose a tag to compare

12.0.0 (2023-07-10)

⚠ BREAKING CHANGES

  • set node engines min version to 16

Fixes and Improvements

  • set node engines min version to 16 (85df5b7)
  • update to latest pact-core 13.14.0 (a3085d6)

Release v11.0.2

09 Mar 11:55

Choose a tag to compare

11.0.2 (2023-03-09)

Fixes and Improvements

  • v4 response builder for non-plugin interface (4da4cb3), closes #1073

Release v11.0.1

09 Mar 04:20

Choose a tag to compare

11.0.1 (2023-03-09)

Fixes and Improvements

  • update to the latest @pact-foundation/pact-core-13.13.5 (dd5b785)

Release v11.0.0

02 Mar 07:13

Choose a tag to compare

11.0.0 (2023-03-02)

⚠ BREAKING CHANGES

  • Rename the message-pact state handler type to MessageStateHandlers from StateHandlers avoiding the conflicting type problem introduced in #882. Fixes #1057

Fixes and Improvements

  • Remove all references to AnyTemplate and deprecate the type. See #1054 for details (c7edb7e)
  • Rename the message-pact state handler type to MessageStateHandlers from StateHandlers avoiding the conflicting type problem introduced in #882. Fixes #1057 (9be81ce)
  • Widen types for V3 matchers, avoiding AnyTemplate errors. This has the side effect that functions, Dates and other inappropriate types can now be passed to matchers, and the benefit that people using interfaces don't get spurious errors. Fixes #1054 (0803cdf)

Release v10.4.1

23 Jan 06:14

Choose a tag to compare

10.4.1 (2023-01-23)

Fixes and Improvements

  • accept multiple values for headers in V2 interface. Fixes #1031 (229aadd)
  • disabled HTTP tracer as it causes the node process to hang (7de96ca)
  • update to latest pact-core 13.13.2 (671891b)

Release v10.4.0

09 Dec 06:14

Choose a tag to compare

10.4.0 (2022-12-09)

Features

  • add support for rendering plugin content mismatches (2185693)
  • upgrade to latest pact-core (0b56823)

Fixes and Improvements

  • Export VerifierOptions as a root export (bbcccc8)
  • missing min in v3 eachLike pact-foundation/pact-js#958 (18dbfd4)
  • Remove unnecessary dependency @types/bluebird (also removed bluebird internally) (56efeb3)
  • support multiple header values with matchers (ccd95bb), closes #964