-
Notifications
You must be signed in to change notification settings - Fork 49
Release #2076
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Release #2076
Changes from all commits
4594536
5a81f9e
4c2277b
efb2aad
29aee53
e3ed3c9
77c8549
0cdc07d
e41ee56
9b1f5fd
2d94bfd
752b64a
9140890
4a72da5
d3a1293
9d3ba90
3080c8f
a8942cd
89848ea
a130a6a
b8628bb
d10251b
41e8998
78b3169
738ef2c
82f8b1c
a0cb09d
5353ccf
3d211cc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -4,7 +4,28 @@ All notable changes to this package will be documented in this file. | |||||||||
|
||||||||||
The format is based on [Common Changelog](https://common-changelog.org/). | ||||||||||
|
||||||||||
## [0.11.0] - 2025-08-01 | ||||||||||
## [0.13.0] - 2025-08-07 (Not published yet) | ||||||||||
|
||||||||||
### Changed | ||||||||||
|
||||||||||
- **Breaking:** Replace `require()` with `revert()` and custom errors outside KlerosCore for consistency and smaller bytecode ([#2084](https://github.com/kleros/kleros-v2/issues/2084)) | ||||||||||
- Set the Hardhat Solidity version to v0.8.30 and enable the IR pipeline ([#2069](https://github.com/kleros/kleros-v2/issues/2069)) | ||||||||||
- Set the Foundry Solidity version to v0.8.30 and enable the IR pipeline ([#2073](https://github.com/kleros/kleros-v2/issues/2073)) | ||||||||||
- Widen the allowed solc version to any v0.8.x for the interfaces only ([#2083](https://github.com/kleros/kleros-v2/issues/2083)) | ||||||||||
- Bump `hardhat` to v2.26.2 ([#2069](https://github.com/kleros/kleros-v2/issues/2069)) | ||||||||||
- Bump `@kleros/vea-contracts` to v0.7.0 ([#2073](https://github.com/kleros/kleros-v2/issues/2073)) | ||||||||||
|
||||||||||
## [0.12.0] - 2025-08-05 | ||||||||||
|
||||||||||
### Changed | ||||||||||
|
||||||||||
- **Breaking:** Make `viem` a peer dependency, it should be provided by the consuming package ([`4594536`](https://github.com/kleros/kleros-v2/commit/4594536c)) | ||||||||||
|
||||||||||
### Added | ||||||||||
|
||||||||||
- Add helper function `getDisputeKitsViem` to retrieve a deployment's available dispute kit infos including their capabilities (`isShutter`, `isGated`) ([`5a81f9e`](https://github.com/kleros/kleros-v2/commit/5a81f9ec)) | ||||||||||
|
||||||||||
## [0.11.0] - 2025-08-02 | ||||||||||
Comment on lines
+18
to
+28
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainVerify release link availability for 0.12.0 and 0.13.0 0.12.0 likely exists; 0.13.0 is marked “Not published yet.” Confirm link availability to prevent broken anchors. Also applies to: 131-132 🏁 Script executed: #!/bin/bash
set -euo pipefail
check() {
local url="$1"
code=$(curl -s -o /dev/null -w "%{http_code}" "$url")
printf "%-120s %s\n" "$url" "$code"
}
check "https://github.com/kleros/kleros-v2/releases/tag/@kleros%2Fkleros-v2-contracts@0.12.0"
check "https://github.com/kleros/kleros-v2/releases/tag/@kleros%2Fkleros-v2-contracts@0.13.0" Length of output: 1157 Broken release link for 0.13.0 • Remove or defer the 0.13.0 release link until that tag is published. 🤖 Prompt for AI Agents
|
||||||||||
|
||||||||||
### Changed | ||||||||||
|
||||||||||
|
@@ -107,6 +128,8 @@ The format is based on [Common Changelog](https://common-changelog.org/). | |||||||||
|
||||||||||
## [0.8.1] - 2025-04-10 | ||||||||||
|
||||||||||
[0.13.0]: https://github.com/kleros/kleros-v2/releases/tag/@kleros%2Fkleros-v2-contracts@0.13.0 | ||||||||||
[0.12.0]: https://github.com/kleros/kleros-v2/releases/tag/@kleros%2Fkleros-v2-contracts@0.12.0 | ||||||||||
Comment on lines
+131
to
+132
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainAvoid adding a release link for an unpublished tag. If 0.13.0 isn’t published, this link will 404. Add it only when the release is live. -[0.13.0]: https://github.com/kleros/kleros-v2/releases/tag/@kleros%2Fkleros-v2-contracts@0.13.0
+<!-- [0.13.0]: (add after publishing) --> Optionally confirm release existence before merging: 🏁 Script executed: #!/bin/bash
# Prints 200 if the tag exists, otherwise likely 404
curl -s -o /dev/null -w "%{http_code}\n" \
"https://github.com/kleros/kleros-v2/releases/tag/@kleros%2Fkleros-v2-contracts@0.13.0" Length of output: 132 Remove unpublished release link for v0.13.0 in CHANGELOG.md The • File: Recommended change: -[0.13.0]: https://github.com/kleros/kleros-v2/releases/tag/@kleros%2Fkleros-v2-contracts@0.13.0
+<!-- [0.13.0]: (add after publishing) --> 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||||||
[0.11.0]: https://github.com/kleros/kleros-v2/releases/tag/@kleros%2Fkleros-v2-contracts@0.11.0 | ||||||||||
[0.10.0]: https://github.com/kleros/kleros-v2/releases/tag/@kleros%2Fkleros-v2-contracts@0.10.0 | ||||||||||
[0.9.4]: https://github.com/kleros/kleros-v2/releases/tag/@kleros%2Fkleros-v2-contracts@0.9.4 | ||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Unrecognized solcover option "irMinimum" — likely a no-op; remove to avoid confusion
I don’t see "irMinimum" in solidity-coverage’s documented options. With coverage.sh already forcing VIA_IR=false for Hardhat, this flag is unnecessary and potentially misleading.
Apply this diff to remove it:
- irMinimum: true,
If you want an inline hint about IR for coverage runs, consider a comment:
configureYulOptimizer: true, + // IR is disabled for coverage via scripts/coverage.sh (VIA_IR=false)
Optionally verify support via docs:
🌐 Web query:
💡 Result:
Yes. The .solcover.js config includes a documented irMinimum option: a boolean (default false) that “speeds up test execution times when solc is run in viaIR mode,” and it may not work for all projects.[1]
Details:
You can set it in .solcover.js like:
module.exports = {
irMinimum: true
}
Mirrors of the same table appear in downstream copies of the docs as well.[2]
Citations:
Documented option “irMinimum” is redundant under VIA_IR=false
solidity-coverage does support
irMinimum
(boolean, default false) to speed up test runs when compiling via IR, but yourcoverage.sh
script forcesVIA_IR=false
, so this setting has no effect and may confuse future maintainers.• Location: contracts/.solcover.js (line 10)
• Suggested change:
🤖 Prompt for AI Agents