Skip to content

Releases: pact-foundation/pact-js

Release v12.1.0

18 Jul 01:32
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

Release v10.2.2

14 Nov 12:20
Compare
Choose a tag to compare

10.2.2 (2022-11-14)

Fixes and Improvements

  • remove all remaining absolute imports (1d16a76)

Release v10.2.1

14 Nov 09:07
Compare
Choose a tag to compare

10.2.1 (2022-11-14)

Fixes and Improvements

  • remove absolute import paths in types. Fixes #974 (a20ad80)

Release v10.2.0

10 Nov 11:16
Compare
Choose a tag to compare

10.2.0 (2022-11-10)

Features

  • support V4 Pact interface (beta) (7f87896)

Fixes and Improvements

  • Fix an issue where extractPayload would not work correctly with objects with a value key (469e6d3)