diff --git a/CHANGELOG.md b/CHANGELOG.md index 40f1dd0b5..f27de569e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,56 +1,304 @@ -# Changelog +# Change Log -Do this to generate your change history +All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. - git log --pretty=format:'* [%h](https://github.com/pact-foundation/pact-js/commit/%h) - %s (%an, %ad)' vX.Y.Z..HEAD | egrep -v "wip(:|\()" | grep -v "docs(" | grep -v "chore(" | grep -v Merge | grep -v "test(" + +# [5.0.0](https://github.com/pact-foundation/pact-js/compare/v4.2.1...v5.0.0) (2017-12-06) -### v2.6.0 -* [50e1041](https://github.com/pact-foundation/pact-js/commit/50e1041) - feat(upgrade): upgrade to latest pact node v4.12.0 (Matt Fellows, Sun Aug 6 14:22:36 2017 +1000) +### Bug Fixes -### v2.6.0 +* **amd:** do not name AMD module in UMD [#98](https://github.com/pact-foundation/pact-js/issues/98) ([fced1ab](https://github.com/pact-foundation/pact-js/commit/fced1ab)) +* **build:** fix for bash script and output helpful information during projects tests ([192f9e4](https://github.com/pact-foundation/pact-js/commit/192f9e4)) +* **examples:** update jasmine karma example with best practice [#122](https://github.com/pact-foundation/pact-js/issues/122) ([93cba30](https://github.com/pact-foundation/pact-js/commit/93cba30)) +* **examples:** update mocha karma example with best practice [#122](https://github.com/pact-foundation/pact-js/issues/122) ([a62d00f](https://github.com/pact-foundation/pact-js/commit/a62d00f)) +* **src:** fix typo in eachLike error message ([601d158](https://github.com/pact-foundation/pact-js/commit/601d158)) +* **tests:** update e2e tests with latest API ([09a9f03](https://github.com/pact-foundation/pact-js/commit/09a9f03)) +* **verification:** pass validation error message on [#114](https://github.com/pact-foundation/pact-js/issues/114) ([302357f](https://github.com/pact-foundation/pact-js/commit/302357f)) -* [844bdfd](https://github.com/pact-foundation/pact-js/commit/844bdfd) - chore(build): allow all minor version upgrades to Pact Node (Matt Fellows, Thu Jun 1 14:10:35 2017 +1000) -### v2.5.0 +### Features -* [f11f0eb](https://github.com/pact-foundation/pact-js/commit/f11f0eb) - Wait for removeInteractions() on verify() (Voon Siong Wong, Mon May 15 12:04:58 2017 +1000) +* **api:** cleanup public API ([39dfc45](https://github.com/pact-foundation/pact-js/commit/39dfc45)) +* **finalise:** warn if finalise called more than once ([bc52810](https://github.com/pact-foundation/pact-js/commit/bc52810)) +* **karma:** relax consumer/provider requirement in MockService [#96](https://github.com/pact-foundation/pact-js/issues/96) ([62a9c44](https://github.com/pact-foundation/pact-js/commit/62a9c44)) +* **matching:** add a number of common matchers to DSL ([4259171](https://github.com/pact-foundation/pact-js/commit/4259171)) +* **pact-node:** upgrade to latest pact-node 5.1.x ([fde380e](https://github.com/pact-foundation/pact-js/commit/fde380e)) +* **pact-node:** upgrade to pact-node 5.2.1 ([f9bd4ae](https://github.com/pact-foundation/pact-js/commit/f9bd4ae)) +* **pact-server:** allow running mock server on non-local host [#115](https://github.com/pact-foundation/pact-js/issues/115) ([b6866ef](https://github.com/pact-foundation/pact-js/commit/b6866ef)) +* **pact-web:** refactor PactWeb module ([95b26c4](https://github.com/pact-foundation/pact-js/commit/95b26c4)) +* **release:** update release process to use standard-version ([ae96806](https://github.com/pact-foundation/pact-js/commit/ae96806)) +* **types:** reexport Interaction and MockService namespace [#117](https://github.com/pact-foundation/pact-js/issues/117) ([e1b658f](https://github.com/pact-foundation/pact-js/commit/e1b658f)) +* **types:** reexport Interaction and MockService namespace into pact-web [#117](https://github.com/pact-foundation/pact-js/issues/117) ([c3cd435](https://github.com/pact-foundation/pact-js/commit/c3cd435)) +* **typescript:** add integration pact tests ([3b2279a](https://github.com/pact-foundation/pact-js/commit/3b2279a)) +* **typescript:** fix pact-web and karma tests ([91ef75c](https://github.com/pact-foundation/pact-js/commit/91ef75c)) +* **typescript:** initial TypeScript setup ([c6e6c3a](https://github.com/pact-foundation/pact-js/commit/c6e6c3a)) -### 2.4.1 -* [6b32990](https://github.com/pact-foundation/pact-js/commit/6b32990) - feat(writemode): update pactFileWriteMode flag and docs (Matt Fellows, Fri May 12 10:40:27 2017 +1000) -* [cc44554](https://github.com/pact-foundation/pact-js/commit/cc44554) - fix(providerstate): make providerState serialisation spec compliant #12 (Matt Fellows, Thu May 11 20:51:51 2017 +1000) -* [da92274](https://github.com/pact-foundation/pact-js/commit/da92274) - feat(mock service): add pactfile_write_mode option handling (Narazaka, Tue May 9 18:56:56 2017 +0900) -* [592b9db](https://github.com/pact-foundation/pact-js/commit/592b9db) - feat(verifications): update example to publish verification results (Matt Fellows, Tue May 9 17:06:30 2017 +1000) +### BREAKING CHANGES -### 2.3.3 +* **api:** - Provider verification exposed via a Verifier class +- Matchers exposed through separate sub-module +* **pact-web:** Requires constructor to create now. -* [8eeb561](https://github.com/pact-foundation/pact-js/commit/8eeb561) - feat(typescript): add TypeScript annotations (Narazaka, Wed Apr 19 20:37:01 2017 +0900) -### 2.3.2 -* [c729d8e](https://github.com/pact-foundation/pact-js/commit/c729d8e) - feat(port-check): check if port is available during setup() #37 (Matt Fellows, Sun Apr 16 12:10:19 2017 +1000) + +## [4.2.1](https://github.com/pact-foundation/pact-js/compare/v4.2.0...v4.2.1) (2017-11-05) -### 2.3.1 -* [a617b03](https://github.com/pact-foundation/pact-js/commit/a617b03) - Pass cors option to pact-node (Jeff Chen, Mon Mar 27 18:58:41 2017 -0700) -### 2.2.0 + +# [4.2.0](https://github.com/pact-foundation/pact-js/compare/v4.1.0...v4.2.0) (2017-11-05) -* [c54d224](https://github.com/pact-foundation/pact-js/commit/c54d224) - feat(ssl): add ability to specify custom ssl key + cert #29 (Matt Fellows, Tue Feb 28 08:10:26 2017 +1100) -### 2.1.0 +### Features -* [4d0901e](https://github.com/pact-foundation/pact-js/commit/4d0901e) - feat(verify): update to latest pact-node including ability to set verification timeout #28 (Matt Fellows, Mon Feb 27 18:33:00 2017 +1100) +* **types:** add TS bindings for pact-web standalone. Fixes [#92](https://github.com/pact-foundation/pact-js/issues/92) ([d436862](https://github.com/pact-foundation/pact-js/commit/d436862)) -### 2.0.0 -* [ef27b7c](https://github.com/pact-foundation/pact-js/commit/ef27b7c) - feat(karma): update code formatting (Matt Fellows, Sun Feb 19 21:27:42 2017 +1100) -* [7182c7b](https://github.com/pact-foundation/pact-js/commit/7182c7b) - feat(karma): update tests for karma suite and adapted Pact API for Karma (Matt Fellows, Sun Feb 19 21:10:33 2017 +1100) -* [a06a14d](https://github.com/pact-foundation/pact-js/commit/a06a14d) - fix(api): remove redundant responseParser and tests (Matt Fellows, Sun Feb 19 12:45:48 2017 +1100) -* [67482d1](https://github.com/pact-foundation/pact-js/commit/67482d1) - feat(api): redesign API to make it simpler to interact with (Matt Fellows, Tue Jan 24 08:57:17 2017 +1100) -* [898203a](https://github.com/pact-foundation/pact-js/commit/898203a) - feat(examples): update e2e provider test to use mocha interface (Matt Fellows, Thu Jan 19 14:22:12 2017 +1100) -### v1.0.0 and earlier + +# [4.1.0](https://github.com/pact-foundation/pact-js/compare/v4.0.0...v4.1.0) (2017-10-18) -Initial implementation! + +### Features + +* **release:** update release process to use standard-version ([47d118d](https://github.com/pact-foundation/pact-js/commit/47d118d)) + + + + +# [4.0.0](https://github.com/pact-foundation/pact-js/compare/v3.0.1...v4.0.0) (2017-10-18) + + +### Bug Fixes + +* **src:** fix typo in error message ([e91588c](https://github.com/pact-foundation/pact-js/commit/e91588c)) +* **verification:** pass validation error message on ([3041282](https://github.com/pact-foundation/pact-js/commit/3041282)) + + +### Features + +* **pact-node:** upgrade to pact-node 5.x.x ([6d2ad81](https://github.com/pact-foundation/pact-js/commit/6d2ad81)) +* **pact-server:** Allow to run pact mock server on a host other than localhost/127.0.0.1 ([e24be20](https://github.com/pact-foundation/pact-js/commit/e24be20)) + + + + +## [3.0.1](https://github.com/pact-foundation/pact-js/compare/v2.7.0...v3.0.1) (2017-09-19) + + +### Bug Fixes + +* **lint:** fix lint in mock service ([e4c61b1](https://github.com/pact-foundation/pact-js/commit/e4c61b1)) +* **tests:** update e2e tests with timeout for CI builds ([f141c5e](https://github.com/pact-foundation/pact-js/commit/f141c5e)) +* **typo:** cosmetic cleanup for typo of wrong project name ([18d49f6](https://github.com/pact-foundation/pact-js/commit/18d49f6)) + + +### Features + +* **karma:** relax consumer/provider requirement in MockService ([e9f3a4a](https://github.com/pact-foundation/pact-js/commit/e9f3a4a)) + + + + +# [2.7.0](https://github.com/pact-foundation/pact-js/compare/v2.6.0...v2.7.0) (2017-08-06) + + +### Bug Fixes + +* **gitignore:** ignore IDE generated project files ([84b78c3](https://github.com/pact-foundation/pact-js/commit/84b78c3)) +* **issue_template:** Corrected typos ([bac51ad](https://github.com/pact-foundation/pact-js/commit/bac51ad)) + + +### Features + +* **example:** adding example for the AVA test framework ([65e8314](https://github.com/pact-foundation/pact-js/commit/65e8314)) +* **upgrade:** upgrade to latest pact node v4.12.0 ([50e1041](https://github.com/pact-foundation/pact-js/commit/50e1041)) + + + + +# [2.6.0](https://github.com/pact-foundation/pact-js/compare/v2.5.0...v2.6.0) (2017-06-13) + + + + +# [2.5.0](https://github.com/pact-foundation/pact-js/compare/v2.4.1...v2.5.0) (2017-05-15) + + + + +## [2.4.1](https://github.com/pact-foundation/pact-js/compare/v2.4.0...v2.4.1) (2017-05-12) + + +### Features + +* **writemode:** update pactFileWriteMode flag and docs ([6b32990](https://github.com/pact-foundation/pact-js/commit/6b32990)) + + + + +# [2.4.0](https://github.com/pact-foundation/pact-js/compare/v2.3.4...v2.4.0) (2017-05-11) + + +### Bug Fixes + +* **providerstate:** make providerState serialisation spec compliant [#12](https://github.com/pact-foundation/pact-js/issues/12) ([cc44554](https://github.com/pact-foundation/pact-js/commit/cc44554)) + + +### Features + +* **mock service:** add pactfile_write_mode option handling ([da92274](https://github.com/pact-foundation/pact-js/commit/da92274)) +* **verifications:** update example to publish verification results ([592b9db](https://github.com/pact-foundation/pact-js/commit/592b9db)) + + + + +## [2.3.4](https://github.com/pact-foundation/pact-js/compare/v2.3.3...v2.3.4) (2017-04-26) + + +### Features + +* **pact-web:** only deploy pact-web on tagged master ([a66cbea](https://github.com/pact-foundation/pact-js/commit/a66cbea)) + + + + +## [2.3.3](https://github.com/pact-foundation/pact-js/compare/v2.3.1...v2.3.3) (2017-04-21) + + +### Features + +* **port-check:** check if port is available during setup() [#37](https://github.com/pact-foundation/pact-js/issues/37) ([c729d8e](https://github.com/pact-foundation/pact-js/commit/c729d8e)) +* **typescript:** add TypeScript annotations ([8eeb561](https://github.com/pact-foundation/pact-js/commit/8eeb561)) + + + + +## [2.3.1](https://github.com/pact-foundation/pact-js/compare/v2.2.1...v2.3.1) (2017-04-03) + + + + +## [2.2.1](https://github.com/pact-foundation/pact-js/compare/v2.2.0...v2.2.1) (2017-03-12) + + +### Bug Fixes + +* **test:** fix logic issue in karma tests that was passing for the wrong reasons ([080898f](https://github.com/pact-foundation/pact-js/commit/080898f)) +* **test:** update karma jasmine test to properly fail tests if verification fails. ([802d5dc](https://github.com/pact-foundation/pact-js/commit/802d5dc)) +* **test:** update karma mocha test to fail if verification fails ([98a6380](https://github.com/pact-foundation/pact-js/commit/98a6380)) + + + + +# [2.2.0](https://github.com/pact-foundation/pact-js/compare/v2.1.0...v2.2.0) (2017-02-27) + + +### Features + +* **ssl:** add ability to specify custom ssl key + cert [#29](https://github.com/pact-foundation/pact-js/issues/29) ([c54d224](https://github.com/pact-foundation/pact-js/commit/c54d224)) + + + + +# [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](https://github.com/pact-foundation/pact-js/commit/cb38b17)) +* **verify:** update to latest pact-node including ability to set verification timeout [#28](https://github.com/pact-foundation/pact-js/issues/28) ([4d0901e](https://github.com/pact-foundation/pact-js/commit/4d0901e)) + + + + +## [2.0.1](https://github.com/pact-foundation/pact-js/compare/v2.0.0...v2.0.1) (2017-02-26) + + +### Bug Fixes + +* pact-node and cli-color should be dependencies ([#26](https://github.com/pact-foundation/pact-js/issues/26) [#25](https://github.com/pact-foundation/pact-js/issues/25)) ([83c8af3](https://github.com/pact-foundation/pact-js/commit/83c8af3)) + + + + +# [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](https://github.com/pact-foundation/pact-js/commit/a06a14d)) +* **test:** properly pass through ssl flag ([bc3120d](https://github.com/pact-foundation/pact-js/commit/bc3120d)) +* **test:** set timeout to 10s for Travis builds ([e76d0e8](https://github.com/pact-foundation/pact-js/commit/e76d0e8)) +* **test:** update all mainline tests to match new API ([936a75d](https://github.com/pact-foundation/pact-js/commit/936a75d)) +* **test:** update e2e test to properly wait for pact finalisation ([b98c1f9](https://github.com/pact-foundation/pact-js/commit/b98c1f9)) +* **test:** update formatting in integration test ([6bd19c9](https://github.com/pact-foundation/pact-js/commit/6bd19c9)) +* **test:** update jest tests with new API, fixes [#21](https://github.com/pact-foundation/pact-js/issues/21) ([4eb2e1c](https://github.com/pact-foundation/pact-js/commit/4eb2e1c)) +* **test:** update mocha tests with new API, fixes [#22](https://github.com/pact-foundation/pact-js/issues/22) ([2062d6d](https://github.com/pact-foundation/pact-js/commit/2062d6d)) +* **tests:** remove trailing semi-colons for consistency ([7a9565d](https://github.com/pact-foundation/pact-js/commit/7a9565d)) + + +### Features + +* **api:** redesign API to make it simpler to interact with ([67482d1](https://github.com/pact-foundation/pact-js/commit/67482d1)) +* **examples:** update e2e provider test to use mocha interface ([898203a](https://github.com/pact-foundation/pact-js/commit/898203a)) +* **karma:** update code formatting ([ef27b7c](https://github.com/pact-foundation/pact-js/commit/ef27b7c)) +* **karma:** update tests for karma suite and adapted Pact API for Karma ([7182c7b](https://github.com/pact-foundation/pact-js/commit/7182c7b)) + + + + +# [1.0.0](https://github.com/pact-foundation/pact-js/compare/v1.0.0-rc.5...v1.0.0) (2017-01-21) + + +### Features + +* **example:** add better readme, cleanup linting for E2E example ([4a8e8cb](https://github.com/pact-foundation/pact-js/commit/4a8e8cb)) +* **examples:** running consumer tests for E2E example ([274f18f](https://github.com/pact-foundation/pact-js/commit/274f18f)) +* **examples:** update docu for e2e example ([491f641](https://github.com/pact-foundation/pact-js/commit/491f641)) +* **examples:** WIP e2e example ([14a464c](https://github.com/pact-foundation/pact-js/commit/14a464c)) +* **examples:** working e2e example ([24b9888](https://github.com/pact-foundation/pact-js/commit/24b9888)) + + + + +# [1.0.0-rc.5](https://github.com/pact-foundation/pact-js/compare/v1.0.0-rc.4...v1.0.0-rc.5) (2016-08-28) + + +### Bug Fixes + +* **readme:** fix example in readme ([f0eeb0f](https://github.com/pact-foundation/pact-js/commit/f0eeb0f)) +* **style:** remove empty space breaking linter ([62a72d8](https://github.com/pact-foundation/pact-js/commit/62a72d8)) + + +### Features + +* **interceptor:** remove Interceptor from DSL ([0b9e4f4](https://github.com/pact-foundation/pact-js/commit/0b9e4f4)) + + + + +# [1.0.0-rc.4](https://github.com/pact-foundation/pact-js/compare/v1.0.0-rc.3...v1.0.0-rc.4) (2016-08-02) + + +### Features + +* **app:** update distribution files ([8f9f7e2](https://github.com/pact-foundation/pact-js/commit/8f9f7e2)) + + + + +# [1.0.0-rc.3](https://github.com/pact-foundation/pact-js/compare/v1.0.0-rc.2...v1.0.0-rc.3) (2016-08-01) + + + + +# [1.0.0-rc.2](https://github.com/pact-foundation/pact-js/compare/v1.0.0-rc...v1.0.0-rc.2) (2016-07-11) + + +### Bug Fixes + +* **lib:** better handling HTTP responses ([7b07821](https://github.com/pact-foundation/pact-js/commit/7b07821)) diff --git a/package.json b/package.json index a5b0512e5..a649a33de 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,8 @@ "consumer driven testing" ], "author": "Beth Skurrie (https://github.com/bethesque)", - "contributors": [{ + "contributors": [ + { "name": "Tarcio Saraiva", "email": "tarcio@gmail.com", "url": "http://twitter.com/tarciosaraiva"