From 163e291a7b943daedc29cba55c9d500d6de9fe72 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 9 Jan 2025 16:28:00 +0000 Subject: [PATCH] chore(deps): update dependency @openzeppelin/contracts to v5.2.0 (#59) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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
OpenZeppelin/openzeppelin-contracts (@​openzeppelin/contracts) ### [`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. ([#​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 ([#​5274](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5274)) - `ERC7579Utils`: Add a reusable library to interact with ERC-7579 modular accounts ([#​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. ([#​5192](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5192)) - `VotesExtended`: Create an extension of `Votes` which checkpoints balances and delegates. ([#​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. ([#​5109](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5109)) ##### Tokens - `ERC1363Utils`: Add helper similar to the existing `ERC721Utils` and `ERC1155Utils` ([#​5133](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5133)) ##### Utils - `Address`: bubble up revert data on `sendValue` failed call ([#​5418](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5418)) - `Bytes`: Add a library of common operations that operate on `bytes` objects. ([#​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. ([#​5252](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5252)) - `NoncesKeyed`: Add a variant of `Nonces` that implements the ERC-4337 entrypoint nonce system. ([#​5272](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5272)) - `Packing`: Add variants for packing `bytes10` and `bytes22` ([#​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. ([#​5166](https://redirect.github.com/OpenZeppelin/openzeppelin-contracts/pull/5166))
--- ### 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. --- - [ ] 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-token-erc1155). ## Summary by Sourcery Chores: - Update `@openzeppelin/contracts` from 5.1.0 to 5.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> --- bun.lock | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bun.lock b/bun.lock index 9a8027d..beb28c8 100755 --- a/bun.lock +++ b/bun.lock @@ -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", "hardhat": "2.22.17", "solhint": "5.0.4", @@ -251,7 +251,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=="], diff --git a/package.json b/package.json index aa697a9..6609f7c 100644 --- a/package.json +++ b/package.json @@ -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"