All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
13.9.0 (2022-09-07)
- support PACT_BROKER_PUBLISH_VERIFICATION_RESULTS (64872ae)
13.8.0 (2022-09-05)
- Add Linux/arm64 support (a174d7b)
13.7.9 (2022-08-30)
13.7.8 (2022-08-19)
- correct binary matching behaviour (5794c74)
13.7.7 (2022-08-14)
- update FFI core and fix order of verifier FFI calls (3a70f2e)
13.7.6 (2022-08-13)
- validateOptions should ignore unknown properties (8e2af40)
13.7.5 (2022-08-13)
13.7.4 (2022-08-13)
13.7.3 (2022-08-12)
13.7.2 (2022-08-11)
13.7.1 (2022-08-09)
- map pactflow command to correct binary / add tests (31f4df9)
13.7.0 (2022-08-09)
- expose pactflow pact-ruby-standalone command (d9f9fc7)
13.6.2 (2022-07-06)
13.6.1 (2022-07-04)
- send NUL terminated strings to pactffi_message_with_contents for non-binary payloads (ac4557c)
- update standalone to 1.88.91-rc4 (#378) (f9344ea)
- update standalone to 1.89.01-rc1 (#381) (8f70fa3)
13.6.0 (2022-03-21)
- add plugin consumer native methods (aeef054)
- add plugin to consumer interfaces (ea0f536)
- add test for protobufs/plugin (6bf78d8)
- bump native version to 0.1.6 (d59d1a6)
- message pact interface (76baab8)
- support custom provider headers in verification (d63e1a9)
- correct arguments for source with selectors (dd7ef00)
- download cpp header and c header (bbc2321)
- native builds failing on windows (4e27713)
- remove dead code, fix bug in URL vs file handling (dcd53e0)
- remove overall verification timeout (see pact-foundation/pact-js#761) (bb52158)
- update rust core to 0.2.4 (7407333)
- upgrade to ffi 0.2.2 (6e4b758)
- x-platform binary consumer spec (1a81ed4)
13.5.1 (2022-03-15)
- update standalone to 1.88.83 (423817d)
13.5.0 (2022-02-21)
- collect usage telemetry data (f97e114)
13.4.1 (2021-12-16)
- update standalone to 1.88.81 (9abfa06)
13.4.0 (2021-12-14)
- Add buildUrl option to Pact Broker Publishing API (58be64a)
- update standalone to 1.88.80 (c0332e8)
13.3.0 (2021-10-29)
- Add new branch consumerVersionSelector options to verifier (c3872be)
13.2.1 (2021-10-18)
- publisher: Fix an issue that caused the publisher API to reject with the most recent binaries (As an aside, the recommended approach is to use the CLI not the API for almost all use cases- see the examples for more details) (4a100bb)
- Substantially improve error messages if the pact publisher API fails (81d3511)
13.2.0 (2021-10-16)
- Add a beta interface to the FFI / V3 Consumer tests. Try it out with
import { makeConsumerPact } from 'pact-core/src/consumer'
(46d6667) - Revert the consumer changes until the issues with node 14 are fixed (the release notes about the V3 consumer support in this release are not true, sorry) (dc5217d)
- Pass logLevel down to the native consumer (88b329c)
- Pin standalone version back to the last known good version 1.88.66 (77eab71)
- update standalone to 1.88.68 (5f38729)
- update standalone to 1.88.69 (ceb7071)
- update standalone to 1.88.70 (138a2c4)
- update standalone to 1.88.71 (850178d)
- update standalone to 1.88.72 (f8d0d0f)
- update standalone to 1.88.73 (4ba164d)
- update standalone to 1.88.75 (c2fc6ac)
- update standalone to 1.88.76 (eea5c54)
- update standalone to 1.88.77 (9659f35)
- verifier: Correctly pass down log levels to the native core (c11ce75)
- verifier: Correctly pass down log levels to the native core (13d5ded)
- Warn if broker arguments are set without a broker URL and ignore the argument (fixes pact-foundation/pact-js#760) (17d3eb1)
13.1.7 (2021-09-22)
- Bump version of libpact_ffi to 0.0.2 (490249c)
- Verifier now accepts explicitly setting options to undefined (it will ignore and warn). This fixes a regression introduced in beta-45 (7521c61)
13.1.6 (2021-09-14)
- verifier: Correct the way that authentication tokens are sent to the verifier (4902db7)
13.1.5 (2021-09-09)
- add disableSslVerification option to verifier (f354d8a)
- update standalone to 1.88.66 (#320) (92f0532)
13.1.4 (2021-09-08)
- Fix an issue that caused ENOENT on some platforms (943484a)
- update standalone to 1.88.65 (#319) (3be38b4)
13.1.3 (2021-09-06)
- Add consumer version selectors for deployedOrReleased, deployed, released and environment (#715) (1bf3b22)
13.1.2 (2021-09-06)
- 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)
13.1.1 (2021-09-06)
- bump dependencies to fix a possible issue with a misbehaving pino (fe09e4e)
13.1.0 (2021-08-26)
- correct ffi library name on windows (814ed9c)
13.0.1 (2021-08-24)
- expose needle types as a dependency to fix TS (e8ad281)
13.0.0 (2021-08-24)
- setLogLevel no longer accepts or returns a
number
- The verbose option has been removed, as it is now implied by
logLevel
ofDEBUG
orTRACE
- 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.
-
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)
- 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)
11.1.1 (2021-08-11)
- 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)
11.1.0 (2021-08-02)
- improve m1 support (via rosetta2) (92bd98b)
- Replace request with needle (b053e54)
- update standalone to 1.88.58 (b95b6ae)
- update standalone to 1.88.61 (019af87)
12.0.0-beta.0 (2021-06-28)
- The verbose option has been removed, as it is now implied by
logLevel
ofDEBUG
orTRACE
- 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.
-
Use the native ffi bindings for the Verifier instead of the ruby bindings (1aea16f)
-
Add migration docs and update readme (6bd0df0)
11.0.1 (2021-06-21)
11.0.0 (2021-05-21)
-
All the interfaces that previously returned
q.Promise
have now been replaced with native es6Promise
s. Calling code will need to be updated. -
All options deprecated in previous versions have been removed. Migration instructions:
-
In
VerifierOptions
: replace use oftags
,consumerVersionTag
andproviderVersionTag
with the appropriateconsumerVersionTags
orproviderVersionTags
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
orversion
. 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/
-
docs: Add description of consumer version selectors to the documentation. (1bdb45d)
- ConsumerVersionSelector interface (b1e5afe)
- Replace
q
ith nativePromise
(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)
10.12.2 (2021-04-20)
- 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)
10.12.1 (2021-03-31)
- package.json & package-lock.json to reduce vulnerabilities (8d76550)
- update standalone to 1.88.41 (3916c88)
- update standalone to 1.88.45 (fcab9f8)
10.12.0 (2021-03-05)
- package-name: Pact-node renamed to pact-core (700ad09)
10.11.11 (2021-02-28)
- update standalone to 1.88.40 (618fb9d)
10.11.10 (2021-02-25)
- update standalone to 1.88.38 (de4aaf2)
10.11.9 (2021-02-24)
- 🐛 only download binary if PACT_SKIP_BINARY_INSTALL is true (69cbba0)
10.11.8 (2021-02-09)
- install: Use the current working directory instead of the installed directory when finding package.json (Fixes #234) (30c41dc)
10.11.7 (2021-02-02)
- logger: Log output now correctly reads pact-node instead of pact (c9f22e1)
- update standalone to 1.88.37 (383eb8a)
10.11.6 (2021-02-01)
- types: Correctly export logger type (in the future we should use our own type) (a4f766f)
10.11.5 (2021-02-01)
- update standalone to 1.88.36 (22e8414)
- can-i-deploy: Can-i-deploy now prints a warning instead of failing if additional output is produced alongside the json (364afb2)
- logger: Imply verbose mode when log level is debug or trace (814d4fb)
- logger: Now pact-node and ruby use the same logLevel if specified (513a60d)
- logging: Only log entire environment when log level is trace, not debug (c3b9f5f)
10.11.4 (2021-01-28)
- update standalone to 1.88.35 (d8dfe39)
10.11.3 (2021-01-28)
- update standalone to 1.88.34 (cba5625)
10.11.2 (2021-01-27)
- message: Change the way pact-message is invoked which should avoid some issues in Windows environments (92185b0)
- update standalone to 1.88.33 (d42e348)
10.11.1 (2021-01-04)
- message: Fixed an issue where message pacts could not be created on some platforms (a092ed9)
10.11.0 (2020-10-22)
- install: Binary install can be skipped by setting PACT_SKIP_BINARY_INSTALL=true (4d6b194)
10.10.2 (2020-10-19)
- Correct the config for using custom ca file (e83c895)
- spelling in error message. (c40170d)
- update standalone to 1.88.3 (6e1c80b)
10.10.1 (2020-08-26)
- server: remove force-clone of options (1a7a6e0)
10.10.0 (2020-08-10)
- logging: Add logLevel to Stub options, and add logDir and logLevel to Verifier options (acc0579)
- deps: Update vulnerable dependencies (239c7a7)
- package.json & package-lock.json to reduce vulnerabilities (70aa0f0)
- update standalone to 1.86.0 (524a7dd)
10.9.7 (2020-07-17)
- deps: update package and package-lock to fix vulnerabilties (6566680)
10.9.6 (2020-06-29)
- deps: Update vulnerable dependencies (d210c1b)
10.9.5 (2020-06-03)
- update standalone to 1.85.0 (acb9aa9)
10.9.4 (2020-05-04)
- options: Stop validating values for logLevel, pactFileWriteMode and format. This means we'll immediately pick up changes to those options without needing to modify pact-node (1319a86)
10.9.3 (2020-05-02)
- update standalone to 1.84.0 (9f2eb16)
10.9.2 (2020-04-22)
- update standalone to 1.83.0 (0cfefb4)
10.9.1 (2020-04-22)
- consumerVersionSelector -> consumerVersionSelectors (dab9507)
10.9.0 (2020-04-10)
- verifier: Add support for includeWipPactsSince (c691162)
- deprecate consumerVersionTag and providerVersionTag. Fixes #218 (3e932bd)
10.8.1 (2020-04-08)
- standalone: update standalone to 1.82.2 (#220) (ea85d0b), closes pact-foundation/pact-ruby-standalone#49
- correcting the cafile setup for postinstall download (a07e882)
10.8.0 (2020-03-26)
- add consumer version selectors and pending pacts to verification (59ab437)
10.7.1 (2020-03-23)
- standalone: Bump version of pact-standalone to 1.82.1 (improved json diff, basic auth config improvements) (bde0287)
10.7.0 (2020-03-23)
- deps: Update vulnerable dependencies (3c20366)
- verifier: Add verbose option to improve debugging during verification (3f0a5a3)
10.6.0 (2020-03-15)
- remove tests, point directly to npm config settings for ca and StrictSSL (ae36609)
- set strictSSL on custom downloads from NPM config. Fixes #211 (d264f0b)
- upgrade: update standalone to 1.82.0 (92c3af3)
10.5.0 (2020-03-02)
- lint errors (3786e13)
- remove decompress dependency as it is highly vulnerable. Fixes #208 (6956544)
- remove extracted binary folders on clean to avoid false positives (7e8f76b)
- use unzipper for .zip files, tar for tar.gz (f6d8da0)
- upgrade: update standalone to 1.81.0 (21a1564)
10.4.0 (2020-02-18)
- upgrade: update standalone to 1.80.1 (1a2f517)
10.3.1 (2020-02-17)
- missing api_key issue in travis https://travis-ci.community/t/missing-api-key-when-deploying-to-github-releases/5761/13 (8f503b8)
10.3.0 (2020-02-14)
- add validation to broker token usage to avoid confusion (2a4afa3)
- upgrade: update standalone to 1.79.0 (f33cbb8)
10.2.4 (2019-12-17)
10.2.3 (2019-12-11)
- spawn: Improve debug log formatting (977a845)
- spawn: Now binaries are spawned directly with array arguments, rather than quoted strings. Should fix #118 (378f256)
10.2.2 (2019-11-15)
10.2.1 (2019-11-10)
10.2.0 (2019-11-08)
- add provider version tag during verification (68b17d8)
10.1.0 (2019-11-08)
- add provider version tag during verification (68b17d8)
10.0.1 (2019-10-28)
- install: Correctly skip downloading the binary archive if it already exists (1c9a809)
- install: Fail installation if binary was not successfully downloaded (3dfb033)
- spawn: The command used to spawn the binary is now debug rather than info (fixes #184) (a9f1470)
10.0.0 (2019-10-28)
- can-i-deploy: Add custom error type CannotDeployError for when the deploy check fails (635b449)
- can-i-deploy: allow multiple pacticipants to be specified to CanDeploy (b4b3921)
- canDeploy: resolve with output on success (d20744e)
- CanDeploy: Set json output as the default for CanDeploy (200abe7)
- can-i-deploy: Options for CanDeploy have changed. Now, pacticipants are specified by an array of { name: , latest?: <string | boolean>, version?: }, allowing more than one pacticipant to be specified. You must specify one of latest
or version. If latest is
true
, the latest pact is used. If it is string, then the latest pact with that tag is used. - CanDeploy: CanDeploy now defaults to json output (and returns the parsed object as the result of the promise. If you were using CanDeploy and relied on parsing the logged output, you will need to explicitly set
output: table
in your CanDeploy options.
9.0.7 (2019-10-23)
9.0.6 (2019-10-10)
- verifier: allow to use progress formatter during verification (#189) (2571725)
- package.json, package-lock.json & .snyk to reduce vulnerabilities (0dc7a8f)
9.0.5 (2019-10-08)
- upgrade vulnerable dependencies (e79f929)
9.0.4 (2019-09-11)
- logging: print options in json instead of using a helper (9f09348)
9.0.3 (2019-09-05)
- Upgrade pact-standalone version to v1.70.2 (3f0f1fc)
9.0.2 (2019-08-06)
- Correct typo in verifier options mapping (810bd77)
- logging: Print args for spawn binary correctly in debug output (2b0ce9d)
9.0.1 (2019-08-05)
- server: Maintain a private reference to the global
setTimeout
function in case that function is mocked in a consumer test (e.g.sinon.useFakeTimers()
) (#110) (f4ebfff)
9.0.0 (2019-07-16)
- .snyk, package.json & package-lock.json to reduce vulnerabilities (31e34a1)
- prevent archive extracting as the wrong user when installling as root (d0941b0)
- introduce pact binary, and remove pact-cli (BREAKING CHANGE) (884ce24)
8.6.2 (2019-07-03)
- standalone: Update pact-standalone version to obtain fix for pact-foundation/pact_broker-client#50 (e0a1921)
8.6.1 (2019-06-28)
- standalone: Update pact-standalone version to obtain fix for pact-foundation/pact_broker-client#50 (e0a1921)
8.6.0 (2019-06-18)
- verifier: update to latest verifier (9f328db)
8.5.1 (2019-06-15)
- verifier: --monkeypatch flag missing (b1355bd)
8.5.0 (2019-06-12)
- verifier: update to latest verifier (da3d1e3)
8.4.1 (2019-06-06)
- cli: propagate exit code in node CLI wrapper (b961b79)
8.4.0 (2019-05-30)
- mock: fix q resolver in integration mocks (6de02db)
- binstubs: expose pact standalone binaries as alternative CLI (02f16cc)
- binstubs: expose pact standalone binaries as alternative CLI (5c164da)
8.3.3 (2019-05-22)
8.3.2 (2019-05-19)
8.3.1 (2019-05-16)
8.3.0 (2019-05-13)
8.2.0 (2019-04-26)
- verifier: update to latest verifier (8637cae)
8.1.2 (2019-04-11)
8.1.1 (2019-03-28)
8.1.0 (2019-03-08)
- publish: add bearer token to publish (3a411b4)
8.0.0 (2019-03-07)
- verifier: removal of Broker class
- can-i-deploy: Fixing can-i-deploy to only have a single participant at a time, but breaking API. New major release. (#144) (2032ba2)
6.21.4 (2019-02-09)
6.19.11 (2018-08-21)
6.19.10 (2018-08-13)
6.19.8 (2018-07-28)
6.19.6 (2018-07-13)
6.19.5 (2018-07-13)
- binary-location: Fixing failing tests on windows because the path.resolve would add 'C:' to the front of the path, failing the expectation (40f4d6d)
6.16.4 (2018-05-10)
6.16.1 (2018-05-08)
6.14.3 (2018-04-17)
6.14.2 (2018-04-05)
6.14.1 (2018-04-04)
6.14.0 (2018-03-30)
- message: add spec version to message type (7839a12)
6.13.0 (2018-03-27)
- messages: add Message Pact support (980a3f5)
6.10.0 (2018-02-22)
- upgrade: upgrade pact standalone to 3.7.0 (3b59836)
6.9.0 (2018-02-20)
- upgrade: upgrade pact standalone to 3.6.0 (0aa6f8f)
6.8.0 (2018-02-09)
- upgrade: upgrade pact standalone to 3.5.0 (82928f1)
6.6.0 (2017-12-13)
6.5.0 (2017-12-10)
6.4.1 (2017-12-08)
6.4.0 (2017-12-08)
- upgrade: upgrade pact standalone to 3.4.0 (a77f9f7)
6.3.0 (2017-12-04)
- custom-headers: allow user to specify custom headers during provider verification (3797193)
6.2.0 (2017-12-04)
- types: re-export out common types for library use (fa19b57)
6.1.0 (2017-12-03)
- lint: add noImplicitThis to TS configuration (eb17979)
- lint: fix noImplicitReturns TS issues (5c57288)
- types: add support for TS 'strictNullChecks' (76d8c38)
- types: feedback from mboudreau (e756592)
- types: uplift code base to comply with noImplicitAny (861ae89)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.