Pact Js Versions Save

JS version of Pact. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems.

v11.0.1

1 year ago

11.0.1 (2023-03-09)

Fixes and Improvements

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

v11.0.0

1 year ago

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)

v10.4.1

1 year ago

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)

v10.4.0

1 year ago

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

v10.2.2

1 year ago

10.2.2 (2022-11-14)

Fixes and Improvements

  • remove all remaining absolute imports (1d16a76)

v10.2.1

1 year ago

10.2.1 (2022-11-14)

Fixes and Improvements

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

v10.2.0

1 year ago

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)

v10.1.4

1 year ago

10.1.4 (2022-09-21)

Fixes and Improvements

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

v10.1.3

1 year ago

10.1.3 (2022-09-06)

Fixes and Improvements

  • PactV4 error handling logic (78ff0bf)

v10.1.2

1 year ago

10.1.2 (2022-08-20)

Fixes and Improvements

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