Skip to content

Commit

Permalink
chore(deps): update dependency @openzeppelin/contracts to v5.2.0 (#77)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
renovate[bot] authored Jan 9, 2025
1 parent 5757135 commit 7a916bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bun.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@nomicfoundation/hardhat-ignition-viem": "0.15.9",
"@nomicfoundation/hardhat-toolbox-viem": "3.0.0",
"@nomiclabs/hardhat-solhint": "4.0.1",
"@openzeppelin/contracts": "5.1.0",
"@openzeppelin/contracts": "5.2.0",
"@types/node": "22.10.5",
"hardhat": "2.22.17",
"solhint": "5.0.4",
Expand Down Expand Up @@ -179,7 +179,7 @@

"@nomiclabs/hardhat-solhint": ["@nomiclabs/[email protected]", "", { "dependencies": { "solhint": "^5.0.2" }, "peerDependencies": { "hardhat": "^2.0.0" } }, "sha512-ekfbbGfUwMZGr9aPAurPa7GVMX/6XqKemppVEez+mC36H7G5UyBsnrUKZMhMDVHG9S7+ke9sLuaibnWvpdSrQA=="],

"@openzeppelin/contracts": ["@openzeppelin/contracts@5.1.0", "", {}, "sha512-p1ULhl7BXzjjbha5aqst+QMLY+4/LCWADXOCsmLHRM77AqiPjnd9vvUN9sosUfhL9JGKpZ0TjEGxgvnizmWGSA=="],
"@openzeppelin/contracts": ["@openzeppelin/contracts@5.2.0", "", {}, "sha512-bxjNie5z89W1Ea0NZLZluFh8PrFNn9DH8DQlujEok2yjsOlraUPKID5p1Wk3qdNbf6XkQ1Os2RvfiHrrXLHWKA=="],

"@pnpm/config.env-replace": ["@pnpm/[email protected]", "", {}, "sha512-htyl8TWnKL7K/ESFa1oW2UB5lVDxuF5DpM7tBi6Hu2LNL3mWkIzNLG6N4zoCUP1lCKNxWy/3iu8mS8MvToGd6w=="],

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@nomicfoundation/hardhat-toolbox-viem": "3.0.0",
"@ethereum-attestation-service/eas-contracts": "1.8.0",
"@nomiclabs/hardhat-solhint": "4.0.1",
"@openzeppelin/contracts": "5.1.0",
"@openzeppelin/contracts": "5.2.0",
"@types/node": "22.10.5",
"hardhat": "2.22.17",
"solhint": "5.0.4"
Expand Down

0 comments on commit 7a916bf

Please sign in to comment.