Skip to content

Releases: pact-foundation/pact-js-core

Release v11.1.1

11 Aug 06:10
Compare
Choose a tag to compare

11.1.1 (2021-08-11)

Fixes and Improvements

  • Avoid throwing an exception if needle can't connect to the mock service during polling (may fix #314) (74a2cde)
  • package.json & package-lock.json to reduce vulnerabilities (1a1439c)
  • package.json & package-lock.json to reduce vulnerabilities (44bd189)
  • update standalone to 1.88.63 (240ea6c)

Release v11.1.0

02 Aug 00:44
Compare
Choose a tag to compare

11.1.0 (2021-08-02)

Features

  • improve m1 support (via rosetta2) (92bd98b)

Fixes and Improvements

  • Replace request with needle (b053e54)
  • update standalone to 1.88.58 (b95b6ae)
  • update standalone to 1.88.61 (019af87)

Release v11.0.1

21 Jun 14:30
Compare
Choose a tag to compare

11.0.1 (2021-06-21)

Fixes and Improvements

  • Allow the user to specify the timeout (Fixes #298) (4c77ddb)
  • update standalone to 1.88.56 (81821fc)

Release v11.0.0

21 May 13:58
Compare
Choose a tag to compare

11.0.0 (2021-05-21)

⚠ BREAKING CHANGES

  • All the interfaces that previously returned q.Promise have now been replaced with native es6 Promises. Calling code will need to be updated.

  • All options deprecated in previous versions have been removed. Migration instructions:

  • In VerifierOptions: replace use of tags, consumerVersionTag and providerVersionTag with the appropriate consumerVersionTags or providerVersionTags option.

  • The following classes have had their .create(options) removed. Please use the appropriate constructor instead (for example, new Verifier(options))

    • Verifier
    • Publisher
    • Server
    • Stub
  • docs: The type for consumer version selectors in the verifier 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;
}

Note that pacticipant, version and all have been removed. Existing code that uses pacticipant needs to use consumer instead. The other fields can be dropped. Any questions, please reach out to us at https://slack.pact.io/

  • fix #285

  • docs: Add description of consumer version selectors to the documentation. (1bdb45d)

Fixes and Improvements

  • ConsumerVersionSelector interface (b1e5afe)
  • Replace q ith native Promise (a5076cc)
  • The verifier option providerStatesSetupUrl is no longer deprecated. Other deprecated options have been removed. (95b88e0)
  • update standalone to 1.88.46 (e9f2b43)
  • update standalone to 1.88.47 (5626f3b)
  • update standalone to 1.88.48 (14e31cf)
  • update standalone to 1.88.49 (cb088ce)
  • update standalone to 1.88.50 (ce92950)
  • update standalone to 1.88.51 (de83a99)

Release v10.12.1

31 Mar 10:19
Compare
Choose a tag to compare

10.12.1 (2021-03-31)

Fixes and Improvements

  • package.json & package-lock.json to reduce vulnerabilities (8d76550)
  • update standalone to 1.88.41 (3916c88)
  • update standalone to 1.88.45 (fcab9f8)

Release v10.12.0

05 Mar 02:40
Compare
Choose a tag to compare

10.12.0 (2021-03-05)

Features

  • package-name: Pact-node renamed to pact-core (700ad09)

Release v10.11.11

28 Feb 22:57
Compare
Choose a tag to compare

10.11.11 (2021-02-28)

Fixes and Improvements

  • update standalone to 1.88.40 (618fb9d)

Release v10.11.10

25 Feb 04:45
Compare
Choose a tag to compare

10.11.10 (2021-02-25)

Fixes and Improvements

  • update standalone to 1.88.38 (de4aaf2)

Release v10.11.9

24 Feb 10:30
Compare
Choose a tag to compare

10.11.9 (2021-02-24)

Fixes and Improvements

  • 🐛 only download binary if PACT_SKIP_BINARY_INSTALL is true (69cbba0)

Release v10.11.8

09 Feb 07:06
Compare
Choose a tag to compare

10.11.8 (2021-02-09)

Fixes and Improvements

  • install: Use the current working directory instead of the installed directory when finding package.json (Fixes #234) (30c41dc)