Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
9.17.3 (2022-03-16)â
Fixes and Improvementsâ
- remove rust from v3 release build (2a5f65b)
- The table on README.md is corrupted and unreadable (#832) (b73fa05)
- throw an error when pact spec version is not set to 2 (4186c22)
- upgrade to latest pact-node (0d9b127)
- verifier req/res logging on debug (#835) (3edc5a0)
9.17.2 (2022-01-12)â
Fixes and Improvementsâ
- All options are now passed down to pact-core in consumer pacts, allowing usage of the undocumented
monkeypatch
option (50f00b4)
9.17.1 (2021-12-31)â
Fixes and Improvementsâ
- Interaction response status can only be a number not a Matcher (Typescript type) (9904eca)
9.17.0 (2021-11-19)â
Featuresâ
9.16.5 (2021-10-24)â
Fixes and Improvementsâ
- Bump version of pact-node to ensure the fix for the SSL certificate issue is included (20bbf7a)
- consumer-tests: Further improve the error message when a consumer test doesn't seem to have the mock server running (c2d789c)
9.16.4 (2021-10-10)â
Fixes and Improvementsâ
- support null values in matchers (5bee9fc)
9.16.3 (2021-10-01)â
Fixes and Improvementsâ
- pact-node: bump dependency on pact-node (2ab2478)
9.16.2 (2021-09-30)â
Fixes and Improvementsâ
- give up on node 16 musl until we can remove neon (d2e2a7c)
- Remove unused package (fixes #752) (35584fb)
9.16.1 (2021-09-08)â
Fixes and Improvementsâ
- Add
timeout
option to PactOptions for waiting for the mock server to start (85c1d36) - bump dependency on pact-node to avoid broken 10.13.6 (de5db6b)
- Bump version of pact-node to pick up less vulnerable dependencies (0ab095e)
- update examples with path dependency (#717) (7c91c33)
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)
9.15.5 (2021-04-21)â
Fixes and Improvementsâ
9.15.4 (2021-03-31)â
Fixes and Improvementsâ
- Bump pact-node version to get vulnerability fixes (bc0e7f0)
9.15.3 (2021-03-10)â
Fixes and Improvementsâ
- pact-web-types: Fix issue where typescript types were not exposed in pact-web (d529082)
9.15.2 (2021-02-28)â
Fixes and Improvementsâ
- pact-node: bump dependency on pact-node to fix regression in underlying pact broker interface (a200414)
9.15.1 (2021-02-23)â
Fixes and Improvementsâ
- package.json & package-lock.json to reduce vulnerabilities (aa8036c)
9.15.0 (2021-02-02)â
Featuresâ
- provider-states: Add beforeEach and afterEach hooks to provider verification (#529) - Fixes #526 (8147042)
Fixes and Improvementsâ
9.14.2 (2021-01-28)â
Fixes and Improvementsâ
- pact-node: Bump dependency on pact-node to avoid regression in query string matching (9c733ce)
- pact-node: bump dependency on pact-node to get verbose logging in verification #583 (66e9dca)
9.14.1 (2021-01-27)â
Fixes and Improvementsâ
- set permissions for Ruby binaries on GH Actions (8881ee7)
- set permissions for Ruby binaries on GH Actions (5701c0f)
- pact-node: bump dependency on pact-node to get verbose logging in verification #583 (8b26262)
- increase provider test timeout (f850859)
- publish V3 was not kicking off the native libs release process (23bd533)
9.14.0 (2021-01-09)â
Featuresâ
- add request/response tracing (37c3dc3)
Fixes and Improvementsâ
- logger: Message consumers now respect the specified log level (98e601c)
- pact-web: Pact-web is now built using webpack 4. Please let us know if there are any issues (27fd1b5)
9.13.2 (2021-01-04)â
Bug Fixesâ
- popsicle: Increase maxBufferSize of requests to infinity (8fd751a)
- web: Use latest can-i-use database when producing distribution (cae3ea2)
- small errors (076549e)
9.13.1 (2020-12-11)â
Bug Fixesâ
- Expect at least one millisecond digit in iso8601DateTimeWithMillis (4f48823)
9.13.0 (2020-10-23)â
Featuresâ
- allow WebDav REPORT request (2928613)
9.12.2 (2020-10-06)â
Bug Fixesâ
- types: Export LogLevel, PactOptions and MessageProviderOptions at the root of @pact-foundation/pact (a6b50d3)
9.12.1 (2020-09-24)â
Bug Fixesâ
9.12.0 (2020-09-21)â
Featuresâ
- allow also WebDAV HTTP Requests (2ac811d)
Bug Fixesâ
- package.json & package-lock.json to reduce vulnerabilities (0bb8512)
- pact-node: Bump version of pact-node to pick up improved logging options (1e09e1e)
9.11.1 (2020-07-18)â
Bug Fixesâ
- deps: Bump lodash dependency version to obtain security fix (c035482)
- package.json & package-lock.json to reduce vulnerabilities (f147ad2)
- package.json & package-lock.json to reduce vulnerabilities (c620dc1)
- deps: Update vulnerable dependencies (2b2ce6e)
9.11.0 (2020-05-20)â
Featuresâ
- error thrown when query not string (c3ff00f)
- support array as query param (d140d0c)
- support arrays (57288ff)
- validate object values are strings (3863527)
Bug Fixesâ
- dsl: Fix extractPayload so that it passes through object properties that are not matchers (fixes #454) (c0f3d37)
- package.json & package-lock.json to reduce vulnerabilities (69d97e0)
- package.json & package-lock.json to reduce vulnerabilities (2184a5d)
9.10.0 (2020-04-24)â
Featuresâ
- remove need for pact-node in almost all uses, including examples (4e22828)
- update PactWeb and MessageProviderPact interface (b82976f)
9.9.12 (2020-04-19)â
9.9.11 (2020-04-19)â
9.9.10 (2020-04-19)â
9.9.9 (2020-04-19)â
9.9.8 (2020-04-19)â
9.9.7 (2020-04-19)â
9.9.6 (2020-04-19)â
9.9.5 (2020-04-16)â
9.9.4 (2020-04-16)â
9.9.3 (2020-04-10)â
Bug Fixesâ
- build: travis formatting (41afa50)
- pact-node: Bump dependency on pact-node to get support for wip pacts (5e165fb)
9.9.3 (2020-04-10)â
Bug Fixesâ
- build: travis formatting (41afa50)
- pact-node: Bump dependency on pact-node to get support for wip pacts (5e165fb)
9.9.3 (2020-04-10)â
Bug Fixesâ
- build: travis formatting (41afa50)
- pact-node: Bump dependency on pact-node to get support for wip pacts (5e165fb)
9.9.2 (2020-03-30)â
9.9.1 (2020-03-30)â
9.9.0 (2020-03-26)â
Featuresâ
- support pending pacts and version selectors (51aacc3)
Bug Fixesâ
- deps: Update vulnerable dependencies (cae591e)
- pact-node: Bump pact-node to ^10.7.0, bringing a couple of fixes useful for debugging (25ecd71)
9.8.2 (2020-03-20)â
9.8.1 (2020-03-16)â
Bug Fixesâ
9.8.0 (2020-03-02)â
Featuresâ
9.7.0 (2020-02-17)â
Featuresâ
- upgrade Pact Node to 10.3.1 (4503b32)
9.6.1 (2020-01-23)â
Bug Fixesâ
- dependencies: Move bunyan-prettystream to a dependency instead of a dev dependency (805ed11)
Featuresâ
# [9.5.0](https://github.com/pact-foundation/pact-js/compare/v9.4.0...v9.5.0) (2019-11-10)Featuresâ
- update pact-node to ^10.2.1 (100914f)
Featuresâ
- update pact-node to ^10.2.0 (c96cc89)
Featuresâ
- update pact-node to ^10.2.0 (f64cf69)
Bug Fixesâ
- deps: Update vulnerable dependencies (f5d798a)
Bug Fixesâ
- deps: Upgrade vulnerable dependencies and correct peer dependencies (#388) (4a19161)
- examples: Set jasmine timeout in Jest example, preventing brittle tests (fixes #383) (#386) (5f76433)
- net: stop port check from failing due to ipv6 unavailability (#381) (#389) (9ae53c2)
Bug Fixesâ
- deps: Update pact-node to ^10.0.1 (844870d)
Bug Fixesâ
- examples: correct karma/jasmine example to use jasmine instead of mocha (#365) (96a0758)
- MessageProvider: Shut down test environment even if message provider throws an error (#366) (3d66117)
- upgrade vulnerable dependencies (2380b75)
Featuresâ
- Automatically set
changeOrigin: true
for non-local verifications (#319) (60f2dc3), closes #280 #281 #282 - grahpql: allow operation to have null (88acdc0)
Bug Fixesâ
- Upgrade pact-node minimum version to bring in broker auth with token (41844fe)
Bug Fixesâ
- tests: correct test that would not compile (8cafbbf)
- types: correct consumerVersionTag in verifier type (fixes #341) (7f6a87d)
Featuresâ
- matching: add string type matcher. See https://github.com/pact-foundation/pact-js/issues/323 (#335) (9f49588)
Bug Fixesâ
- add pactBrokerToken to match pact-node VerifierOptions (89df786)
Bug Fixesâ
depsâ
- pact-node: bump version of pact-node to 9.0.0 (cede852)
BREAKING CHANGESâ
- pact-node: pact-node 9.0.0 removes the pact-cli wrapper in favour of exposing the pact-standalone binaries as binstubs. Scripts using the pact cli will need to be updated to use the standalone binaries.
Bug Fixesâ
- verifier: providerStateSetupUrl passed to Verifier constructor should take precedence (#295) (9d118a8)
Featuresâ
## [8.1.2](https://github.com/pact-foundation/pact-js/compare/v8.1.1...v8.1.2) (2019-04-12)Bug Fixesâ
- example: ensure 401 case has invalid bearer token (0dd519b)
Featuresâ
- upgrade to @pact-foundation/pact-node@^8.1.1 (087d79d), closes #287
Bug Fixesâ
## [8.0.4](https://github.com/pact-foundation/pact-js/compare/v8.0.2...v8.0.4) (2019-03-11)Bug Fixesâ
- messages: prevent message proxy from running twice (50219b1)
- veriry: allow self-signed certificates in provider verification. Fixes #280 (122eb24)
Bug Fixesâ
- messages: prevent message proxy from running twice (50219b1)
- veriry: allow self-signed certificates in provider verification. Fixes #280 (122eb24)
Bug Fixesâ
Featuresâ
- dynamic-proxy: working dynamic proxy code with tests (d8e2eec)
- proxy: add docs and e2e examples of filters and stateHandlers (5561980)
- proxy: cleanup verifier interface (63a661b)
Bug Fixesâ
- matchers: remove hardcoded true value from a boolean matcher (499c02c)
- portcheck: feedback from PR 266#discussion_r255314895 (c583224), closes 266#discussion_r255314895
Featuresâ
# [7.3.0](https://github.com/pact-foundation/pact-js/compare/v7.2.0...v7.3.0) (2019-02-09)Bug Fixesâ
Featuresâ
# [7.2.0](https://github.com/pact-foundation/pact-js/compare/v7.1.0...v7.2.0) (2018-11-28)Bug Fixesâ
Featuresâ
- examples: add array bracket notation example to jest tests (93c1572)
- isodate-matcher: ensure minimum 3 precision on iso data matcher (b9144bb)
Featuresâ
## [7.0.4](https://github.com/pact-foundation/pact-js/compare/v7.0.3...v7.0.4) (2018-11-24)Bug Fixesâ
- graphql: omit variables and operation name if empty. Fixes #243 (0ac2709)
- vulnerabilities: upgrade version of pact-node (#244) (d8214e6)
Bug Fixesâ
- apply logLevel to local logger (6e31407)
Bug Fixesâ
- graphql: allow arbitrary operation names in GraphQL interface #235 (16df628)
- interaction-failure: clear interactions on any verify() (fbc5ac0), closes #231
- matchers: allow integers/decimals to be 0 (#236) (c40ce32)
Bug Fixesâ
# [7.0.0](https://github.com/pact-foundation/pact-js/compare/v6.0.2...v7.0.0) (2018-10-09)Bug Fixesâ
- README.md: providerVersion is a string not a boolean (#217) (15706cc)
- test: fix port unavailable test on windows (c41a934)
Choresâ
- deprecate: deprecate Node version < 6 (c778880)
BREAKING CHANGESâ
- deprecate: No longer supporting Node versions 4 or 5.
Bug Fixesâ
- examples/typescript: fix example failing to run (f2ed7d7)
- examples/typescript: fix the typings for getMeDogs (42bbb9a)
- examples/typescript: missing dependencies (314119d)
- vulnerabilities: run npm audit fix on e2e tests (934789f)
Bug Fixesâ
## [5.9.1](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.14...v5.9.1) (2018-05-10)Bug Fixesâ
- interaction: include response body if set to empty string (2db0f23)
Bug Fixesâ
- interaction: include response body if set to empty string (abc20d4)
Featuresâ
# [6.0.0-alpha.13](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.12...v6.0.0-alpha.13) (2018-04-29)Featuresâ
- graphql: escape queries with variables (8b64dd4)
Featuresâ
- example: example GraphQL pact test (3280a81)
- graphql: add basic GraphQL wrapper function (641e0e7)
- message: tidy up Message interface and tests (58c334c)
Featuresâ
- example: example GraphQL pact test (3280a81)
- graphql: add basic GraphQL wrapper function (641e0e7)
- message: tidy up Message interface and tests (58c334c)
Bug Fixesâ
# [6.0.0-alpha.9](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.8...v6.0.0-alpha.9) (2018-04-20)Bug Fixesâ
# [6.0.0-alpha.8](https://github.com/pact-foundation/pact-js/compare/v6.0.0-alpha.7...v6.0.0-alpha.8) (2018-04-15)Featuresâ
- messages: setup provider states in verification (57f7352)
Featuresâ
- messages: implement v3 compatible provider states (8e113a5)
Bug Fixesâ
- test: fix promise resolution in test (ce31f31)
Featuresâ
- example: working serverless example with pact. #166 (d4a49f5)
- message: fix message structure sent to consumer verify(). #166 (ee1ddf0)
- serverless-example: add basic serverless SNS example (08cd73b)
Featuresâ
- messages: initial WIP for message pacts (fd3526e)
Featuresâ
- upgrade: update to pact-node 6.13.x (b19f069)
Featuresâ
- upgrade: update to pact-node 6.12.x (6e5c2e1)
Featuresâ
## [5.6.1](https://github.com/pact-foundation/pact-js/compare/v5.6.0...v5.6.1) (2018-02-25)# [5.6.0](https://github.com/pact-foundation/pact-js/compare/v5.5.1...v5.6.0) (2018-02-22)Featuresâ
## [5.5.1](https://github.com/pact-foundation/pact-js/compare/v5.5.0...v5.5.1) (2018-02-20)# [5.5.0](https://github.com/pact-foundation/pact-js/compare/v5.4.0...v5.5.0) (2018-02-09)Featuresâ
- upgrade: update to pact-node 6.8.x (fd4ae99)
Featuresâ
- types: allow builder usage in Pact tests (cb6305b)
Bug Fixesâ
- logging: set pact-node log level before constructing server #139 (b2f5c2d)
- verifier: properly wrap pact-node q promise in verifier (affca89)
Featuresâ
# [5.2.0](https://github.com/pact-foundation/pact-js/compare/v5.0.3...v5.2.0) (2017-12-10)Bug Fixesâ
Featuresâ
- examples: extending ava examples with matchers (51fb8ae)
- mock-service: pass arguments to CLI not API (2b9053c), closes #105
- pact-node: update to latest pact-node 6.4.x (2430ee0), closes #131
Bug Fixesâ
Featuresâ
- examples: extending ava examples with matchers (51fb8ae)
- pact-node: update to latest pact-node 6.4.x (3d8aef0)
Bug Fixesâ
- amd: do not name AMD module in UMD #98 (fced1ab)
- build: fix for bash script and output helpful information during projects tests (192f9e4)
- examples: update jasmine karma example with best practice #122 (93cba30)
- examples: update mocha karma example with best practice #122 (a62d00f)
- src: fix typo in eachLike error message (601d158)
- tests: update e2e tests with latest API (09a9f03)
- verification: pass validation error message on #114 (302357f)
Featuresâ
- api: cleanup public API (39dfc45)
- finalise: warn if finalise called more than once (bc52810)
- karma: relax consumer/provider requirement in MockService #96 (62a9c44)
- matching: add a number of common matchers to DSL (4259171)
- pact-node: upgrade to latest pact-node 5.1.x (fde380e)
- pact-node: upgrade to pact-node 5.2.1 (f9bd4ae)
- pact-server: allow running mock server on non-local host #115 (b6866ef)
- pact-web: refactor PactWeb module (95b26c4)
- release: update release process to use standard-version (ae96806)
- types: reexport Interaction and MockService namespace #117 (e1b658f)
- types: reexport Interaction and MockService namespace into pact-web #117 (c3cd435)
- typescript: add integration pact tests (3b2279a)
- typescript: fix pact-web and karma tests (91ef75c)
- typescript: initial TypeScript setup (c6e6c3a)
BREAKING CHANGESâ
- api: - Provider verification exposed via a Verifier class
- Matchers exposed through separate sub-module
- pact-web: Requires constructor to create now.
Featuresâ
# [4.1.0](https://github.com/pact-foundation/pact-js/compare/v4.0.0...v4.1.0) (2017-10-18)Featuresâ
- release: update release process to use standard-version (47d118d)
Bug Fixesâ
Featuresâ
- pact-node: upgrade to pact-node 5.x.x (6d2ad81)
- pact-server: Allow to run pact mock server on a host other than localhost/127.0.0.1 (e24be20)
Bug Fixesâ
- lint: fix lint in mock service (e4c61b1)
- tests: update e2e tests with timeout for CI builds (f141c5e)
- typo: cosmetic cleanup for typo of wrong project name (18d49f6)
Featuresâ
- karma: relax consumer/provider requirement in MockService (e9f3a4a)
Bug Fixesâ
Featuresâ
- example: adding example for the AVA test framework (65e8314)
- upgrade: upgrade to latest pact node v4.12.0 (50e1041)
Featuresâ
- writemode: update pactFileWriteMode flag and docs (6b32990)
Bug Fixesâ
Featuresâ
- mock service: add pactfile_write_mode option handling (da92274)
- verifications: update example to publish verification results (592b9db)
Featuresâ
- pact-web: only deploy pact-web on tagged master (a66cbea)
Featuresâ
- port-check: check if port is available during setup() #37 (c729d8e)
- typescript: add TypeScript annotations (8eeb561)
Bug Fixesâ
- test: fix logic issue in karma tests that was passing for the wrong reasons (080898f)
- test: update karma jasmine test to properly fail tests if verification fails. (802d5dc)
- test: update karma mocha test to fail if verification fails (98a6380)
Featuresâ
# [2.1.0](https://github.com/pact-foundation/pact-js/compare/v2.0.1...v2.1.0) (2017-02-27)Featuresâ
- test: update end-to-end test example (cb38b17)
- verify: update to latest pact-node including ability to set verification timeout #28 (4d0901e)
Bug Fixesâ
# [2.0.0](https://github.com/pact-foundation/pact-js/compare/v1.0.0...v2.0.0) (2017-02-22)Bug Fixesâ
- api: remove redundant responseParser and tests (a06a14d)
- test: properly pass through ssl flag (bc3120d)
- test: set timeout to 10s for Travis builds (e76d0e8)
- test: update all mainline tests to match new API (936a75d)
- test: update e2e test to properly wait for pact finalisation (b98c1f9)
- test: update formatting in integration test (6bd19c9)
- test: update jest tests with new API, fixes #21 (4eb2e1c)
- test: update mocha tests with new API, fixes #22 (2062d6d)
- tests: remove trailing semi-colons for consistency (7a9565d)
Featuresâ
- api: redesign API to make it simpler to interact with (67482d1)
- examples: update e2e provider test to use mocha interface (898203a)
- karma: update code formatting (ef27b7c)
- karma: update tests for karma suite and adapted Pact API for Karma (7182c7b)
Featuresâ
- example: add better readme, cleanup linting for E2E example (4a8e8cb)
- examples: running consumer tests for E2E example (274f18f)
- examples: update docu for e2e example (491f641)
- examples: WIP e2e example (14a464c)
- examples: working e2e example (24b9888)
Bug Fixesâ
Featuresâ
- interceptor: remove Interceptor from DSL (0b9e4f4)
Featuresâ
- app: update distribution files (8f9f7e2)
Bug Fixesâ
- lib: better handling HTTP responses (7b07821)