Skip to content

Releases: pact-foundation/pact-js

Release v10.0.0-beta.38

21 Jun 13:10
Compare
Choose a tag to compare
Pre-release

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)

Release v9.16.0

21 Jun 14:35
Compare
Choose a tag to compare

9.16.0 (2021-06-21)

Features

  • add withMutation alias for withQuery for graphql interactions (1564a76)

Fixes and Improvements

  • Print a much better error when the mock service fails to start (bbbc6f2)

Release v10.0.0-beta.37

06 Jun 03:26
Compare
Choose a tag to compare
Pre-release

10.0.0-beta.37 (2021-06-06)

Features

  • add consumer version selectors to v3 pact verifier (3fe65ad)

Fixes and Improvements

Release v10.0.0-beta.36

31 May 07:04
Compare
Choose a tag to compare
Pre-release

10.0.0-beta.36 (2021-05-31)

Features

  • filter verification by description & state (2eb529a)

Fixes and Improvements

  • build: restore to files from git before build (dfb9b08)
  • Error message with no pactBrokerUrl and no pactUrls (3f6b036)
  • internal error in Neon module: called Option::unwrap() on a None value (7cb6822)
  • linting (3b1d394)
  • process body intermediate format when the content type is not JSON #633 (2683224)
  • rename pact-node to pact-core (553c525)
  • windows tests (c56db1b)
  • windows tests (1ef2f7c)
  • XMLBuilder needs to return intermediate format (002d6bc)

Release v10.0.0-beta.35

21 May 15:59
Compare
Choose a tag to compare
Pre-release

10.0.0-beta.35 (2021-05-21)

⚠ BREAKING CHANGES

  • Pact-js no longer officially supports node less than 10 (10 is only supported by nodejs for another few months anyway, so I doubt this will affect many users)

  • Since some of the interface of pact-core is exposed, there are some breaking changes:

    • In VerifierOptions: replace use of tags, consumerVersionTag and providerVersionTag with the appropriate consumerVersionTags or providerVersionTags option.
    • The type for consumer version selectors in the verifier options has been corrected. This will affect typescript users who were using consumerVersionSelectors with the fields pacticipant, all or version. These fields never worked, and now will no longer compile in typescript. The correct type is:
    ConsumerVersionSelector {
      tag?: string;
      latest?: boolean;
      consumer?: string;
      fallbackTag?: string;
    }
    
  • Drop support for node < 10 (328de85)

  • Update pact-core to v11. (9e5a67d)

Release v9.15.5

21 Apr 09:47
Compare
Choose a tag to compare

9.15.5 (2021-04-21)

Fixes and Improvements

  • pact-node: Fix for #635 (issue with message pact not respecting matching rules) (5063b7e)

v10.0.0-beta.34

07 Apr 04:50
Compare
Choose a tag to compare
chore(release): 10.0.0-beta.34

Release v9.15.4

31 Mar 10:39
Compare
Choose a tag to compare

9.15.4 (2021-03-31)

Fixes and Improvements

  • Bump pact-node version to get vulnerability fixes (bc0e7f0)

Release v9.15.3

10 Mar 02:09
Compare
Choose a tag to compare

9.15.3 (2021-03-10)

Fixes and Improvements

  • pact-web-types: Fix issue where typescript types were not exposed in pact-web (d529082)

Release v10.0.0-beta.33

03 Mar 06:32
Compare
Choose a tag to compare
Pre-release

10.0.0-beta.33 (2021-03-03)

Fixes and Improvements

  • use example in datetime matcher instead of generator if provided. Fixes #620 (c0ca78b)
  • pact-node: Bump dependency on pact-node (812e09e)