Skip to content

Commit 7a916bf

Browse files
chore(deps): update dependency @openzeppelin/contracts to v5.2.0 (#77)
This PR contains the following updates: | Package | Type | Update | Change | OpenSSF | |---|---|---|---|---| | [@openzeppelin/contracts](https://openzeppelin.com/contracts/) ([source](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts)) | devDependencies | minor | [`5.1.0` -> `5.2.0`](https://renovatebot.com/diffs/npm/@openzeppelin%2fcontracts/5.1.0/5.2.0) | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/OpenZeppelin/openzeppelin-contracts/badge)](https://securityscorecards.dev/viewer/?uri=github.com/OpenZeppelin/openzeppelin-contracts) | --- ### Release Notes <details> <summary>OpenZeppelin/openzeppelin-contracts (@&#8203;openzeppelin/contracts)</summary> ### [`v5.2.0`](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v5.2.0) [Compare Source](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/compare/v5.1.0...v5.2.0) ##### Breaking Changes ##### Custom error changes This version comes with changes to the custom error identifiers. Contracts previously depending on the following errors should be replaced accordingly: - Replace `Errors.FailedCall` with a bubbled-up revert reason in `Address.sendValue`. ##### Changes by category ##### General - Update some pragma directives to ensure that all file requirements match that of the files they import. ([#&#8203;5273](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5273)) ##### Account - `ERC4337Utils`: Add a reusable library to manipulate user operations and interact with ERC-4337 contracts ([#&#8203;5274](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5274)) - `ERC7579Utils`: Add a reusable library to interact with ERC-7579 modular accounts ([#&#8203;5274](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5274)) ##### Governance - `GovernorCountingOverridable`: Add a governor counting module that enables token holders to override the vote of their delegate. ([#&#8203;5192](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5192)) - `VotesExtended`: Create an extension of `Votes` which checkpoints balances and delegates. ([#&#8203;5192](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5192)) ##### Proxy - `Clones`: Add `cloneWithImmutableArgs` and `cloneDeterministicWithImmutableArgs` variants that create clones with per-instance immutable arguments. The immutable arguments can be retrieved using `fetchCloneArgs`. The corresponding `predictDeterministicWithImmutableArgs` function is also included. ([#&#8203;5109](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5109)) ##### Tokens - `ERC1363Utils`: Add helper similar to the existing `ERC721Utils` and `ERC1155Utils` ([#&#8203;5133](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5133)) ##### Utils - `Address`: bubble up revert data on `sendValue` failed call ([#&#8203;5418](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5418)) - `Bytes`: Add a library of common operations that operate on `bytes` objects. ([#&#8203;5252](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5252)) - `CAIP2` and `CAIP10`: Add libraries for formatting and parsing CAIP-2 and CAIP-10 identifiers. ([#&#8203;5252](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5252)) - `NoncesKeyed`: Add a variant of `Nonces` that implements the ERC-4337 entrypoint nonce system. ([#&#8203;5272](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5272)) - `Packing`: Add variants for packing `bytes10` and `bytes22` ([#&#8203;5274](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5274)) - `Strings`: Add `parseUint`, `parseInt`, `parseHexUint` and `parseAddress` to parse strings into numbers and addresses. Also provide variants of these functions that parse substrings, and `tryXxx` variants that do not revert on invalid input. ([#&#8203;5166](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5166)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/settlemint/solidity-attestation-service). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> ## Summary by Sourcery Build: - Update the OpenZeppelin Contracts dependency from v5.1.0 to v5.2.0. Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 5757135 commit 7a916bf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bun.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@nomicfoundation/hardhat-toolbox-viem": "3.0.0",
3939
"@ethereum-attestation-service/eas-contracts": "1.8.0",
4040
"@nomiclabs/hardhat-solhint": "4.0.1",
41-
"@openzeppelin/contracts": "5.1.0",
41+
"@openzeppelin/contracts": "5.2.0",
4242
"@types/node": "22.10.5",
4343
"hardhat": "2.22.17",
4444
"solhint": "5.0.4"

0 commit comments

Comments
 (0)