Skip to content

Latest commit

 

History

History
executable file
·
1357 lines (623 loc) · 56.1 KB

CHANGELOG.md

File metadata and controls

executable file
·
1357 lines (623 loc) · 56.1 KB

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

  • upgrade pact-node to support branches in verifications. Fixes #750 (a5ef42e)

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

  • pact-node: Fix for #635 (issue with message pact not respecting matching rules) (5063b7e)

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

  • logger: lowercase log level (8388776)
  • logger: replace bunyan with pino (fe6dd30)

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

  • allow matcher as the top-level value of a query string (2922f8f), closes #510

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

  • package.json & package-lock.json to reduce vulnerabilities (#418) (c1c7090)

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)

9.6.0 (2020-01-01)

Features

  • add email address matcher (14e8974)
  • email: add simplified email address format (f5ea38e)

9.5.0 (2019-11-10)

Features

  • update pact-node to ^10.2.1 (100914f)

9.4.0 (2019-11-08)

Features

  • update pact-node to ^10.2.0 (c96cc89)

9.3.0 (2019-11-08)

Features

  • update pact-node to ^10.2.0 (f64cf69)

9.2.4 (2019-11-08)

Bug Fixes

  • deps: Update vulnerable dependencies (f5d798a)

9.2.3 (2019-11-08)

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)

9.2.2 (2019-10-28)

Bug Fixes

  • deps: Update pact-node to ^10.0.1 (844870d)

9.2.1 (2019-10-17)

9.2.0 (2019-10-08)

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)

9.1.1 (2019-09-05)

Bug Fixes

  • Upgrade pact-node minimum version to bring in broker auth with token (41844fe)

9.1.0 (2019-08-07)

Bug Fixes

  • tests: correct test that would not compile (8cafbbf)
  • types: correct consumerVersionTag in verifier type (fixes #341) (7f6a87d)

Features

9.0.1 (2019-07-17)

Bug Fixes

  • add pactBrokerToken to match pact-node VerifierOptions (89df786)

9.0.0 (2019-07-16)

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.

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)

Bug Fixes

  • verifier: providerStateSetupUrl passed to Verifier constructor should take precedence (#295) (9d118a8)

8.2.0 (2019-04-12)

Features

  • graphql: export graphql apis for pact web. Fixes #283 (36ea8d1)

8.1.2 (2019-04-12)

Bug Fixes

  • example: ensure 401 case has invalid bearer token (0dd519b)

8.1.1 (2019-04-11)

8.1.0 (2019-03-29)

Features

8.0.5 (2019-03-12)

Bug Fixes

  • verifier: add changeOrigin flag for http-proxy (4536be5), closes #282

8.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)

8.0.3 (2019-03-11)

Bug Fixes

  • 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)

Bug Fixes

  • npm: npm lock got out of sync (a9bed4f)
  • rename error classes to lowercase (16b7686)

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)

7.4.0 (2019-02-22)

Bug Fixes

Features

  • pact-web provider.addInteraction to allow Interaction instance [#270] (0814d68)

7.3.0 (2019-02-09)

Bug Fixes

  • port-check: make port check more resilient. Fixes #49 (ee0aa71)

Features

  • configuration: return configuration from setup() (11af9e4), closes #259

7.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)

7.1.0 (2018-11-28)

Features

  • apollo-graphql: add Apollo specific GraphQL interface. Fixes #254 (cab8328)

7.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)

7.0.3 (2018-11-07)

Bug Fixes

  • apply logLevel to local logger (6e31407)

7.0.2 (2018-10-27)

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)

7.0.1 (2018-10-15)

Bug Fixes

  • api: repair incorrect absolute import to 'pact'. Fixes #229 (aa22fae)

7.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.

6.0.2 (2018-10-01)

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)

6.0.1 (2018-08-19)

Bug Fixes

  • test: add mocha.opts for mocha tests (765f272)
  • test: remove async usage in examples (11368c8)

5.9.1 (2018-05-10)

Bug Fixes

  • interaction: include response body if set to empty string (2db0f23)

6.0.0-alpha.15 (2018-07-17)

Bug Fixes

  • interaction: include response body if set to empty string (abc20d4)

6.0.0-alpha.14 (2018-05-08)

Features

  • message: modify message: content -> contents (38e57a8)
  • upgrade: update to pact-node 6.16.x (c1d938b)

