Skip to content

Releases: pact-foundation/pact-js-core

Release v13.1.2

06 Sep 11:30

Choose a tag to compare

13.1.2 (2021-09-06)

Fixes and Improvements

  • Don't create logger on each log call, so that frameworks that check for imports after teardown (jest) don't throw errors deep inside pino (c5cf077)

Release v13.1.1

06 Sep 10:49

Choose a tag to compare

13.1.1 (2021-09-06)

Fixes and Improvements

  • bump dependencies to fix a possible issue with a misbehaving pino (fe09e4e)

Release v13.1.0

26 Aug 04:36

Choose a tag to compare

13.1.0 (2021-08-26)

Features

  • The new verifier now works on windows too (#316) (072e080)

Fixes and Improvements

  • correct ffi library name on windows (814ed9c)

Release v13.0.1

24 Aug 05:46

Choose a tag to compare

13.0.1 (2021-08-24)

Fixes and Improvements

  • expose needle types as a dependency to fix TS (e8ad281)

Release v13.0.0

24 Aug 02:32

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

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

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

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

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

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)