-
Notifications
You must be signed in to change notification settings - Fork 51
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 32 commits
4594536
5a81f9e
4c2277b
efb2aad
29aee53
e3ed3c9
77c8549
0cdc07d
e41ee56
9b1f5fd
2d94bfd
bfe11a7
63ecf4a
937fb97
752b64a
9140890
4a72da5
d3a1293
9d3ba90
3080c8f
a8942cd
89848ea
a130a6a
b8628bb
d10251b
41e8998
34f6a65
da7eea1
a8f3415
78b3169
738ef2c
82f8b1c
a0cb09d
5353ccf
831b062
3d211cc
95f2803
277457c
d1910ca
8d0edf4
c1bad1d
be33847
cabc743
b19b82d
1dbfedf
37bd43f
0a10ad2
257870c
4a451a5
5ca5c3b
bd4e169
31efb24
96e48f8
0f31e0e
d63d000
78f180a
413a85a
9895c7c
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,32 @@ 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)) | ||||||||||
|
||||||||||
jaybuidl marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||
### Fixed | ||||||||||
|
||||||||||
- Do not pass to Voting period if all the commits are cast because it breaks the current Shutter auto-reveal process. ([#2085](https://github.com/kleros/kleros-v2/issues/2085)) | ||||||||||
|
||||||||||
## [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 | ||||||||||
jaybuidl marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||
|
||||||||||
### Changed | ||||||||||
|
||||||||||
|
@@ -107,6 +132,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%[email protected] | ||||||||||
[0.12.0]: https://github.com/kleros/kleros-v2/releases/tag/@kleros%[email protected] | ||||||||||
Comment on lines
+142
to
+143
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%[email protected]
+<!-- [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%[email protected]" 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%[email protected]
+<!-- [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%[email protected] | ||||||||||
[0.10.0]: https://github.com/kleros/kleros-v2/releases/tag/@kleros%[email protected] | ||||||||||
[0.9.4]: https://github.com/kleros/kleros-v2/releases/tag/@kleros%[email protected] | ||||||||||
|
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