All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
9.17.3 (2022-03-16)
- 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)
- 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)
- Interaction response status can only be a number not a Matcher (Typescript type) (9904eca)
9.17.0 (2021-11-19)
9.16.5 (2021-10-24)
- 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)
- support null values in matchers (5bee9fc)
9.16.3 (2021-10-01)
- pact-node: bump dependency on pact-node (2ab2478)
9.16.2 (2021-09-30)
- give up on node 16 musl until we can remove neon (d2e2a7c)
- Remove unused package (fixes #752) (35584fb)
9.16.1 (2021-09-08)
- 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)
- add withMutation alias for withQuery for graphql interactions (1564a76)
- Print a much better error when the mock service fails to start (bbbc6f2)
9.15.5 (2021-04-21)
9.15.4 (2021-03-31)
- Bump pact-node version to get vulnerability fixes (bc0e7f0)
9.15.3 (2021-03-10)
- pact-web-types: Fix issue where typescript types were not exposed in pact-web (d529082)
9.15.2 (2021-02-28)
- pact-node: bump dependency on pact-node to fix regression in underlying pact broker interface (a200414)
9.15.1 (2021-02-23)
- package.json & package-lock.json to reduce vulnerabilities (aa8036c)
9.15.0 (2021-02-02)
- provider-states: Add beforeEach and afterEach hooks to provider verification (#529) - Fixes #526 (8147042)
9.14.2 (2021-01-28)
- 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)
- 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)
- add request/response tracing (37c3dc3)
- 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)
- 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)
- Expect at least one millisecond digit in iso8601DateTimeWithMillis (4f48823)
9.13.0 (2020-10-23)
- allow WebDav REPORT request (2928613)
9.12.2 (2020-10-06)
- types: Export LogLevel, PactOptions and MessageProviderOptions at the root of @pact-foundation/pact (a6b50d3)
9.12.1 (2020-09-24)
9.12.0 (2020-09-21)
- allow also WebDAV HTTP Requests (2ac811d)
- 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)
- 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)
- error thrown when query not string (c3ff00f)
- support array as query param (d140d0c)
- support arrays (57288ff)
- validate object values are strings (3863527)
- 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)
- 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)
- build: travis formatting (41afa50)
- pact-node: Bump dependency on pact-node to get support for wip pacts (5e165fb)
9.9.3 (2020-04-10)
- build: travis formatting (41afa50)
- pact-node: Bump dependency on pact-node to get support for wip pacts (5e165fb)
9.9.3 (2020-04-10)
- 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)
- support pending pacts and version selectors (51aacc3)
- 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)
9.8.0 (2020-03-02)
9.7.0 (2020-02-17)
- upgrade Pact Node to 10.3.1 (4503b32)
9.6.1 (2020-01-23)
- dependencies: Move bunyan-prettystream to a dependency instead of a dev dependency (805ed11)
9.6.0 (2020-01-01)
9.5.0 (2019-11-10)
- update pact-node to ^10.2.1 (100914f)
9.4.0 (2019-11-08)
- update pact-node to ^10.2.0 (c96cc89)
9.3.0 (2019-11-08)
- update pact-node to ^10.2.0 (f64cf69)
9.2.4 (2019-11-08)
- deps: Update vulnerable dependencies (f5d798a)
9.2.3 (2019-11-08)
- 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)
9.2.2 (2019-10-28)
- deps: Update pact-node to ^10.0.1 (844870d)
9.2.1 (2019-10-17)
9.2.0 (2019-10-08)
- 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)
- Automatically set
changeOrigin: true
for non-local verifications (#319) (60f2dc3), closes #280 #281 #282 - grahpql: allow operation to have null (88acdc0)
9.1.1 (2019-09-05)
- Upgrade pact-node minimum version to bring in broker auth with token (41844fe)
9.1.0 (2019-08-07)
- tests: correct test that would not compile (8cafbbf)
- types: correct consumerVersionTag in verifier type (fixes #341) (7f6a87d)
- matching: add string type matcher. See pact-foundation#323 (#335) (9f49588)
9.0.1 (2019-07-17)
- add pactBrokerToken to match pact-node VerifierOptions (89df786)
9.0.0 (2019-07-16)
- pact-node: bump version of pact-node to 9.0.0 (cede852)
- 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.
8.2.6 (2019-06-18)
8.2.5 (2019-06-18)
8.2.4 (2019-05-15)
8.2.3 (2019-05-15)
8.2.2 (2019-04-26)
8.2.1 (2019-04-26)
- verifier: providerStateSetupUrl passed to Verifier constructor should take precedence (#295) (9d118a8)
8.2.0 (2019-04-12)
8.1.2 (2019-04-12)
- example: ensure 401 case has invalid bearer token (0dd519b)
8.1.1 (2019-04-11)
8.1.0 (2019-03-29)
- upgrade to @pact-foundation/pact-node@^8.1.1 (087d79d), closes #287
8.0.5 (2019-03-12)
8.0.4 (2019-03-11)
- messages: prevent message proxy from running twice (50219b1)
- veriry: allow self-signed certificates in provider verification. Fixes #280 (122eb24)
8.0.3 (2019-03-11)
- messages: prevent message proxy from running twice (50219b1)
- veriry: allow self-signed certificates in provider verification. Fixes #280 (122eb24)
8.0.2 (2019-02-23)
8.0.1 (2019-02-23)
8.0.0 (2019-02-23)
- 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)
7.4.0 (2019-02-22)
- matchers: remove hardcoded true value from a boolean matcher (499c02c)
- portcheck: feedback from PR 266#discussion_r255314895 (c583224), closes 266#discussion_r255314895
7.3.0 (2019-02-09)
7.2.0 (2018-11-28)
- examples: add array bracket notation example to jest tests (93c1572)
- isodate-matcher: ensure minimum 3 precision on iso data matcher (b9144bb)
7.1.0 (2018-11-28)
7.0.4 (2018-11-24)
- graphql: omit variables and operation name if empty. Fixes #243 (0ac2709)
- vulnerabilities: upgrade version of pact-node (#244) (d8214e6)
7.0.3 (2018-11-07)
- apply logLevel to local logger (6e31407)
7.0.2 (2018-10-27)
- 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)
7.0.1 (2018-10-15)
7.0.0 (2018-10-09)
- README.md: providerVersion is a string not a boolean (#217) (15706cc)
- test: fix port unavailable test on windows (c41a934)
- deprecate: deprecate Node version < 6 (c778880)
- deprecate: No longer supporting Node versions 4 or 5.
6.0.2 (2018-10-01)
- 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)
6.0.1 (2018-08-19)
5.9.1 (2018-05-10)
- interaction: include response body if set to empty string (2db0f23)
6.0.0-alpha.15 (2018-07-17)
- interaction: include response body if set to empty string (abc20d4)
6.0.0-alpha.14 (2018-05-08)
- message: modify message: content -> contents (38e57a8)
- upgrade: update to pact-node 6.16.x (c1d938b)
6.0.0-alpha.13 (2018-04-29)
- graphql: escape queries with variables (8b64dd4)
6.0.0-alpha.12 (2018-04-22)
- example: example GraphQL pact test (3280a81)
- graphql: add basic GraphQL wrapper function (641e0e7)
- message: tidy up Message interface and tests (58c334c)
6.0.0-alpha.11 (2018-04-22)
- example: example GraphQL pact test (3280a81)
- graphql: add basic GraphQL wrapper function (641e0e7)
- message: tidy up Message interface and tests (58c334c)
6.0.0-alpha.10 (2018-04-20)
6.0.0-alpha.9 (2018-04-20)
6.0.0-alpha.8 (2018-04-15)
- messages: setup provider states in verification (57f7352)
6.0.0-alpha.7 (2018-04-05)
6.0.0-alpha.6 (2018-04-05)
6.0.0-alpha.5 (2018-04-04)
- messages: implement v3 compatible provider states (8e113a5)
6.0.0-alpha.4 (2018-04-01)
- test: fix promise resolution in test (ce31f31)
- 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)
6.0.0-alpha.2 (2018-03-31)
6.0.0-alpha.1 (2018-03-31)
6.0.0-alpha.0 (2018-03-31)
- messages: initial WIP for message pacts (fd3526e)
5.9.0 (2018-03-27)
- upgrade: update to pact-node 6.13.x (b19f069)
5.8.0 (2018-03-25)
- upgrade: update to pact-node 6.12.x (6e5c2e1)
5.7.0 (2018-02-28)
5.6.1 (2018-02-25)
5.6.0 (2018-02-22)
5.5.1 (2018-02-20)
5.5.0 (2018-02-09)
- upgrade: update to pact-node 6.8.x (fd4ae99)
5.4.0 (2018-02-08)
- types: allow builder usage in Pact tests (cb6305b)
5.3.2 (2018-01-11)
5.3.1 (2018-01-06)
- logging: set pact-node log level before constructing server #139 (b2f5c2d)
- verifier: properly wrap pact-node q promise in verifier (affca89)
5.3.0 (2017-12-11)
5.2.0 (2017-12-10)
- 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
5.1.0 (2017-12-08)
- examples: extending ava examples with matchers (51fb8ae)
- pact-node: update to latest pact-node 6.4.x (3d8aef0)
5.0.3 (2017-12-06)
5.0.0 (2017-12-06)
- 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)
- 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)
- api: - Provider verification exposed via a Verifier class
- Matchers exposed through separate sub-module
- pact-web: Requires constructor to create now.
4.2.1 (2017-11-05)
4.2.0 (2017-11-05)
4.1.0 (2017-10-18)
- release: update release process to use standard-version (47d118d)
4.0.0 (2017-10-18)
- 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)
3.0.1 (2017-09-19)
- 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)
- karma: relax consumer/provider requirement in MockService (e9f3a4a)
2.7.0 (2017-08-06)
- example: adding example for the AVA test framework (65e8314)
- upgrade: upgrade to latest pact node v4.12.0 (50e1041)
2.6.0 (2017-06-13)
2.5.0 (2017-05-15)
2.4.1 (2017-05-12)
- writemode: update pactFileWriteMode flag and docs (6b32990)
2.4.0 (2017-05-11)
- mock service: add pactfile_write_mode option handling (da92274)
- verifications: update example to publish verification results (592b9db)
2.3.4 (2017-04-26)
- pact-web: only deploy pact-web on tagged master (a66cbea)
2.3.3 (2017-04-21)
- port-check: check if port is available during setup() #37 (c729d8e)
- typescript: add TypeScript annotations (8eeb561)
2.3.1 (2017-04-03)
2.2.1 (2017-03-12)
- 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)
2.2.0 (2017-02-27)
2.1.0 (2017-02-27)
- test: update end-to-end test example (cb38b17)
- verify: update to latest pact-node including ability to set verification timeout #28 (4d0901e)
2.0.1 (2017-02-26)
2.0.0 (2017-02-22)
- 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)
- 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)
1.0.0 (2017-01-21)
- 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)
1.0.0-rc.5 (2016-08-28)
- interceptor: remove Interceptor from DSL (0b9e4f4)
1.0.0-rc.4 (2016-08-02)
- app: update distribution files (8f9f7e2)
1.0.0-rc.3 (2016-08-01)
1.0.0-rc.2 (2016-07-11)
- lib: better handling HTTP responses (7b07821)