Skip to content

Commit 8322112

Browse files
committed
chore: release 0.22.0
1 parent b8dcd1f commit 8322112

46 files changed

Lines changed: 580 additions & 195 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.release-please-manifest.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
2-
"packages/case-core": "0.21.0",
3-
"packages/case-definition-dsl": "0.21.0",
4-
"packages/case-core-plugin-http": "0.21.0",
5-
"packages/case-core-plugin-http-dsl": "0.21.0",
6-
"packages/case-core-plugin-function": "0.21.0",
7-
"packages/case-core-plugin-function-dsl": "0.21.0",
8-
"packages/case-plugin-base": "0.21.0",
9-
"packages/case-plugin-dsl-types": "0.21.0",
10-
"packages/case-entities": "0.21.0",
11-
"packages/contract-case-jest": "0.21.0",
12-
"packages/documentation": "0.21.0",
13-
".": "0.21.0",
14-
"packages/contract-case-cli": "0.21.0",
15-
"packages/case-maintainer-config": "0.21.0",
16-
"packages/eslint-config-case-maintainer": "0.21.0",
17-
"packages/case-connector": "0.21.0",
18-
"packages/case-connector-proto": "0.21.0",
19-
"packages/dsl-java": "0.21.0",
20-
"packages/documentation-matchers-generator": "0.21.0"
2+
"packages/case-core": "0.22.0",
3+
"packages/case-definition-dsl": "0.22.0",
4+
"packages/case-core-plugin-http": "0.22.0",
5+
"packages/case-core-plugin-http-dsl": "0.22.0",
6+
"packages/case-core-plugin-function": "0.22.0",
7+
"packages/case-core-plugin-function-dsl": "0.22.0",
8+
"packages/case-plugin-base": "0.22.0",
9+
"packages/case-plugin-dsl-types": "0.22.0",
10+
"packages/case-entities": "0.22.0",
11+
"packages/contract-case-jest": "0.22.0",
12+
"packages/documentation": "0.22.0",
13+
".": "0.22.0",
14+
"packages/contract-case-cli": "0.22.0",
15+
"packages/case-maintainer-config": "0.22.0",
16+
"packages/eslint-config-case-maintainer": "0.22.0",
17+
"packages/case-connector": "0.22.0",
18+
"packages/case-connector-proto": "0.22.0",
19+
"packages/dsl-java": "0.22.0",
20+
"packages/documentation-matchers-generator": "0.22.0"
2121
}

docs/maintainers/FULL-CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
# Changelog
22

3+
## [0.22.0](https://github.com/case-contract-testing/contract-case/compare/v0.21.0...v0.22.0) (2025-04-14)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* **core:** New behaviour of using contacts like snapshots - the new setting changedContracts changes the behaviour when contracts are changed. Either 'FAIL' for fail when a contract is changed, or 'OVERWRITE' for overwriting when a contract is changed. Default is to FAIL, so this is a breaking change.
9+
10+
### Features
11+
12+
* **cli:** Add ability to invoke can-i-deploy from the CLI ([b2351ca](https://github.com/case-contract-testing/contract-case/commit/b2351cabd548d6b62b631fd45966cc2263325276))
13+
* **cli:** Add option to specify the download directory ([dd95f1b](https://github.com/case-contract-testing/contract-case/commit/dd95f1bbe346d5339e7e155b75227371d68390d0))
14+
* **connector:** Expose a CJS version as `@contract-case/case-connector/cjs` ([bbc490d](https://github.com/case-contract-testing/contract-case/commit/bbc490d0f92afb9a936be615e9663a8c27478cc7))
15+
* **core:** Add ability to ask broker if it is safe to deploy ([17a3ec5](https://github.com/case-contract-testing/contract-case/commit/17a3ec5ecb7d5676137a4f7cd84dc4bb3e68d67b))
16+
* **core:** New behaviour of using contacts like snapshots - the new setting changedContracts changes the behaviour when contracts are changed. Either 'FAIL' for fail when a contract is changed, or 'OVERWRITE' for overwriting when a contract is changed. Default is to FAIL, so this is a breaking change. ([b8dcd1f](https://github.com/case-contract-testing/contract-case/commit/b8dcd1f7ed16cfdeda22728da794a66e95f2870c))
17+
* **core:** Write a main contract file alongside the hashed contract file when in contractDir mode. Useful for spotting changes to the main branch ([afb2e66](https://github.com/case-contract-testing/contract-case/commit/afb2e66ab415d2447ee983585c39e66d67d4e0eb))
18+
19+
20+
### Bug Fixes
21+
22+
* **cli:** Fix issue where CLI wasn't executable on some systems ([cc67662](https://github.com/case-contract-testing/contract-case/commit/cc676620a807c8fe6ba93005df3302fe5a3d3094))
23+
* **cli:** Fix issue where CLI wouldn't listen to some arguments ([8cf4062](https://github.com/case-contract-testing/contract-case/commit/8cf4062c16f1d7bffe3d5b51ec906a7d677db946))
24+
* **core:** Contract hashes no longer include metadata or broker-provided fields. This means that broker downloaded contracts will match the uploaded hash ([60f4f5f](https://github.com/case-contract-testing/contract-case/commit/60f4f5f9c2fe3cfaecd3c90c4b5adb94f9dd3b65))
25+
* **core:** Improve error message when non-brokered contract verification is published ([0cfbfa0](https://github.com/case-contract-testing/contract-case/commit/0cfbfa0471cd7ca0a9eec8b3abc28b3c4183527d))
26+
* **core:** State-handler provided variables were accidentally included in the contract hash, now they aren't ([1f3045f](https://github.com/case-contract-testing/contract-case/commit/1f3045fb7b9bd6074fec6ec8aaefab9f7b638222))
27+
* Improve reporting of stack traces when triggers fail ([deedb53](https://github.com/case-contract-testing/contract-case/commit/deedb532cbd8e62926cb58da3392ce41135a6dd5))
28+
* **jest:** Expose package as CJS so that it plays better with jest ([34e8a3b](https://github.com/case-contract-testing/contract-case/commit/34e8a3b84b6b77a460dde5a76ae92a8e25acf504))
29+
30+
31+
### Dependencies
32+
33+
* The following workspace dependencies were updated
34+
* devDependencies
35+
* @contract-case/eslint-config-case-maintainer bumped from 0.21.0 to 0.22.0
36+
337
## [0.21.0](https://github.com/case-contract-testing/contract-case/compare/v0.20.1...v0.21.0) (2025-03-25)
438

539

0 commit comments

Comments
 (0)