Skip to content

Commit

Permalink
chore(deps): update dependency @openzeppelin/contracts to v5.2.0 (#95)
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))
| dependencies | 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-diamond-bond).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

## Summary by Sourcery

Chores:
- Update OpenZeppelin Contracts dependency 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 a0eb90a commit 3c5a2f8
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 @@ -10,7 +10,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",
"@openzeppelin/subgraphs": "0.1.8-5",
"@prb/math": "4.1.0",
"hardhat": "2.22.17",
Expand Down Expand Up @@ -252,7 +252,7 @@

"@oclif/plugin-warn-if-update-available": ["@oclif/plugin-warn-if-update-available@3.1.28", "", { "dependencies": { "@oclif/core": "^4", "ansis": "^3.4.0", "debug": "^4.4.0", "http-call": "^5.2.2", "lodash": "^4.17.21", "registry-auth-token": "^5.0.3" } }, "sha512-15UI0yrzsodQLltntbUOmR7Nyd1tmUWzbcnR7QJvWMgEMuImNjqNdSaeXUFc3UBtaK266YatJYJWL5SCb/MTWw=="],

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

"@openzeppelin/subgraphs": ["@openzeppelin/subgraphs@0.1.8-5", "", { "dependencies": { "@amxx/graphprotocol-utils": "^1.1.0", "@openzeppelin/contracts": "^4.6.0" } }, "sha512-7k8x6A/lI33Dggah0S6Q+n348KaTBOUD7pK49K0lBSvCHZw5PqpMNZopfD/Kk+0nyFRzhAoPUU97RhmKz+YFJw=="],

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,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",
"@openzeppelin/subgraphs": "0.1.8-5",
"hardhat": "2.22.17",
"solhint": "5.0.4",
Expand Down

0 comments on commit 3c5a2f8

Please sign in to comment.