6.0.0-alpha.13 (2018-04-29)

Features

  • graphql: escape queries with variables (8b64dd4)

6.0.0-alpha.12 (2018-04-22)

Features

  • 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)

Features

  • 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)

Bug Fixes

  • Replace packpath with pkginfo to get metadata in more reliable f… (#175) (5abb32e)

6.0.0-alpha.9 (2018-04-20)

Bug Fixes

  • resolve package.json for version metadata regardless of nesting (#174) (9b771c6)

6.0.0-alpha.8 (2018-04-15)

Features

  • 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)

Features

  • messages: implement v3 compatible provider states (8e113a5)

6.0.0-alpha.4 (2018-04-01)

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)

6.0.0-alpha.2 (2018-03-31)

6.0.0-alpha.1 (2018-03-31)

6.0.0-alpha.0 (2018-03-31)

Features

  • messages: initial WIP for message pacts (fd3526e)

5.9.0 (2018-03-27)

Features

  • upgrade: update to pact-node 6.13.x (b19f069)

5.8.0 (2018-03-25)

Features

  • upgrade: update to pact-node 6.12.x (6e5c2e1)

5.7.0 (2018-02-28)

Features

  • upgrade: update to pact-node 6.11.x. Fixes #63 (f0063c9)

5.6.1 (2018-02-25)

5.6.0 (2018-02-22)

Features

  • upgrade: update to pact-node 6.10.x. Fixes #150 (99ab454)

5.5.1 (2018-02-20)

5.5.0 (2018-02-09)

Features

  • upgrade: update to pact-node 6.8.x (fd4ae99)

5.4.0 (2018-02-08)

Features

  • types: allow builder usage in Pact tests (cb6305b)

5.3.2 (2018-01-11)

5.3.1 (2018-01-06)

Bug Fixes

  • 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)

Features

  • parallel: allow pactfileWriteMode to support 'merge'. #124 (81e1078)

5.2.0 (2017-12-10)

Bug Fixes

  • jest: update jest example to be compatible with v21.x.x (#132) (7fabfc4)

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

5.1.0 (2017-12-08)

Bug Fixes

  • jest: update jest example to be compatible with v21.x.x (#132) (7fabfc4)

Features

  • 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)

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.

4.2.1 (2017-11-05)

4.2.0 (2017-11-05)

Features

  • types: add TS bindings for pact-web standalone. Fixes #92 (d436862)

4.1.0 (2017-10-18)

Features

  • release: update release process to use standard-version (47d118d)

4.0.0 (2017-10-18)

Bug Fixes

  • src: fix typo in error message (e91588c)
  • verification: pass validation error message on (3041282)

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)

3.0.1 (2017-09-19)

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)

2.7.0 (2017-08-06)

Bug Fixes

  • gitignore: ignore IDE generated project files (84b78c3)
  • issue_template: Corrected typos (bac51ad)

Features

  • 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)

Features

  • writemode: update pactFileWriteMode flag and docs (6b32990)

2.4.0 (2017-05-11)

Bug Fixes

  • providerstate: make providerState serialisation spec compliant #12 (cc44554)

Features

  • mock service: add pactfile_write_mode option handling (da92274)
  • verifications: update example to publish verification results (592b9db)

2.3.4 (2017-04-26)

Features

  • pact-web: only deploy pact-web on tagged master (a66cbea)

2.3.3 (2017-04-21)

Features

  • 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)

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)

2.2.0 (2017-02-27)

Features

  • ssl: add ability to specify custom ssl key + cert #29 (c54d224)

2.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)

2.0.1 (2017-02-26)

Bug Fixes

  • pact-node and cli-color should be dependencies (#26 #25) (83c8af3)

2.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)

1.0.0 (2017-01-21)

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)

1.0.0-rc.5 (2016-08-28)

Bug Fixes

  • readme: fix example in readme (f0eeb0f)
  • style: remove empty space breaking linter (62a72d8)

Features

  • interceptor: remove Interceptor from DSL (0b9e4f4)

1.0.0-rc.4 (2016-08-02)

Features

  • app: update distribution files (8f9f7e2)

1.0.0-rc.3 (2016-08-01)

1.0.0-rc.2 (2016-07-11)

Bug Fixes

  • lib: better handling HTTP responses (7b07821)