diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 3322d8285..297cc9097 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,21 +1,21 @@ { - "packages/case-core": "0.18.0", - "packages/case-definition-dsl": "0.18.0", - "packages/case-core-plugin-http": "0.18.0", - "packages/case-core-plugin-http-dsl": "0.18.0", - "packages/case-core-plugin-function": "0.18.0", - "packages/case-core-plugin-function-dsl": "0.18.0", - "packages/case-plugin-base": "0.18.0", - "packages/case-plugin-dsl-types": "0.18.0", - "packages/case-entities": "0.18.0", - "packages/contract-case-jest": "0.13.0", - "packages/documentation": "0.0.8", - ".": "0.18.0", - "packages/contract-case-cli": "0.2.6", - "packages/case-maintainer-config": "0.1.0", - "packages/eslint-config-case-maintainer": "0.1.1", - "packages/case-connector": "0.10.0", - "packages/case-connector-proto": "0.9.0", - "packages/dsl-java": "0.3.0", - "packages/documentation-matchers-generator": "0.0.1" + "packages/case-core": "0.19.0", + "packages/case-definition-dsl": "0.19.0", + "packages/case-core-plugin-http": "0.19.0", + "packages/case-core-plugin-http-dsl": "0.19.0", + "packages/case-core-plugin-function": "0.19.0", + "packages/case-core-plugin-function-dsl": "0.19.0", + "packages/case-plugin-base": "0.19.0", + "packages/case-plugin-dsl-types": "0.19.0", + "packages/case-entities": "0.19.0", + "packages/contract-case-jest": "0.19.0", + "packages/documentation": "0.19.0", + ".": "0.19.0", + "packages/contract-case-cli": "0.19.0", + "packages/case-maintainer-config": "0.19.0", + "packages/eslint-config-case-maintainer": "0.19.0", + "packages/case-connector": "0.19.0", + "packages/case-connector-proto": "0.19.0", + "packages/dsl-java": "0.19.0", + "packages/documentation-matchers-generator": "0.19.0" } diff --git a/docs/maintainers/FULL-CHANGELOG.md b/docs/maintainers/FULL-CHANGELOG.md index 67142145e..c64e90001 100644 --- a/docs/maintainers/FULL-CHANGELOG.md +++ b/docs/maintainers/FULL-CHANGELOG.md @@ -1,5 +1,46 @@ # Changelog +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/v0.18.0...v0.19.0) (2025-03-15) + + +### ⚠ BREAKING CHANGES + +* The `mocks` module has been renamed `interactions`; and `AnyMockDescriptor` has been renamed `AnyInteractionDescriptor`. You may need to update your imports +* Replace runExample / runRejectingExample / runThrowingExample with runInteraction / runRejectingInteraction / runThrowingInteraction +* Allow different tests to have different values for the same default state variable. Contracts using state variables from the previous version will need to be regnerated +* Add ability for matchers to validate their own content. This is a breaking change for any plugin authors, as matcher Executor implementations now need to provide validation functions +* Move the matchers to packages grouped around related functionality - please update your imports following the matcher documentation + +### Features + +* Add ability for matchers to validate their own content. This is a breaking change for any plugin authors, as matcher Executor implementations now need to provide validation functions ([afaa8d7](https://github.com/case-contract-testing/contract-case/commit/afaa8d75d81e45ca7609f89b1e17819183bc59b2)) +* Add ability for the current version to be generated from the git sha ([dd70365](https://github.com/case-contract-testing/contract-case/commit/dd703650fd058d34f6d772011b74faec10b93074)) +* Expose docs-json for auto-documentation purposes ([2ff4e97](https://github.com/case-contract-testing/contract-case/commit/2ff4e97501bc29af4af085d7a751b752bad8e82c)) +* Run parameter validators ahead of the self-check, allowing early warning of configuration mistakes in example interactions ([186d2e5](https://github.com/case-contract-testing/contract-case/commit/186d2e58eff512d37e53425ac353b231d15250a8)) + + +### Bug Fixes + +* Add debugging information to the broker 403 error ([a8cbb70](https://github.com/case-contract-testing/contract-case/commit/a8cbb70703fb19ac0351c038edeb23545b980ec3)) +* Allow different tests to have different values for the same default state variable. Contracts using state variables from the previous version will need to be regnerated ([2984d2b](https://github.com/case-contract-testing/contract-case/commit/2984d2baf29406fab884c5fffc790b6022621047)) +* Change the "->" in interaction names to "returns" ([e1c3f29](https://github.com/case-contract-testing/contract-case/commit/e1c3f29bb6803dff59f615b75b055cc3c9d184b7)) +* Fix an issue where if the verifier was called with multiple contracts, they would inappropriately run concurrently ([83a8edd](https://github.com/case-contract-testing/contract-case/commit/83a8eddaf9a87231506cc39fc3439325923dd4bc)) +* Improve logging when multiple contracts are verified ([9f3f4a2](https://github.com/case-contract-testing/contract-case/commit/9f3f4a249eeafdb4da57aef11807ff3e23f544d3)) + + +### Code Refactoring + +* Move the matchers to packages grouped around related functionality - please update your imports following the matcher documentation ([1edbda0](https://github.com/case-contract-testing/contract-case/commit/1edbda04c1fc6bcee19bfb13beb30980714bbfb6)) +* Replace runExample / runRejectingExample / runThrowingExample with runInteraction / runRejectingInteraction / runThrowingInteraction ([a37e0e8](https://github.com/case-contract-testing/contract-case/commit/a37e0e8258672894e702aebdb5d9cddce90923b4)) +* The `mocks` module has been renamed `interactions`; and `AnyMockDescriptor` has been renamed `AnyInteractionDescriptor`. You may need to update your imports ([f3f4b0d](https://github.com/case-contract-testing/contract-case/commit/f3f4b0dafb6f9be2a5055fe198dda03025b5682b)) + + +### Dependencies + +* The following workspace dependencies were updated + * devDependencies + * @contract-case/eslint-config-case-maintainer bumped from 0.1.1 to 0.19.0 + ## [0.18.0](https://github.com/case-contract-testing/contract-case/compare/v0.17.1...v0.18.0) (2024-10-17) diff --git a/package-lock.json b/package-lock.json index af0ffecf0..549c4e4c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "contract-case", - "version": "0.18.0", + "version": "0.19.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "contract-case", - "version": "0.18.0", + "version": "0.19.0", "workspaces": [ "packages/*" ], @@ -31879,12 +31879,12 @@ }, "packages/case-connector": { "name": "@contract-case/case-connector", - "version": "0.10.0", + "version": "0.19.0", "license": "BSD-3-Clause", "dependencies": { - "@contract-case/case-connector-proto": "0.9.0", - "@contract-case/case-core": "0.18.0", - "@contract-case/case-entities-internal": "0.18.0", + "@contract-case/case-connector-proto": "0.19.0", + "@contract-case/case-core": "0.19.0", + "@contract-case/case-entities-internal": "0.19.0", "@grpc/grpc-js": "^1.12.6", "@grpc/proto-loader": "^0.7.10", "get-port": "^7.1.0", @@ -31896,8 +31896,8 @@ "case-connector": "dist/bin/case-connector.js" }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@types/google-protobuf": "^3.15.12", "@types/jest": "^29.5.12", "@types/uuid": "^10.0.0", @@ -31915,7 +31915,7 @@ }, "packages/case-connector-proto": { "name": "@contract-case/case-connector-proto", - "version": "0.9.0", + "version": "0.19.0", "license": "BSD-3-Clause", "dependencies": { "@grpc/grpc-js": "^1.12.6", @@ -31923,8 +31923,8 @@ "google-protobuf": "^3.21.4" }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@types/google-protobuf": "^3.15.12", "@types/jest": "^29.5.12", "@types/uuid": "^10.0.0", @@ -31950,15 +31950,15 @@ }, "packages/case-core": { "name": "@contract-case/case-core", - "version": "0.18.0", + "version": "0.19.0", "license": "BSD-3-Clause", "dependencies": { - "@contract-case/case-core-plugin-function": "0.18.0", - "@contract-case/case-core-plugin-http": "0.18.0", - "@contract-case/case-core-plugin-http-dsl": "0.18.0", - "@contract-case/case-entities-internal": "0.18.0", - "@contract-case/case-plugin-base": "0.18.0", - "@contract-case/case-plugin-dsl-types": "0.18.0", + "@contract-case/case-core-plugin-function": "0.19.0", + "@contract-case/case-core-plugin-http": "0.19.0", + "@contract-case/case-core-plugin-http-dsl": "0.19.0", + "@contract-case/case-entities-internal": "0.19.0", + "@contract-case/case-plugin-base": "0.19.0", + "@contract-case/case-plugin-dsl-types": "0.19.0", "absolute-version": "^2.0.0", "async-mutex": "^0.5.0", "axios": "^1.8.2", @@ -31972,9 +31972,9 @@ "slug": "^9.1.0" }, "devDependencies": { - "@contract-case/case-definition-dsl": "^0.18.0", - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-definition-dsl": "^0.19.0", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@types/current-git-branch": "^1.1.6", "@types/express": "^4.17.14", "@types/git-rev-sync": "^2.0.2", @@ -32004,16 +32004,16 @@ }, "packages/case-core-plugin-function": { "name": "@contract-case/case-core-plugin-function", - "version": "0.18.0", + "version": "0.19.0", "license": "BSD-3-Clause", "dependencies": { - "@contract-case/case-core-plugin-function-dsl": "^0.18.0", - "@contract-case/case-plugin-base": "^0.18.0", - "@contract-case/case-plugin-dsl-types": "^0.18.0" + "@contract-case/case-core-plugin-function-dsl": "^0.19.0", + "@contract-case/case-plugin-base": "^0.19.0", + "@contract-case/case-plugin-dsl-types": "^0.19.0" }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@types/jest": "^29.5.12", "eslint": "^9.21.0", "jest": "^29.7.0", @@ -32033,14 +32033,14 @@ }, "packages/case-core-plugin-function-dsl": { "name": "@contract-case/case-core-plugin-function-dsl", - "version": "0.18.0", + "version": "0.19.0", "license": "BSD-3-Clause", "dependencies": { - "@contract-case/case-plugin-dsl-types": "^0.18.0" + "@contract-case/case-plugin-dsl-types": "^0.19.0" }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@types/jest": "^29.5.12", "eslint": "^9.21.0", "jest": "^29.7.0", @@ -32540,19 +32540,19 @@ }, "packages/case-core-plugin-http": { "name": "@contract-case/case-core-plugin-http", - "version": "0.18.0", + "version": "0.19.0", "license": "BSD-3-Clause", "dependencies": { - "@contract-case/case-core-plugin-http-dsl": "^0.18.0", - "@contract-case/case-plugin-base": "^0.18.0", - "@contract-case/case-plugin-dsl-types": "0.18.0", + "@contract-case/case-core-plugin-http-dsl": "^0.19.0", + "@contract-case/case-plugin-base": "^0.19.0", + "@contract-case/case-plugin-dsl-types": "0.19.0", "axios": "^1.8.2", "express": "^4.20.0", "qs": "^6.13.1" }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@types/express": "^4.17.14", "@types/jest": "^29.5.12", "@types/qs": "^6.9.17", @@ -32576,14 +32576,14 @@ }, "packages/case-core-plugin-http-dsl": { "name": "@contract-case/case-core-plugin-http-dsl", - "version": "0.18.0", + "version": "0.19.0", "license": "BSD-3-Clause", "dependencies": { - "@contract-case/case-plugin-dsl-types": "^0.18.0" + "@contract-case/case-plugin-dsl-types": "^0.19.0" }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@types/express": "^4.17.14", "@types/jest": "^29.5.12", "@types/qs": "^6.9.17", @@ -33328,7 +33328,7 @@ }, "packages/case-definition-dsl": { "name": "@contract-case/case-definition-dsl", - "version": "0.18.0", + "version": "0.19.0", "bundleDependencies": [ "@contract-case/case-entities-internal", "@contract-case/case-plugin-dsl-types", @@ -33337,15 +33337,15 @@ ], "license": "BSD-3-Clause", "dependencies": { - "@contract-case/case-core-plugin-function-dsl": "0.18.0", - "@contract-case/case-core-plugin-http-dsl": "0.18.0", - "@contract-case/case-entities-internal": "0.18.0", - "@contract-case/case-plugin-dsl-types": "0.18.0" + "@contract-case/case-core-plugin-function-dsl": "0.19.0", + "@contract-case/case-core-plugin-http-dsl": "0.19.0", + "@contract-case/case-entities-internal": "0.19.0", + "@contract-case/case-plugin-dsl-types": "0.19.0" }, "devDependencies": { - "@contract-case/case-core-plugin-http-dsl": "0.18.0", - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-core-plugin-http-dsl": "0.19.0", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@microsoft/api-documenter": "^7.26.10", "@microsoft/api-extractor": "^7.51.1", "@types/jest": "^29.5.12", @@ -33362,16 +33362,16 @@ }, "packages/case-entities": { "name": "@contract-case/case-entities-internal", - "version": "0.18.0", + "version": "0.19.0", "license": "BSD-3-Clause", "dependencies": { - "@contract-case/case-core-plugin-function-dsl": "0.18.0", - "@contract-case/case-core-plugin-http-dsl": "0.18.0", - "@contract-case/case-plugin-dsl-types": "0.18.0" + "@contract-case/case-core-plugin-function-dsl": "0.19.0", + "@contract-case/case-core-plugin-http-dsl": "0.19.0", + "@contract-case/case-plugin-dsl-types": "0.19.0" }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@types/current-git-branch": "^1.1.6", "@types/express": "^4.17.14", "@types/is-ci": "^3.0.0", @@ -33637,7 +33637,7 @@ }, "packages/case-maintainer-config": { "name": "@contract-case/case-maintainer-config", - "version": "0.1.0", + "version": "0.19.0", "license": "BSD-3-Clause", "devDependencies": { "prettier": "^3.4.2" @@ -33652,15 +33652,15 @@ }, "packages/case-plugin-base": { "name": "@contract-case/case-plugin-base", - "version": "0.18.0", + "version": "0.19.0", "license": "BSD-3-Clause", "dependencies": { - "@contract-case/case-plugin-dsl-types": "0.18.0", + "@contract-case/case-plugin-dsl-types": "0.19.0", "pretty-format": "^29.7.0" }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@microsoft/api-documenter": "^7.26.10", "@microsoft/api-extractor": "^7.51.1", "@types/jest": "^29.5.12", @@ -33922,14 +33922,14 @@ }, "packages/case-plugin-dsl-types": { "name": "@contract-case/case-plugin-dsl-types", - "version": "0.18.0", + "version": "0.19.0", "license": "BSD-3-Clause", "dependencies": { "pretty-format": "^29.7.0" }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@microsoft/api-documenter": "^7.26.10", "@microsoft/api-extractor": "^7.51.1", "eslint": "^9.21.0", @@ -34187,11 +34187,11 @@ }, "packages/contract-case-cli": { "name": "@contract-case/cli", - "version": "0.2.6", + "version": "0.19.0", "license": "BSD-3-Clause", "dependencies": { - "@contract-case/case-connector": "0.10.0", - "@contract-case/case-core": "0.18.0", + "@contract-case/case-connector": "0.19.0", + "@contract-case/case-core": "0.19.0", "chalk": "^5.3.0", "commander": "^13.0.0", "read-pkg-up": "^7.0.1" @@ -34200,7 +34200,7 @@ "ContractCase": "dist/bin/ContractCase.js" }, "devDependencies": { - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@types/jest": "^29.5.12", "cross-env": "^7.0.3", "eslint": "^9.21.0", @@ -34461,16 +34461,16 @@ }, "packages/contract-case-jest": { "name": "@contract-case/contract-case-jest", - "version": "0.13.0", + "version": "0.19.0", "license": "BSD-3-Clause", "dependencies": { - "@contract-case/case-connector": "0.10.0", - "@contract-case/case-core-plugin-http-dsl": "0.18.0", - "@contract-case/case-definition-dsl": "0.18.0", - "@contract-case/case-entities-internal": "0.18.0", - "@contract-case/case-plugin-base": "0.18.0", - "@contract-case/case-plugin-dsl-types": "0.18.0", - "@contract-case/cli": "0.2.6", + "@contract-case/case-connector": "0.19.0", + "@contract-case/case-core-plugin-http-dsl": "0.19.0", + "@contract-case/case-definition-dsl": "0.19.0", + "@contract-case/case-entities-internal": "0.19.0", + "@contract-case/case-plugin-base": "0.19.0", + "@contract-case/case-plugin-dsl-types": "0.19.0", + "@contract-case/cli": "0.19.0", "chalk": "^4.1.2", "read-pkg-up": "^7.0.1", "ts-node": "^10.9.1" @@ -34479,7 +34479,7 @@ "ContractCase": "bin/ContractCase.ts" }, "devDependencies": { - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@grpc/grpc-js": "^1.12.6", "@grpc/proto-loader": "^0.7.13", "@types/body-parser": "^1.19.2", @@ -34746,7 +34746,7 @@ }, "packages/documentation": { "name": "case-documentation", - "version": "0.0.8", + "version": "0.19.0", "dependencies": { "@docusaurus/core": "^3.7.0", "@docusaurus/preset-classic": "^3.7.0", @@ -34769,14 +34769,14 @@ }, "packages/documentation-matchers-generator": { "name": "@contract-case/documentation-matchers-generator", - "version": "0.0.1", + "version": "0.19.0", "license": "BSD-3-Clause", "dependencies": { - "@contract-case/case-definition-dsl": "0.18.0", + "@contract-case/case-definition-dsl": "0.19.0", "mkdirp": "^3.0.1" }, "devDependencies": { - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "eslint": "^9.21.0", "prettier": "3.4.2", "rimraf": "^6.0.1", @@ -35029,11 +35029,11 @@ }, "packages/dsl-java": { "name": "@contract-case/dsl-java", - "version": "0.3.0", + "version": "0.19.0", "license": "BSD-3-Clause", "dependencies": { - "@contract-case/case-connector": "0.10.0", - "@contract-case/case-definition-dsl": "0.18.0" + "@contract-case/case-connector": "0.19.0", + "@contract-case/case-definition-dsl": "0.19.0" }, "devDependencies": { "rimraf": "^6.0.1" @@ -35045,7 +35045,7 @@ }, "packages/eslint-config-case-maintainer": { "name": "@contract-case/eslint-config-case-maintainer", - "version": "0.1.1", + "version": "0.19.0", "license": "BSD-3-Clause", "dependencies": { "@eslint/js": "^9.21.0", diff --git a/package.json b/package.json index 26b1805cb..a46187f75 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,9 @@ "workspaces": [ "packages/*" ], - "version": "0.18.0", + "version": "0.19.0", "devDependencies": { - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "example-extractor": "^0.0.4", "jsii-docgen": "^10.6.1", "lerna": "^8.1.9" diff --git a/packages/case-connector-proto/CHANGELOG.md b/packages/case-connector-proto/CHANGELOG.md index abb1babdd..566be5756 100644 --- a/packages/case-connector-proto/CHANGELOG.md +++ b/packages/case-connector-proto/CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-connector-proto-v0.9.0...@contract-case/case-connector-proto-v0.19.0) (2025-03-15) + + +### ⚠ BREAKING CHANGES + +* Replace runExample / runRejectingExample / runThrowingExample with runInteraction / runRejectingInteraction / runThrowingInteraction + +### Features + +* Add ability for the current version to be generated from the git sha ([dd70365](https://github.com/case-contract-testing/contract-case/commit/dd703650fd058d34f6d772011b74faec10b93074)) + + +### Code Refactoring + +* Replace runExample / runRejectingExample / runThrowingExample with runInteraction / runRejectingInteraction / runThrowingInteraction ([a37e0e8](https://github.com/case-contract-testing/contract-case/commit/a37e0e8258672894e702aebdb5d9cddce90923b4)) + + +### Dependencies + +* The following workspace dependencies were updated + * devDependencies + * @contract-case/case-maintainer-config bumped from 0.1.0 to 0.19.0 + * @contract-case/eslint-config-case-maintainer bumped from 0.1.1 to 0.19.0 + ## [0.9.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-connector-proto-v0.8.0...@contract-case/case-connector-proto-v0.9.0) (2024-10-17) diff --git a/packages/case-connector-proto/package.json b/packages/case-connector-proto/package.json index ffe70e245..16d89bd22 100644 --- a/packages/case-connector-proto/package.json +++ b/packages/case-connector-proto/package.json @@ -1,6 +1,6 @@ { "name": "@contract-case/case-connector-proto", - "version": "0.9.0", + "version": "0.19.0", "description": "Generated proto files for ContractCase's CaseConnector", "author": "Timothy Jones (https://github.com/TimothyJones)", "homepage": "https://case.contract-testing.io/docs", @@ -29,8 +29,8 @@ "url": "https://github.com/case-contract-testing/case/issues" }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@types/google-protobuf": "^3.15.12", "@types/jest": "^29.5.12", "@types/uuid": "^10.0.0", diff --git a/packages/case-connector/CHANGELOG.md b/packages/case-connector/CHANGELOG.md index 51f0ab34b..913b9199c 100644 --- a/packages/case-connector/CHANGELOG.md +++ b/packages/case-connector/CHANGELOG.md @@ -1,5 +1,38 @@ # Changelog +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-connector-v0.10.0...@contract-case/case-connector-v0.19.0) (2025-03-15) + + +### ⚠ BREAKING CHANGES + +* Replace runExample / runRejectingExample / runThrowingExample with runInteraction / runRejectingInteraction / runThrowingInteraction + +### Features + +* Add ability for the current version to be generated from the git sha ([dd70365](https://github.com/case-contract-testing/contract-case/commit/dd703650fd058d34f6d772011b74faec10b93074)) + + +### Bug Fixes + +* Fixed an issue where state handler setups could incorrectly be registered as teardown ([e2a142c](https://github.com/case-contract-testing/contract-case/commit/e2a142c4b8c78495bf7ed218003cf1e5e139c7d9)) + + +### Code Refactoring + +* Replace runExample / runRejectingExample / runThrowingExample with runInteraction / runRejectingInteraction / runThrowingInteraction ([a37e0e8](https://github.com/case-contract-testing/contract-case/commit/a37e0e8258672894e702aebdb5d9cddce90923b4)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @contract-case/case-core bumped from 0.18.0 to 0.19.0 + * @contract-case/case-connector-proto bumped from 0.9.0 to 0.19.0 + * @contract-case/case-entities-internal bumped from 0.18.0 to 0.19.0 + * devDependencies + * @contract-case/case-maintainer-config bumped from 0.1.0 to 0.19.0 + * @contract-case/eslint-config-case-maintainer bumped from 0.1.1 to 0.19.0 + ## [0.10.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-connector-v0.9.0...@contract-case/case-connector-v0.10.0) (2024-10-17) diff --git a/packages/case-connector/package.json b/packages/case-connector/package.json index 88776192b..8b28d6da7 100644 --- a/packages/case-connector/package.json +++ b/packages/case-connector/package.json @@ -1,6 +1,6 @@ { "name": "@contract-case/case-connector", - "version": "0.10.0", + "version": "0.19.0", "type": "module", "description": "Connector to allow ContractCase to run as a server. Use only if you're creating a custom wrapper for a new language", "author": "Timothy Jones (https://github.com/TimothyJones)", @@ -33,8 +33,8 @@ "url": "https://github.com/case-contract-testing/case/issues" }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@types/google-protobuf": "^3.15.12", "@types/jest": "^29.5.12", "@types/uuid": "^10.0.0", @@ -50,9 +50,9 @@ "webpack-cli": "^6.0.1" }, "dependencies": { - "@contract-case/case-core": "0.18.0", - "@contract-case/case-connector-proto": "0.9.0", - "@contract-case/case-entities-internal": "0.18.0", + "@contract-case/case-core": "0.19.0", + "@contract-case/case-connector-proto": "0.19.0", + "@contract-case/case-entities-internal": "0.19.0", "@grpc/grpc-js": "^1.12.6", "@grpc/proto-loader": "^0.7.10", "get-port": "^7.1.0", diff --git a/packages/case-core-plugin-function-dsl/CHANGELOG.md b/packages/case-core-plugin-function-dsl/CHANGELOG.md index 8eaf45b0d..ba568ea92 100644 --- a/packages/case-core-plugin-function-dsl/CHANGELOG.md +++ b/packages/case-core-plugin-function-dsl/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-core-plugin-function-dsl-v0.18.0...@contract-case/case-core-plugin-function-dsl-v0.19.0) (2025-03-15) + + +### Miscellaneous Chores + +* **@contract-case/case-core-plugin-function-dsl:** Synchronize ContractCase versions + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @contract-case/case-plugin-dsl-types bumped from ^0.18.0 to ^0.19.0 + * devDependencies + * @contract-case/case-maintainer-config bumped from 0.1.0 to 0.19.0 + * @contract-case/eslint-config-case-maintainer bumped from 0.1.1 to 0.19.0 + ## [0.18.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-core-plugin-function-dsl-v0.17.1...@contract-case/case-core-plugin-function-dsl-v0.18.0) (2024-10-17) diff --git a/packages/case-core-plugin-function-dsl/package.json b/packages/case-core-plugin-function-dsl/package.json index 2dc080aca..f8584df40 100644 --- a/packages/case-core-plugin-function-dsl/package.json +++ b/packages/case-core-plugin-function-dsl/package.json @@ -1,6 +1,6 @@ { "name": "@contract-case/case-core-plugin-function-dsl", - "version": "0.18.0", + "version": "0.19.0", "description": "ContractCase core function plugin DSL", "keywords": [ "testing", @@ -48,8 +48,8 @@ "url": "https://github.com/case-contract-testing/case/issues" }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@types/jest": "^29.5.12", "eslint": "^9.21.0", "jest": "^29.7.0", @@ -60,6 +60,6 @@ "typescript": "5.5.4" }, "dependencies": { - "@contract-case/case-plugin-dsl-types": "^0.18.0" + "@contract-case/case-plugin-dsl-types": "^0.19.0" } } diff --git a/packages/case-core-plugin-function/CHANGELOG.md b/packages/case-core-plugin-function/CHANGELOG.md index 0d0abfc3b..49d9e6cc4 100644 --- a/packages/case-core-plugin-function/CHANGELOG.md +++ b/packages/case-core-plugin-function/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-core-plugin-function-v0.18.0...@contract-case/case-core-plugin-function-v0.19.0) (2025-03-15) + + +### ⚠ BREAKING CHANGES + +* Add ability for matchers to validate their own content. This is a breaking change for any plugin authors, as matcher Executor implementations now need to provide validation functions + +### Features + +* Add ability for matchers to validate their own content. This is a breaking change for any plugin authors, as matcher Executor implementations now need to provide validation functions ([afaa8d7](https://github.com/case-contract-testing/contract-case/commit/afaa8d75d81e45ca7609f89b1e17819183bc59b2)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @contract-case/case-core-plugin-function-dsl bumped from ^0.18.0 to ^0.19.0 + * @contract-case/case-plugin-base bumped from ^0.18.0 to ^0.19.0 + * @contract-case/case-plugin-dsl-types bumped from ^0.18.0 to ^0.19.0 + * devDependencies + * @contract-case/case-maintainer-config bumped from 0.1.0 to 0.19.0 + * @contract-case/eslint-config-case-maintainer bumped from 0.1.1 to 0.19.0 + ## [0.18.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-core-plugin-function-v0.17.1...@contract-case/case-core-plugin-function-v0.18.0) (2024-10-17) diff --git a/packages/case-core-plugin-function/package.json b/packages/case-core-plugin-function/package.json index 8ac1b8ebd..d9894fe07 100644 --- a/packages/case-core-plugin-function/package.json +++ b/packages/case-core-plugin-function/package.json @@ -1,6 +1,6 @@ { "name": "@contract-case/case-core-plugin-function", - "version": "0.18.0", + "version": "0.19.0", "description": "ContractCase core function plugin, allowing validation of arbitrary functions", "keywords": [ "testing", @@ -48,8 +48,8 @@ "url": "https://github.com/case-contract-testing/case/issues" }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@types/jest": "^29.5.12", "eslint": "^9.21.0", "jest": "^29.7.0", @@ -60,8 +60,8 @@ "typescript": "5.5.4" }, "dependencies": { - "@contract-case/case-core-plugin-function-dsl": "^0.18.0", - "@contract-case/case-plugin-base": "^0.18.0", - "@contract-case/case-plugin-dsl-types": "^0.18.0" + "@contract-case/case-core-plugin-function-dsl": "^0.19.0", + "@contract-case/case-plugin-base": "^0.19.0", + "@contract-case/case-plugin-dsl-types": "^0.19.0" } } diff --git a/packages/case-core-plugin-http-dsl/CHANGELOG.md b/packages/case-core-plugin-http-dsl/CHANGELOG.md index 949161e30..11a39e543 100644 --- a/packages/case-core-plugin-http-dsl/CHANGELOG.md +++ b/packages/case-core-plugin-http-dsl/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-core-plugin-http-dsl-v0.18.0...@contract-case/case-core-plugin-http-dsl-v0.19.0) (2025-03-15) + + +### ⚠ BREAKING CHANGES + +* Add ability for matchers to validate their own content. This is a breaking change for any plugin authors, as matcher Executor implementations now need to provide validation functions + +### Features + +* Add ability for matchers to validate their own content. This is a breaking change for any plugin authors, as matcher Executor implementations now need to provide validation functions ([afaa8d7](https://github.com/case-contract-testing/contract-case/commit/afaa8d75d81e45ca7609f89b1e17819183bc59b2)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @contract-case/case-plugin-dsl-types bumped from ^0.18.0 to ^0.19.0 + * devDependencies + * @contract-case/case-maintainer-config bumped from 0.1.0 to 0.19.0 + * @contract-case/eslint-config-case-maintainer bumped from 0.1.1 to 0.19.0 + ## [0.18.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-core-plugin-http-dsl-v0.17.1...@contract-case/case-core-plugin-http-dsl-v0.18.0) (2024-10-17) diff --git a/packages/case-core-plugin-http-dsl/package.json b/packages/case-core-plugin-http-dsl/package.json index 33ccdd9aa..d9d375b85 100644 --- a/packages/case-core-plugin-http-dsl/package.json +++ b/packages/case-core-plugin-http-dsl/package.json @@ -1,6 +1,6 @@ { "name": "@contract-case/case-core-plugin-http-dsl", - "version": "0.18.0", + "version": "0.19.0", "description": "ContractCase HTTP plugin CaseExample definition DSL", "keywords": [ "testing", @@ -48,8 +48,8 @@ "url": "https://github.com/case-contract-testing/case/issues" }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@types/express": "^4.17.14", "@types/jest": "^29.5.12", "@types/qs": "^6.9.17", @@ -64,6 +64,6 @@ "typescript": "5.5.4" }, "dependencies": { - "@contract-case/case-plugin-dsl-types": "^0.18.0" + "@contract-case/case-plugin-dsl-types": "^0.19.0" } } diff --git a/packages/case-core-plugin-http/CHANGELOG.md b/packages/case-core-plugin-http/CHANGELOG.md index 3df3b7946..bf76bb67f 100644 --- a/packages/case-core-plugin-http/CHANGELOG.md +++ b/packages/case-core-plugin-http/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-core-plugin-http-v0.18.0...@contract-case/case-core-plugin-http-v0.19.0) (2025-03-15) + + +### ⚠ BREAKING CHANGES + +* Add ability for matchers to validate their own content. This is a breaking change for any plugin authors, as matcher Executor implementations now need to provide validation functions + +### Features + +* Add ability for matchers to validate their own content. This is a breaking change for any plugin authors, as matcher Executor implementations now need to provide validation functions ([afaa8d7](https://github.com/case-contract-testing/contract-case/commit/afaa8d75d81e45ca7609f89b1e17819183bc59b2)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @contract-case/case-core-plugin-http-dsl bumped from ^0.18.0 to ^0.19.0 + * @contract-case/case-plugin-dsl-types bumped from 0.18.0 to 0.19.0 + * @contract-case/case-plugin-base bumped from ^0.18.0 to ^0.19.0 + * devDependencies + * @contract-case/case-maintainer-config bumped from 0.1.0 to 0.19.0 + * @contract-case/eslint-config-case-maintainer bumped from 0.1.1 to 0.19.0 + ## [0.18.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-core-plugin-http-v0.17.1...@contract-case/case-core-plugin-http-v0.18.0) (2024-10-17) diff --git a/packages/case-core-plugin-http/package.json b/packages/case-core-plugin-http/package.json index 588eadddb..4409c52c4 100644 --- a/packages/case-core-plugin-http/package.json +++ b/packages/case-core-plugin-http/package.json @@ -1,6 +1,6 @@ { "name": "@contract-case/case-core-plugin-http", - "version": "0.18.0", + "version": "0.19.0", "description": "ContractCase core HTTP plugin, providing HTTP matchers and mocks", "keywords": [ "testing", @@ -48,8 +48,8 @@ "url": "https://github.com/case-contract-testing/case/issues" }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@types/express": "^4.17.14", "@types/jest": "^29.5.12", "@types/qs": "^6.9.17", @@ -64,9 +64,9 @@ "typescript": "5.5.4" }, "dependencies": { - "@contract-case/case-core-plugin-http-dsl": "^0.18.0", - "@contract-case/case-plugin-dsl-types": "0.18.0", - "@contract-case/case-plugin-base": "^0.18.0", + "@contract-case/case-core-plugin-http-dsl": "^0.19.0", + "@contract-case/case-plugin-dsl-types": "0.19.0", + "@contract-case/case-plugin-base": "^0.19.0", "axios": "^1.8.2", "express": "^4.20.0", "qs": "^6.13.1" diff --git a/packages/case-core/CHANGELOG.md b/packages/case-core/CHANGELOG.md index 282b8c8b7..58b5a4350 100644 --- a/packages/case-core/CHANGELOG.md +++ b/packages/case-core/CHANGELOG.md @@ -1,5 +1,52 @@ # Changelog +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-core-v0.18.0...@contract-case/case-core-v0.19.0) (2025-03-15) + + +### ⚠ BREAKING CHANGES + +* The `mocks` module has been renamed `interactions`; and `AnyMockDescriptor` has been renamed `AnyInteractionDescriptor`. You may need to update your imports +* Replace runExample / runRejectingExample / runThrowingExample with runInteraction / runRejectingInteraction / runThrowingInteraction +* Allow different tests to have different values for the same default state variable. Contracts using state variables from the previous version will need to be regnerated +* Add ability for matchers to validate their own content. This is a breaking change for any plugin authors, as matcher Executor implementations now need to provide validation functions + +### Features + +* Add ability for matchers to validate their own content. This is a breaking change for any plugin authors, as matcher Executor implementations now need to provide validation functions ([afaa8d7](https://github.com/case-contract-testing/contract-case/commit/afaa8d75d81e45ca7609f89b1e17819183bc59b2)) +* Add ability for the current version to be generated from the git sha ([dd70365](https://github.com/case-contract-testing/contract-case/commit/dd703650fd058d34f6d772011b74faec10b93074)) +* Run parameter validators ahead of the self-check, allowing early warning of configuration mistakes in example interactions ([186d2e5](https://github.com/case-contract-testing/contract-case/commit/186d2e58eff512d37e53425ac353b231d15250a8)) + + +### Bug Fixes + +* Add debugging information to the broker 403 error ([a8cbb70](https://github.com/case-contract-testing/contract-case/commit/a8cbb70703fb19ac0351c038edeb23545b980ec3)) +* Allow different tests to have different values for the same default state variable. Contracts using state variables from the previous version will need to be regnerated ([2984d2b](https://github.com/case-contract-testing/contract-case/commit/2984d2baf29406fab884c5fffc790b6022621047)) +* Change the "->" in interaction names to "returns" ([e1c3f29](https://github.com/case-contract-testing/contract-case/commit/e1c3f29bb6803dff59f615b75b055cc3c9d184b7)) +* Fix an issue where if the verifier was called with multiple contracts, they would inappropriately run concurrently ([83a8edd](https://github.com/case-contract-testing/contract-case/commit/83a8eddaf9a87231506cc39fc3439325923dd4bc)) +* Improve logging when multiple contracts are verified ([9f3f4a2](https://github.com/case-contract-testing/contract-case/commit/9f3f4a249eeafdb4da57aef11807ff3e23f544d3)) + + +### Code Refactoring + +* Replace runExample / runRejectingExample / runThrowingExample with runInteraction / runRejectingInteraction / runThrowingInteraction ([a37e0e8](https://github.com/case-contract-testing/contract-case/commit/a37e0e8258672894e702aebdb5d9cddce90923b4)) +* The `mocks` module has been renamed `interactions`; and `AnyMockDescriptor` has been renamed `AnyInteractionDescriptor`. You may need to update your imports ([f3f4b0d](https://github.com/case-contract-testing/contract-case/commit/f3f4b0dafb6f9be2a5055fe198dda03025b5682b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @contract-case/case-core-plugin-function bumped from 0.18.0 to 0.19.0 + * @contract-case/case-core-plugin-http bumped from 0.18.0 to 0.19.0 + * @contract-case/case-core-plugin-http-dsl bumped from 0.18.0 to 0.19.0 + * @contract-case/case-entities-internal bumped from 0.18.0 to 0.19.0 + * @contract-case/case-plugin-base bumped from 0.18.0 to 0.19.0 + * @contract-case/case-plugin-dsl-types bumped from 0.18.0 to 0.19.0 + * devDependencies + * @contract-case/case-definition-dsl bumped from ^0.18.0 to ^0.19.0 + * @contract-case/case-maintainer-config bumped from 0.1.0 to 0.19.0 + * @contract-case/eslint-config-case-maintainer bumped from 0.1.1 to 0.19.0 + ## [0.18.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-core-v0.17.1...@contract-case/case-core-v0.18.0) (2024-10-17) diff --git a/packages/case-core/package.json b/packages/case-core/package.json index 1fcc2d407..4af348f72 100644 --- a/packages/case-core/package.json +++ b/packages/case-core/package.json @@ -1,6 +1,6 @@ { "name": "@contract-case/case-core", - "version": "0.18.0", + "version": "0.19.0", "description": "Core functionality for the ContractCase contract testing suite", "keywords": [ "testing", @@ -53,9 +53,9 @@ "url": "https://github.com/case-contract-testing/case/issues" }, "devDependencies": { - "@contract-case/case-definition-dsl": "^0.18.0", - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-definition-dsl": "^0.19.0", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@types/current-git-branch": "^1.1.6", "@types/express": "^4.17.14", "@types/git-rev-sync": "^2.0.2", @@ -76,12 +76,12 @@ "typescript": "5.5.4" }, "dependencies": { - "@contract-case/case-core-plugin-function": "0.18.0", - "@contract-case/case-core-plugin-http": "0.18.0", - "@contract-case/case-core-plugin-http-dsl": "0.18.0", - "@contract-case/case-entities-internal": "0.18.0", - "@contract-case/case-plugin-base": "0.18.0", - "@contract-case/case-plugin-dsl-types": "0.18.0", + "@contract-case/case-core-plugin-function": "0.19.0", + "@contract-case/case-core-plugin-http": "0.19.0", + "@contract-case/case-core-plugin-http-dsl": "0.19.0", + "@contract-case/case-entities-internal": "0.19.0", + "@contract-case/case-plugin-base": "0.19.0", + "@contract-case/case-plugin-dsl-types": "0.19.0", "absolute-version": "^2.0.0", "async-mutex": "^0.5.0", "axios": "^1.8.2", diff --git a/packages/case-definition-dsl/CHANGELOG.md b/packages/case-definition-dsl/CHANGELOG.md index 355bcb158..eb430cdaa 100644 --- a/packages/case-definition-dsl/CHANGELOG.md +++ b/packages/case-definition-dsl/CHANGELOG.md @@ -1,5 +1,37 @@ # Changelog +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-definition-dsl-v0.18.0...@contract-case/case-definition-dsl-v0.19.0) (2025-03-15) + + +### ⚠ BREAKING CHANGES + +* The `mocks` module has been renamed `interactions`; and `AnyMockDescriptor` has been renamed `AnyInteractionDescriptor`. You may need to update your imports +* Move the matchers to packages grouped around related functionality - please update your imports following the matcher documentation + +### Features + +* Expose docs-json for auto-documentation purposes ([2ff4e97](https://github.com/case-contract-testing/contract-case/commit/2ff4e97501bc29af4af085d7a751b752bad8e82c)) + + +### Code Refactoring + +* Move the matchers to packages grouped around related functionality - please update your imports following the matcher documentation ([1edbda0](https://github.com/case-contract-testing/contract-case/commit/1edbda04c1fc6bcee19bfb13beb30980714bbfb6)) +* The `mocks` module has been renamed `interactions`; and `AnyMockDescriptor` has been renamed `AnyInteractionDescriptor`. You may need to update your imports ([f3f4b0d](https://github.com/case-contract-testing/contract-case/commit/f3f4b0dafb6f9be2a5055fe198dda03025b5682b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @contract-case/case-entities-internal bumped from 0.18.0 to 0.19.0 + * @contract-case/case-plugin-dsl-types bumped from 0.18.0 to 0.19.0 + * @contract-case/case-core-plugin-http-dsl bumped from 0.18.0 to 0.19.0 + * @contract-case/case-core-plugin-function-dsl bumped from 0.18.0 to 0.19.0 + * devDependencies + * @contract-case/case-maintainer-config bumped from 0.1.0 to 0.19.0 + * @contract-case/eslint-config-case-maintainer bumped from 0.1.1 to 0.19.0 + * @contract-case/case-core-plugin-http-dsl bumped from 0.18.0 to 0.19.0 + ## [0.18.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-definition-dsl-v0.17.1...@contract-case/case-definition-dsl-v0.18.0) (2024-10-17) diff --git a/packages/case-definition-dsl/package.json b/packages/case-definition-dsl/package.json index 27622407d..534904024 100644 --- a/packages/case-definition-dsl/package.json +++ b/packages/case-definition-dsl/package.json @@ -1,6 +1,6 @@ { "name": "@contract-case/case-definition-dsl", - "version": "0.18.0", + "version": "0.19.0", "description": "Definition DSL components for the ContractCase contract testing suite", "author": "Timothy Jones (https://github.com/TimothyJones)", "homepage": "https://case.contract-testing.io/", @@ -67,9 +67,9 @@ } }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", - "@contract-case/case-core-plugin-http-dsl": "0.18.0", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", + "@contract-case/case-core-plugin-http-dsl": "0.19.0", "@microsoft/api-documenter": "^7.26.10", "@microsoft/api-extractor": "^7.51.1", "@types/jest": "^29.5.12", @@ -84,10 +84,10 @@ "ts-node": "^10.9.2" }, "dependencies": { - "@contract-case/case-entities-internal": "0.18.0", - "@contract-case/case-plugin-dsl-types": "0.18.0", - "@contract-case/case-core-plugin-http-dsl": "0.18.0", - "@contract-case/case-core-plugin-function-dsl": "0.18.0" + "@contract-case/case-entities-internal": "0.19.0", + "@contract-case/case-plugin-dsl-types": "0.19.0", + "@contract-case/case-core-plugin-http-dsl": "0.19.0", + "@contract-case/case-core-plugin-function-dsl": "0.19.0" }, "stability": "stable", "types": "build/index.d.ts", diff --git a/packages/case-entities/CHANGELOG.md b/packages/case-entities/CHANGELOG.md index 8c4b4c09a..5531835d6 100644 --- a/packages/case-entities/CHANGELOG.md +++ b/packages/case-entities/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-entities-internal-v0.18.0...@contract-case/case-entities-internal-v0.19.0) (2025-03-15) + + +### Miscellaneous Chores + +* **@contract-case/case-entities-internal:** Synchronize ContractCase versions + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @contract-case/case-core-plugin-http-dsl bumped from 0.18.0 to 0.19.0 + * @contract-case/case-core-plugin-function-dsl bumped from 0.18.0 to 0.19.0 + * @contract-case/case-plugin-dsl-types bumped from 0.18.0 to 0.19.0 + * devDependencies + * @contract-case/case-maintainer-config bumped from 0.1.0 to 0.19.0 + * @contract-case/eslint-config-case-maintainer bumped from 0.1.1 to 0.19.0 + ## [0.18.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-entities-internal-v0.17.1...@contract-case/case-entities-internal-v0.18.0) (2024-10-17) diff --git a/packages/case-entities/package.json b/packages/case-entities/package.json index 9e51a9cce..c01b65364 100644 --- a/packages/case-entities/package.json +++ b/packages/case-entities/package.json @@ -1,6 +1,6 @@ { "name": "@contract-case/case-entities-internal", - "version": "0.18.0", + "version": "0.19.0", "description": "Shared types for ContractCase modules", "keywords": [ "testing", @@ -48,8 +48,8 @@ "url": "https://github.com/case-contract-testing/case/issues" }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@types/current-git-branch": "^1.1.6", "@types/express": "^4.17.14", "@types/is-ci": "^3.0.0", @@ -66,8 +66,8 @@ "typescript": "5.5.4" }, "dependencies": { - "@contract-case/case-core-plugin-http-dsl": "0.18.0", - "@contract-case/case-core-plugin-function-dsl": "0.18.0", - "@contract-case/case-plugin-dsl-types": "0.18.0" + "@contract-case/case-core-plugin-http-dsl": "0.19.0", + "@contract-case/case-core-plugin-function-dsl": "0.19.0", + "@contract-case/case-plugin-dsl-types": "0.19.0" } } diff --git a/packages/case-maintainer-config/CHANGELOG.md b/packages/case-maintainer-config/CHANGELOG.md index 71cd0b261..52f304fea 100644 --- a/packages/case-maintainer-config/CHANGELOG.md +++ b/packages/case-maintainer-config/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-maintainer-config-v0.1.0...@contract-case/case-maintainer-config-v0.19.0) (2025-03-15) + + +### Miscellaneous Chores + +* **@contract-case/case-maintainer-config:** Synchronize ContractCase versions + ## [0.1.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-maintainer-config-v0.0.4...@contract-case/case-maintainer-config-v0.1.0) (2024-10-01) diff --git a/packages/case-maintainer-config/package.json b/packages/case-maintainer-config/package.json index ccfde31c6..f9e29a93e 100644 --- a/packages/case-maintainer-config/package.json +++ b/packages/case-maintainer-config/package.json @@ -1,6 +1,6 @@ { "name": "@contract-case/case-maintainer-config", - "version": "0.1.0", + "version": "0.19.0", "description": "Shared configuration for ContractCase modules. For eslint config, see @contract-case/eslint-config-case-maintainer", "keywords": [ "contractcase" diff --git a/packages/case-plugin-base/CHANGELOG.md b/packages/case-plugin-base/CHANGELOG.md index dd474431b..468973447 100644 --- a/packages/case-plugin-base/CHANGELOG.md +++ b/packages/case-plugin-base/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-plugin-base-v0.18.0...@contract-case/case-plugin-base-v0.19.0) (2025-03-15) + + +### ⚠ BREAKING CHANGES + +* Add ability for matchers to validate their own content. This is a breaking change for any plugin authors, as matcher Executor implementations now need to provide validation functions + +### Features + +* Add ability for matchers to validate their own content. This is a breaking change for any plugin authors, as matcher Executor implementations now need to provide validation functions ([afaa8d7](https://github.com/case-contract-testing/contract-case/commit/afaa8d75d81e45ca7609f89b1e17819183bc59b2)) +* Add ability for the current version to be generated from the git sha ([dd70365](https://github.com/case-contract-testing/contract-case/commit/dd703650fd058d34f6d772011b74faec10b93074)) +* Run parameter validators ahead of the self-check, allowing early warning of configuration mistakes in example interactions ([186d2e5](https://github.com/case-contract-testing/contract-case/commit/186d2e58eff512d37e53425ac353b231d15250a8)) + + +### Bug Fixes + +* Change the "->" in interaction names to "returns" ([e1c3f29](https://github.com/case-contract-testing/contract-case/commit/e1c3f29bb6803dff59f615b75b055cc3c9d184b7)) +* Improve logging when multiple contracts are verified ([9f3f4a2](https://github.com/case-contract-testing/contract-case/commit/9f3f4a249eeafdb4da57aef11807ff3e23f544d3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @contract-case/case-plugin-dsl-types bumped from 0.18.0 to 0.19.0 + * devDependencies + * @contract-case/case-maintainer-config bumped from 0.1.0 to 0.19.0 + * @contract-case/eslint-config-case-maintainer bumped from 0.1.1 to 0.19.0 + ## [0.18.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-plugin-base-v0.17.1...@contract-case/case-plugin-base-v0.18.0) (2024-10-17) diff --git a/packages/case-plugin-base/package.json b/packages/case-plugin-base/package.json index c5a9614cd..0081d87f9 100644 --- a/packages/case-plugin-base/package.json +++ b/packages/case-plugin-base/package.json @@ -1,6 +1,6 @@ { "name": "@contract-case/case-plugin-base", - "version": "0.18.0", + "version": "0.19.0", "description": "Plugin framework for writing plugins for the ContractCase test framework", "keywords": [ "testing", @@ -51,8 +51,8 @@ "url": "https://github.com/case-contract-testing/case/issues" }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@microsoft/api-documenter": "^7.26.10", "@microsoft/api-extractor": "^7.51.1", "@types/jest": "^29.5.12", @@ -65,7 +65,7 @@ "typescript": "5.5.4" }, "dependencies": { - "@contract-case/case-plugin-dsl-types": "0.18.0", + "@contract-case/case-plugin-dsl-types": "0.19.0", "pretty-format": "^29.7.0" } } diff --git a/packages/case-plugin-dsl-types/CHANGELOG.md b/packages/case-plugin-dsl-types/CHANGELOG.md index dc6320e5b..1300f9be9 100644 --- a/packages/case-plugin-dsl-types/CHANGELOG.md +++ b/packages/case-plugin-dsl-types/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-plugin-dsl-types-v0.18.0...@contract-case/case-plugin-dsl-types-v0.19.0) (2025-03-15) + + +### Miscellaneous Chores + +* **@contract-case/case-plugin-dsl-types:** Synchronize ContractCase versions + + +### Dependencies + +* The following workspace dependencies were updated + * devDependencies + * @contract-case/case-maintainer-config bumped from 0.1.0 to 0.19.0 + * @contract-case/eslint-config-case-maintainer bumped from 0.1.1 to 0.19.0 + ## [0.18.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-plugin-dsl-types-v0.17.1...@contract-case/case-plugin-dsl-types-v0.18.0) (2024-10-17) diff --git a/packages/case-plugin-dsl-types/package.json b/packages/case-plugin-dsl-types/package.json index 7f1bd8c7e..d91dec616 100644 --- a/packages/case-plugin-dsl-types/package.json +++ b/packages/case-plugin-dsl-types/package.json @@ -1,6 +1,6 @@ { "name": "@contract-case/case-plugin-dsl-types", - "version": "0.18.0", + "version": "0.19.0", "description": "Types for writing the definition DSL for plugins for the ContractCase test framework", "keywords": [ "testing", @@ -51,8 +51,8 @@ "url": "https://github.com/case-contract-testing/case/issues" }, "devDependencies": { - "@contract-case/case-maintainer-config": "0.1.0", - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/case-maintainer-config": "0.19.0", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@microsoft/api-documenter": "^7.26.10", "@microsoft/api-extractor": "^7.51.1", "eslint": "^9.21.0", diff --git a/packages/contract-case-cli/CHANGELOG.md b/packages/contract-case-cli/CHANGELOG.md index 70df4d19b..a6913ee2e 100644 --- a/packages/contract-case-cli/CHANGELOG.md +++ b/packages/contract-case-cli/CHANGELOG.md @@ -23,6 +23,23 @@ * devDependencies * @contract-case/eslint-config-case-maintainer bumped from 0.0.1 to 0.0.2 +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/cli-v0.2.6...@contract-case/cli-v0.19.0) (2025-03-15) + + +### Bug Fixes + +* Poke through CASE_CONNECTOR_CLIENT to improve debugging ([5e06ce2](https://github.com/case-contract-testing/contract-case/commit/5e06ce2a5096a63ce5b2a786f03ca076dcf1fa9a)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @contract-case/case-connector bumped from 0.10.0 to 0.19.0 + * @contract-case/case-core bumped from 0.18.0 to 0.19.0 + * devDependencies + * @contract-case/eslint-config-case-maintainer bumped from 0.1.1 to 0.19.0 + ## [0.2.6](https://github.com/case-contract-testing/contract-case/compare/@contract-case/cli-v0.2.5...@contract-case/cli-v0.2.6) (2024-10-17) diff --git a/packages/contract-case-cli/package.json b/packages/contract-case-cli/package.json index 833ab1931..dbe5a1975 100644 --- a/packages/contract-case-cli/package.json +++ b/packages/contract-case-cli/package.json @@ -1,6 +1,6 @@ { "name": "@contract-case/cli", - "version": "0.2.6", + "version": "0.19.0", "type": "module", "description": "Command-line interface for ContractCase, allowing interactions with the Contract / Pact Broker", "keywords": [ @@ -58,7 +58,7 @@ "url": "https://github.com/case-contract-testing/case/issues" }, "devDependencies": { - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@types/jest": "^29.5.12", "cross-env": "^7.0.3", "eslint": "^9.21.0", @@ -70,8 +70,8 @@ "typescript": "5.5.4" }, "dependencies": { - "@contract-case/case-connector": "0.10.0", - "@contract-case/case-core": "0.18.0", + "@contract-case/case-connector": "0.19.0", + "@contract-case/case-core": "0.19.0", "chalk": "^5.3.0", "commander": "^13.0.0", "read-pkg-up": "^7.0.1" diff --git a/packages/contract-case-jest/CHANGELOG.md b/packages/contract-case-jest/CHANGELOG.md index 6c9652ee7..bdadf3519 100644 --- a/packages/contract-case-jest/CHANGELOG.md +++ b/packages/contract-case-jest/CHANGELOG.md @@ -29,6 +29,46 @@ * @contract-case/case-example-mock-types bumped from 0.14.0 to 0.15.1 * @contract-case/cli bumped from 0.1.6 to 0.1.7 +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/contract-case-jest-v0.13.0...@contract-case/contract-case-jest-v0.19.0) (2025-03-15) + + +### ⚠ BREAKING CHANGES + +* The `mocks` module has been renamed `interactions`; and `AnyMockDescriptor` has been renamed `AnyInteractionDescriptor`. You may need to update your imports +* Replace runExample / runRejectingExample / runThrowingExample with runInteraction / runRejectingInteraction / runThrowingInteraction +* Rename TriggerSetup to InteractionSetup for consistency + +### Features + +* Add ability for the current version to be generated from the git sha ([dd70365](https://github.com/case-contract-testing/contract-case/commit/dd703650fd058d34f6d772011b74faec10b93074)) + + +### Bug Fixes + +* Poke through CASE_CONNECTOR_CLIENT to improve debugging ([5e06ce2](https://github.com/case-contract-testing/contract-case/commit/5e06ce2a5096a63ce5b2a786f03ca076dcf1fa9a)) + + +### Code Refactoring + +* Rename TriggerSetup to InteractionSetup for consistency ([3bbec69](https://github.com/case-contract-testing/contract-case/commit/3bbec69b4bd62c6678a642db90e65ff376aca73d)) +* Replace runExample / runRejectingExample / runThrowingExample with runInteraction / runRejectingInteraction / runThrowingInteraction ([a37e0e8](https://github.com/case-contract-testing/contract-case/commit/a37e0e8258672894e702aebdb5d9cddce90923b4)) +* The `mocks` module has been renamed `interactions`; and `AnyMockDescriptor` has been renamed `AnyInteractionDescriptor`. You may need to update your imports ([f3f4b0d](https://github.com/case-contract-testing/contract-case/commit/f3f4b0dafb6f9be2a5055fe198dda03025b5682b)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @contract-case/case-connector bumped from 0.10.0 to 0.19.0 + * @contract-case/case-core-plugin-http-dsl bumped from 0.18.0 to 0.19.0 + * @contract-case/case-definition-dsl bumped from 0.18.0 to 0.19.0 + * @contract-case/case-entities-internal bumped from 0.18.0 to 0.19.0 + * @contract-case/case-plugin-base bumped from 0.18.0 to 0.19.0 + * @contract-case/case-plugin-dsl-types bumped from 0.18.0 to 0.19.0 + * @contract-case/cli bumped from 0.2.6 to 0.19.0 + * devDependencies + * @contract-case/eslint-config-case-maintainer bumped from 0.1.1 to 0.19.0 + ## [0.13.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/contract-case-jest-v0.12.5...@contract-case/contract-case-jest-v0.13.0) (2024-10-17) diff --git a/packages/contract-case-jest/package.json b/packages/contract-case-jest/package.json index 312ca5264..ec9feb435 100644 --- a/packages/contract-case-jest/package.json +++ b/packages/contract-case-jest/package.json @@ -1,6 +1,6 @@ { "name": "@contract-case/contract-case-jest", - "version": "0.13.0", + "version": "0.19.0", "type": "module", "description": "ContractCase contract testing suite", "keywords": [ @@ -56,7 +56,7 @@ "url": "https://github.com/case-contract-testing/case/issues" }, "devDependencies": { - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "@grpc/grpc-js": "^1.12.6", "@grpc/proto-loader": "^0.7.13", "@types/body-parser": "^1.19.2", @@ -80,13 +80,13 @@ "jest": "^29.4.3" }, "dependencies": { - "@contract-case/case-connector": "0.10.0", - "@contract-case/case-core-plugin-http-dsl": "0.18.0", - "@contract-case/case-definition-dsl": "0.18.0", - "@contract-case/case-entities-internal": "0.18.0", - "@contract-case/case-plugin-base": "0.18.0", - "@contract-case/case-plugin-dsl-types": "0.18.0", - "@contract-case/cli": "0.2.6", + "@contract-case/case-connector": "0.19.0", + "@contract-case/case-core-plugin-http-dsl": "0.19.0", + "@contract-case/case-definition-dsl": "0.19.0", + "@contract-case/case-entities-internal": "0.19.0", + "@contract-case/case-plugin-base": "0.19.0", + "@contract-case/case-plugin-dsl-types": "0.19.0", + "@contract-case/cli": "0.19.0", "chalk": "^4.1.2", "read-pkg-up": "^7.0.1", "ts-node": "^10.9.1" diff --git a/packages/documentation-matchers-generator/CHANGELOG.md b/packages/documentation-matchers-generator/CHANGELOG.md new file mode 100644 index 000000000..adea2d7d3 --- /dev/null +++ b/packages/documentation-matchers-generator/CHANGELOG.md @@ -0,0 +1,23 @@ +# Changelog + +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/documentation-matchers-generator-v0.0.1...@contract-case/documentation-matchers-generator-v0.19.0) (2025-03-15) + + +### Features + +* Add rendering of typescript matcher documentation too ([be9eee5](https://github.com/case-contract-testing/contract-case/commit/be9eee507cdcedd88e5eef7c300ac396e2334628)) +* Support links between matchers ([4da2d5d](https://github.com/case-contract-testing/contract-case/commit/4da2d5dbddcf6958b4b62b06a1f545d56342ecd2)) + + +### Bug Fixes + +* Don't render parameters in matcher documentation when there aren't any ([83c5d43](https://github.com/case-contract-testing/contract-case/commit/83c5d4319a234100843d64258fe20cb371159232)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @contract-case/case-definition-dsl bumped from 0.18.0 to 0.19.0 + * devDependencies + * @contract-case/eslint-config-case-maintainer bumped from 0.1.1 to 0.19.0 diff --git a/packages/documentation-matchers-generator/package.json b/packages/documentation-matchers-generator/package.json index e8fa3b729..c64f5c0a7 100644 --- a/packages/documentation-matchers-generator/package.json +++ b/packages/documentation-matchers-generator/package.json @@ -1,6 +1,6 @@ { "name": "@contract-case/documentation-matchers-generator", - "version": "0.0.1", + "version": "0.19.0", "type": "module", "private": true, "description": "Generator for the matcher documentation of ContractCase", @@ -53,14 +53,14 @@ "url": "https://github.com/case-contract-testing/case/issues" }, "devDependencies": { - "@contract-case/eslint-config-case-maintainer": "0.1.1", + "@contract-case/eslint-config-case-maintainer": "0.19.0", "eslint": "^9.21.0", "prettier": "3.4.2", "rimraf": "^6.0.1", "typescript": "5.5.4" }, "dependencies": { - "@contract-case/case-definition-dsl": "0.18.0", + "@contract-case/case-definition-dsl": "0.19.0", "mkdirp": "^3.0.1" } } diff --git a/packages/documentation/CHANGELOG.md b/packages/documentation/CHANGELOG.md index 8efdd054b..c39acf4ae 100644 --- a/packages/documentation/CHANGELOG.md +++ b/packages/documentation/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/documentation-v0.0.8...documentation-v0.19.0) (2025-03-15) + + +### ⚠ BREAKING CHANGES + +* The `mocks` module has been renamed `interactions`; and `AnyMockDescriptor` has been renamed `AnyInteractionDescriptor`. You may need to update your imports +* Replace runExample / runRejectingExample / runThrowingExample with runInteraction / runRejectingInteraction / runThrowingInteraction + +### Features + +* Add ability for the current version to be generated from the git sha ([dd70365](https://github.com/case-contract-testing/contract-case/commit/dd703650fd058d34f6d772011b74faec10b93074)) + + +### Documentation + +* Add initial matcher documentation ([d95d868](https://github.com/case-contract-testing/contract-case/commit/d95d868d3f6f3a03e16119be25029822631d342e)) +* Improve state handler documentation ([1c02ae0](https://github.com/case-contract-testing/contract-case/commit/1c02ae086216a153e6e3e7455eb45cfb28316b38)) +* Minor improvements to wording in the state handler documentation ([7791228](https://github.com/case-contract-testing/contract-case/commit/7791228e235ec166ec7243fd4650ff5dbc70348b)) +* Substantially improve documentation ([7bf4006](https://github.com/case-contract-testing/contract-case/commit/7bf40065063184795f94e6872cb80c3014c02db9)) +* Update docs to reflect change from Example -> interaction ([2d3b5b1](https://github.com/case-contract-testing/contract-case/commit/2d3b5b1cc8a6957ce02e5b0fe3194b68bb3eb956)) +* Update matcher documentation ([ace5ac9](https://github.com/case-contract-testing/contract-case/commit/ace5ac9b0d00b79fb55d4373b6405a71f849d598)) +* Update package versioning to make it clear that the versions are linked now ([fa43518](https://github.com/case-contract-testing/contract-case/commit/fa43518600c4d451450582d8776e9ead2292cd7a)) + + +### Code Refactoring + +* Replace runExample / runRejectingExample / runThrowingExample with runInteraction / runRejectingInteraction / runThrowingInteraction ([a37e0e8](https://github.com/case-contract-testing/contract-case/commit/a37e0e8258672894e702aebdb5d9cddce90923b4)) +* The `mocks` module has been renamed `interactions`; and `AnyMockDescriptor` has been renamed `AnyInteractionDescriptor`. You may need to update your imports ([f3f4b0d](https://github.com/case-contract-testing/contract-case/commit/f3f4b0dafb6f9be2a5055fe198dda03025b5682b)) + ## [0.0.8](https://github.com/case-contract-testing/contract-case/compare/documentation-v0.0.7...documentation-v0.0.8) (2024-10-01) diff --git a/packages/documentation/package.json b/packages/documentation/package.json index f93f5eef2..6afe5ab98 100644 --- a/packages/documentation/package.json +++ b/packages/documentation/package.json @@ -1,6 +1,6 @@ { "name": "case-documentation", - "version": "0.0.8", + "version": "0.19.0", "private": true, "scripts": { "docusaurus": "docusaurus", diff --git a/packages/dsl-java/CHANGELOG.md b/packages/dsl-java/CHANGELOG.md index f8753d5ed..062e5a04f 100644 --- a/packages/dsl-java/CHANGELOG.md +++ b/packages/dsl-java/CHANGELOG.md @@ -1,5 +1,42 @@ # Changelog +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/dsl-java-v0.3.0...@contract-case/dsl-java-v0.19.0) (2025-03-15) + + +### ⚠ BREAKING CHANGES + +* Replaced `stateHandlers(Map)` with `stateHandler(stateName, StateHandler)` in config builders, for a more idomatic experience +* `ExampleDefinition` has been renamed `InteractionDefinition`. You will need to update your tests +* Replace runExample / runRejectingExample / runThrowingExample with runInteraction / runRejectingInteraction / runThrowingInteraction +* Rename SetupInfo to InteractionSetup for consistency + +### Features + +* Add ability for the current version to be generated from the git sha ([dd70365](https://github.com/case-contract-testing/contract-case/commit/dd703650fd058d34f6d772011b74faec10b93074)) +* Add ability to register function calls to the ContractVerifier ([1de3d31](https://github.com/case-contract-testing/contract-case/commit/1de3d31647ed14ad0fe8c37701064ca836d653d0)) +* Add convenience method for state handlers with void returns to StateHandler ([5aaab4e](https://github.com/case-contract-testing/contract-case/commit/5aaab4ed8d17f1344090b022f6fe869cdac66700)) + + +### Bug Fixes + +* Allow triggers to throw exceptions, avoiding boilerplate in tests ([e9f5f04](https://github.com/case-contract-testing/contract-case/commit/e9f5f04276f372b16048979648a2a94d887c4515)) + + +### Code Refactoring + +* `ExampleDefinition` has been renamed `InteractionDefinition`. You will need to update your tests ([7739fe5](https://github.com/case-contract-testing/contract-case/commit/7739fe53bf5c412f945c84ad1571f2e13f431f43)) +* Rename SetupInfo to InteractionSetup for consistency ([ea8ba95](https://github.com/case-contract-testing/contract-case/commit/ea8ba9537b91bc99cb8a3927fd21e495f57d41a7)) +* Replace runExample / runRejectingExample / runThrowingExample with runInteraction / runRejectingInteraction / runThrowingInteraction ([a37e0e8](https://github.com/case-contract-testing/contract-case/commit/a37e0e8258672894e702aebdb5d9cddce90923b4)) +* Replaced `stateHandlers(Map)` with `stateHandler(stateName, StateHandler)` in config builders, for a more idomatic experience ([1358b76](https://github.com/case-contract-testing/contract-case/commit/1358b76f36316f5245ab4b998bd1b1ae8f1bad36)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @contract-case/case-connector bumped from 0.10.0 to 0.19.0 + * @contract-case/case-definition-dsl bumped from 0.18.0 to 0.19.0 + ## [0.3.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/dsl-java-v0.2.3...@contract-case/dsl-java-v0.3.0) (2024-10-17) ### ⚠ BREAKING CHANGES diff --git a/packages/dsl-java/README.md b/packages/dsl-java/README.md index 4ff042a99..4d8fe4bf2 100644 --- a/packages/dsl-java/README.md +++ b/packages/dsl-java/README.md @@ -22,7 +22,7 @@ Read the [documentation here](https://case.contract-testing.io/docs/intro/). _build.gradle_: ```groovy -testImplementation "io.contract-testing.contractcase:contract-case:0.3.0" +testImplementation "io.contract-testing.contractcase:contract-case:0.19.0" ``` diff --git a/packages/dsl-java/build.gradle b/packages/dsl-java/build.gradle index cd5a41c1f..f7895dfcf 100644 --- a/packages/dsl-java/build.gradle +++ b/packages/dsl-java/build.gradle @@ -9,7 +9,7 @@ plugins { id "com.github.spotbugs" version "6.1.7" } group = 'io.contract-testing.contractcase' -version = "0.3.0" // x-release-please-version +version = "0.19.0" // x-release-please-version sourceCompatibility = '17' diff --git a/packages/dsl-java/package.json b/packages/dsl-java/package.json index 63e8cc361..b4a9e5f18 100644 --- a/packages/dsl-java/package.json +++ b/packages/dsl-java/package.json @@ -1,6 +1,6 @@ { "name": "@contract-case/dsl-java", - "version": "0.3.0", + "version": "0.19.0", "private": true, "description": "Java DSL for the ContractCase contract testing suite", "keywords": [ @@ -31,8 +31,8 @@ "rimraf": "^6.0.1" }, "dependencies": { - "@contract-case/case-connector": "0.10.0", - "@contract-case/case-definition-dsl": "0.18.0" + "@contract-case/case-connector": "0.19.0", + "@contract-case/case-definition-dsl": "0.19.0" }, "nx": { "tasksRunnerOptions": { diff --git a/packages/eslint-config-case-maintainer/CHANGELOG.md b/packages/eslint-config-case-maintainer/CHANGELOG.md index 45f312df9..bad9bdc5f 100644 --- a/packages/eslint-config-case-maintainer/CHANGELOG.md +++ b/packages/eslint-config-case-maintainer/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [0.19.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/eslint-config-case-maintainer-v0.1.1...@contract-case/eslint-config-case-maintainer-v0.19.0) (2025-03-15) + + +### ⚠ BREAKING CHANGES + +* Update to eslint v9, dropping support for v8 + +### Miscellaneous Chores + +* Update to eslint v9, dropping support for v8 ([b260b71](https://github.com/case-contract-testing/contract-case/commit/b260b71bc7b45c4775009e77301403ea8c574f33)) + ## [0.1.1](https://github.com/case-contract-testing/contract-case/compare/@contract-case/eslint-config-case-maintainer-v0.1.0...@contract-case/eslint-config-case-maintainer-v0.1.1) (2024-10-01) diff --git a/packages/eslint-config-case-maintainer/package.json b/packages/eslint-config-case-maintainer/package.json index d4222b98d..de4a2f6b1 100644 --- a/packages/eslint-config-case-maintainer/package.json +++ b/packages/eslint-config-case-maintainer/package.json @@ -1,6 +1,6 @@ { "name": "@contract-case/eslint-config-case-maintainer", - "version": "0.1.1", + "version": "0.19.0", "description": "eslint settings for contract-case modules. Only useful for ContractCase maintainers", "keywords": [ "contractcase"