Skip to content

Releases: pact-foundation/pact-js-core

Release v13.0.0

24 Aug 02:32
Compare
Choose a tag to compare

13.0.0 (2021-08-24)

⚠ BREAKING CHANGES

  • setLogLevel no longer accepts or returns a number
  • The verbose option has been removed, as it is now implied by logLevel of DEBUG or TRACE
  • All logging and reporting is now on standard out. This was the default before. This means the logDir / format / out options are no longer supported. If your ecosystem needs the ability to customise logging and reporting, please let us know by opening an issue.
  • The undocumented option monkeypatch has been removed. The use cases for this feature are mostly covered by other options.
  • customProviderHeaders has been removed. Please see the request filter documentation in pact-js.

Features

  • include standalone binaries in released package (eedeb18)

  • Use the native ffi bindings for the Verifier instead of the ruby bindings (119c3ce)

  • Add migration docs and update readme (e589c01)

  • Refactor logger to make it easier to use ffi logs (c650192)

Fixes and Improvements

  • Correct exposed log levels to 'debug' | 'error' | 'info' | 'trace' | 'warn'. (4a6f573)
  • Expose logger as a base level export (5686a66)
  • Print warnings if 'latest' is used as a tag during verification (ddd516d)
  • Remove some unnecessary files from the npm package (60c4aa1)
  • Use the new pact_ffi instead of the verifier-only one (5d2f364)

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)