Skip to content

Releases: pact-foundation/pact-js

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)

Release v10.1.4

21 Sep 13:48
Compare
Choose a tag to compare

10.1.4 (2022-09-21)

Fixes and Improvements

  • Fix issue where MatchersV3.string() with no arguments would not correctly match strings (ed70734)

Release v10.1.3

06 Sep 16:51
Compare
Choose a tag to compare

10.1.3 (2022-09-06)

Fixes and Improvements

  • PactV4 error handling logic (78ff0bf)

Release v10.1.2

20 Aug 11:52
Compare
Choose a tag to compare

10.1.2 (2022-08-20)

Fixes and Improvements

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