Skip to content

Commit 868616a

Browse files
committed
chore: release 0.26.0
1 parent 1e42428 commit 868616a

46 files changed

Lines changed: 571 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.25.2",
3-
"packages/case-definition-dsl": "0.25.2",
4-
"packages/case-core-plugin-http": "0.25.2",
5-
"packages/case-core-plugin-http-dsl": "0.25.2",
6-
"packages/case-core-plugin-function": "0.25.2",
7-
"packages/case-core-plugin-function-dsl": "0.25.2",
8-
"packages/case-plugin-base": "0.25.2",
9-
"packages/case-plugin-dsl-types": "0.25.2",
10-
"packages/case-entities": "0.25.2",
11-
"packages/contract-case-jest": "0.25.2",
12-
"packages/documentation": "0.25.2",
13-
".": "0.25.2",
14-
"packages/contract-case-cli": "0.25.2",
15-
"packages/case-maintainer-config": "0.25.2",
16-
"packages/eslint-config-case-maintainer": "0.25.2",
17-
"packages/case-connector": "0.25.2",
18-
"packages/case-connector-proto": "0.25.2",
19-
"packages/dsl-java": "0.25.2",
20-
"packages/documentation-matchers-generator": "0.25.2"
2+
"packages/case-core": "0.26.0",
3+
"packages/case-definition-dsl": "0.26.0",
4+
"packages/case-core-plugin-http": "0.26.0",
5+
"packages/case-core-plugin-http-dsl": "0.26.0",
6+
"packages/case-core-plugin-function": "0.26.0",
7+
"packages/case-core-plugin-function-dsl": "0.26.0",
8+
"packages/case-plugin-base": "0.26.0",
9+
"packages/case-plugin-dsl-types": "0.26.0",
10+
"packages/case-entities": "0.26.0",
11+
"packages/contract-case-jest": "0.26.0",
12+
"packages/documentation": "0.26.0",
13+
".": "0.26.0",
14+
"packages/contract-case-cli": "0.26.0",
15+
"packages/case-maintainer-config": "0.26.0",
16+
"packages/eslint-config-case-maintainer": "0.26.0",
17+
"packages/case-connector": "0.26.0",
18+
"packages/case-connector-proto": "0.26.0",
19+
"packages/dsl-java": "0.26.0",
20+
"packages/documentation-matchers-generator": "0.26.0"
2121
}

docs/maintainers/FULL-CHANGELOG.md

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

3+
## [0.26.0](https://github.com/case-contract-testing/contract-case/compare/v0.25.2...v0.26.0) (2025-07-10)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* **core:** Removed the assumption that every interaction response can be described by "returns". This is a breaking change, because it needs contracts to be re-written, and http contracts with automatically named triggers will have to change triggers from \`"a (200) ..."\` to \`"returns a (200) ..."\`. If you need to stay compatible with contracts from before this version, you will need to provide both names in your trigger definitions
9+
10+
### Features
11+
12+
* Add Jest 30 as a possible peer dependency ([0f3cc98](https://github.com/case-contract-testing/contract-case/commit/0f3cc9819d3868a20f59bb28fd3dc11a5f42ca73))
13+
* **core:** Now contract verification is guaranteed to run contracts in order, instead of interleaving interactions ([0648101](https://github.com/case-contract-testing/contract-case/commit/06481012140d935fc1134d5351f97be97bfe65e3))
14+
* **core:** Removed the assumption that every interaction response can be described by "returns". This is a breaking change, because it needs contracts to be re-written, and http contracts with automatically named triggers will have to change triggers from \`"a (200) ..."\` to \`"returns a (200) ..."\`. If you need to stay compatible with contracts from before this version, you will need to provide both names in your trigger definitions ([7f06209](https://github.com/case-contract-testing/contract-case/commit/7f062096bdad81e5d763429682b99f481f9405ce))
15+
* Now `definer.endRecord()` returns a `ContractWriteSuccess` object, which contains details of the written contract(s) ([7299895](https://github.com/case-contract-testing/contract-case/commit/7299895f8ec7a9d8b3e351111045f5c7b75eb1e8))
16+
* **plugin-base:** Added ability for matching errors to have context about what the data is, allowing more specific error messages ([150c0d6](https://github.com/case-contract-testing/contract-case/commit/150c0d6745afe0ba3b60819510fdc11346578c4d))
17+
18+
19+
### Bug Fixes
20+
21+
* **connector:** Correct types read when moduleresolution is node ([ff29e62](https://github.com/case-contract-testing/contract-case/commit/ff29e62a8040c97eaa86ed2dcb09bed8cb940036))
22+
* **core:** availableContractDescriptions now respects the configuration and only returns the filtered set of contracts. This was the intended (and documented) behaviour before. If you need to see the ignored contracts, they're visible in a call to this method with a logLevel of DEBUG or lower. ([9c4e5a8](https://github.com/case-contract-testing/contract-case/commit/9c4e5a8639572797bfda6b502c0e28dfc10a0b2f))
23+
* **function-plugin:** Add debug logging of return value when caller is mocked ([cac45b5](https://github.com/case-contract-testing/contract-case/commit/cac45b5c95dcf6d875bf2c46c6dee4bc211e5c07))
24+
* **function-plugin:** No longer repeats `returnValue` twice in error location messages ([4a5d4dd](https://github.com/case-contract-testing/contract-case/commit/4a5d4dd03c0cdb450ed4f430b580e100cd008a44))
25+
* **function-plugin:** Substantially improved error messages when functions throw instead of returning, or receive the wrong number of arguments ([d25d819](https://github.com/case-contract-testing/contract-case/commit/d25d819a8478b887e7fc1bb4a747d0c0bd4428dc))
26+
* **java-dsl:** Ensure that user-facing stack traces include the cause if they are chained exceptions ([6ba5326](https://github.com/case-contract-testing/contract-case/commit/6ba5326ffd5e5fc4694133cb636e5a8b79e4954e))
27+
* **java-dsl:** Plugins were not passed to the core by the Verifier ([4791891](https://github.com/case-contract-testing/contract-case/commit/4791891d5201f8e6f2699deb5ca6c56731f35a14))
28+
29+
30+
### Dependencies
31+
32+
* The following workspace dependencies were updated
33+
* devDependencies
34+
* @contract-case/eslint-config-case-maintainer bumped from 0.25.2 to 0.26.0
35+
336
## [0.25.2](https://github.com/case-contract-testing/contract-case/compare/v0.25.1...v0.25.2) (2025-06-22)
437

538

0 commit comments

Comments
 (0)