Skip to content

Update dependency @openzeppelin/contracts to v4.9.6#342

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/openzeppelin-contracts-4.x
Open

Update dependency @openzeppelin/contracts to v4.9.6#342
renovate[bot] wants to merge 1 commit intomainfrom
renovate/openzeppelin-contracts-4.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 3, 2023

This PR contains the following updates:

Package Change Age Confidence
@openzeppelin/contracts (source) 4.8.14.9.6 age confidence

Release Notes

OpenZeppelin/openzeppelin-contracts (@​openzeppelin/contracts)

v4.9.6

Compare Source

  • Base64: Fix issue where dirty memory located just after the input buffer is affecting the result. (#​4929)

v4.9.5

Compare Source

  • Multicall: Make aware of non-canonical context (i.e. msg.sender is not _msgSender()), allowing compatibility with ERC2771Context. Patch duplicated Address.functionDelegateCall in v4.9.4 (removed).

v4.9.4

Compare Source

  • ERC2771Context and Context: Introduce a _contextPrefixLength() getter, used to trim extra information appended to msg.data.
  • Multicall: Make aware of non-canonical context (i.e. msg.sender is not _msgSender()), allowing compatibility with ERC2771Context.

v4.9.3

Compare Source

  • ERC2771Context: Return the forwarder address whenever the msg.data of a call originating from a trusted forwarder is not long enough to contain the request signer address (i.e. msg.data.length is less than 20 bytes), as specified by ERC-2771. (#​4481)
  • ERC2771Context: Prevent revert in _msgData() when a call originating from a trusted forwarder is not long enough to contain the request signer address (i.e. msg.data.length is less than 20 bytes). Return the full calldata in that case. (#​4484)

v4.9.2

Compare Source

  • MerkleProof: Fix a bug in processMultiProof and processMultiProofCalldata that allows proving arbitrary leaves if the tree contains a node with value 0 at depth 1.

v4.9.1

Compare Source

  • Governor: Add a mechanism to restrict the address of the proposer using a suffix in the description.

v4.9.0

Compare Source

  • ReentrancyGuard: Add a _reentrancyGuardEntered function to expose the guard status. (#​3714)
  • ERC721Wrapper: add a new extension of the ERC721 token which wraps an underlying token. Deposit and withdraw guarantee that the ownership of each token is backed by a corresponding underlying token with the same identifier. (#​3863)
  • EnumerableMap: add a keys() function that returns an array containing all the keys. (#​3920)
  • Governor: add a public cancel(uint256) function. (#​3983)
  • Governor: Enable timestamp operation for blockchains without a stable block time. This is achieved by connecting a Governor's internal clock to match a voting token's EIP-6372 interface. (#​3934)
  • Strings: add equal method. (#​3774)
  • IERC5313: Add an interface for EIP-5313 that is now final. (#​4013)
  • IERC4906: Add an interface for ERC-4906 that is now Final. (#​4012)
  • StorageSlot: Add support for string and bytes. (#​4008)
  • Votes, ERC20Votes, ERC721Votes: support timestamp checkpointing using EIP-6372. (#​3934)
  • ERC4626: Add mitigation to the inflation attack through virtual shares and assets. (#​3979)
  • Strings: add toString method for signed integers. (#​3773)
  • ERC20Wrapper: Make the underlying variable private and add a public accessor. (#​4029)
  • EIP712: add EIP-5267 support for better domain discovery. (#​3969)
  • AccessControlDefaultAdminRules: Add an extension of AccessControl with additional security rules for the DEFAULT_ADMIN_ROLE. (#​4009)
  • SignatureChecker: Add isValidERC1271SignatureNow for checking a signature directly against a smart contract using ERC-1271. (#​3932)
  • SafeERC20: Add a forceApprove function to improve compatibility with tokens behaving like USDT. (#​4067)
  • ERC1967Upgrade: removed contract-wide oz-upgrades-unsafe-allow delegatecall annotation, replaced by granular annotation in UUPSUpgradeable. (#​3971)
  • ERC20Wrapper: self wrapping and deposit by the wrapper itself are now explicitly forbidden. (#​4100)
  • ECDSA: optimize bytes32 computation by using assembly instead of abi.encodePacked. (#​3853)
  • ERC721URIStorage: Emit ERC-4906 MetadataUpdate in _setTokenURI. (#​4012)
  • ShortStrings: Added a library for handling short strings in a gas efficient way, with fallback to storage for longer strings. (#​4023)
  • SignatureChecker: Allow return data length greater than 32 from EIP-1271 signers. (#​4038)
  • UUPSUpgradeable: added granular oz-upgrades-unsafe-allow-reachable annotation to improve upgrade safety checks on latest version of the Upgrades Plugins (starting with @openzeppelin/upgrades-core@1.21.0). (#​3971)
  • Initializable: optimize _disableInitializers by using != instead of <. (#​3787)
  • Ownable2Step: make acceptOwnership public virtual to enable usecases that require overriding it. (#​3960)
  • UUPSUpgradeable.sol: Change visibility to the functions upgradeTo and upgradeToAndCall from external to public. (#​3959)
  • TimelockController: Add the CallSalt event to emit on operation schedule. (#​4001)
  • Reformatted codebase with latest version of Prettier Solidity. (#​3898)
  • Math: optimize log256 rounding check. (#​3745)
  • ERC20Votes: optimize by using unchecked arithmetic. (#​3748)
  • Multicall: annotate multicall function as upgrade safe to not raise a flag for its delegatecall. (#​3961)
  • ERC20Pausable, ERC721Pausable, ERC1155Pausable: Add note regarding missing public pausing functionality (#​4007)
  • ECDSA: Add a function toDataWithIntendedValidatorHash that encodes data with version 0x00 following EIP-191. (#​4063)
  • MerkleProof: optimize by using unchecked arithmetic. (#​3745)
Breaking changes
  • EIP712: Addition of ERC5267 support requires support for user defined value types, which was released in Solidity version 0.8.8. This requires a pragma change from ^0.8.0 to ^0.8.8.
  • EIP712: Optimization of the cache for the upgradeable version affects the way name and version are set. This is no longer done through an initializer, and is instead part of the implementation's constructor. As a consequence, all proxies using the same implementation will necessarily share the same name and version. Additionally, an implementation upgrade risks changing the EIP712 domain unless the same name and version are used when deploying the new implementation contract.
Deprecations
  • ERC20Permit: Added the file IERC20Permit.sol and ERC20Permit.sol and deprecated draft-IERC20Permit.sol and draft-ERC20Permit.sol since EIP-2612 is no longer a Draft. Developers are encouraged to update their imports. (#​3793)
  • Timers: The Timers library is now deprecated and will be removed in the next major release. (#​4062)
  • ERC777: The ERC777 token standard is no longer supported by OpenZeppelin. Our implementation is now deprecated and will be removed in the next major release. The corresponding standard interfaces remain available. (#​4066)
  • ERC1820Implementer: The ERC1820 pseudo-introspection mechanism is no longer supported by OpenZeppelin. Our implementation is now deprecated and will be removed in the next major release. The corresponding standard interfaces remain available. (#​4066)

v4.8.3

Compare Source

  • GovernorCompatibilityBravo: Fix encoding of proposal data when signatures are missing.
  • TransparentUpgradeableProxy: Fix transparency in case of selector clash with non-decodable calldata or payable mutability. (#​4154)

v4.8.2

Compare Source

  • ERC721Consecutive: Fixed a bug when _mintConsecutive is used for batches of size 1 that could lead to balance overflow. Refer to the breaking changes section in the changelog for a note on the behavior of ERC721._beforeTokenTransfer.
Breaking changes
  • ERC721: The internal function _beforeTokenTransfer no longer updates balances, which it previously did when batchSize was greater than 1. This change has no consequence unless a custom ERC721 extension is explicitly invoking _beforeTokenTransfer. Balance updates in extensions must now be done explicitly using __unsafe_increaseBalance, with a name that indicates that there is an invariant that has to be manually verified.

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. View the repository job log.

@renovate renovate bot changed the title Update dependency @openzeppelin/contracts to v4.8.2 Update dependency @openzeppelin/contracts to v4.8.3 Apr 13, 2023
@renovate renovate bot force-pushed the renovate/openzeppelin-contracts-4.x branch from 62ccea0 to a476c72 Compare April 13, 2023 22:03
@renovate renovate bot changed the title Update dependency @openzeppelin/contracts to v4.8.3 Update dependency @openzeppelin/contracts to v4.9.0 May 28, 2023
@renovate renovate bot force-pushed the renovate/openzeppelin-contracts-4.x branch 10 times, most recently from 0523d8a to fb74430 Compare May 29, 2023 07:13
@renovate renovate bot changed the title Update dependency @openzeppelin/contracts to v4.9.0 Update dependency @openzeppelin/contracts to v4.9.1 Jun 7, 2023
@renovate renovate bot force-pushed the renovate/openzeppelin-contracts-4.x branch from fb74430 to dfb25dd Compare June 7, 2023 03:51
@renovate renovate bot changed the title Update dependency @openzeppelin/contracts to v4.9.1 Update dependency @openzeppelin/contracts to v4.9.2 Jun 16, 2023
@renovate renovate bot force-pushed the renovate/openzeppelin-contracts-4.x branch from dfb25dd to d1ff515 Compare June 16, 2023 21:38
@renovate renovate bot changed the title Update dependency @openzeppelin/contracts to v4.9.2 Update dependency @openzeppelin/contracts to v4.9.3 Jul 28, 2023
@renovate renovate bot force-pushed the renovate/openzeppelin-contracts-4.x branch from d1ff515 to a9107fc Compare July 28, 2023 22:07
@renovate renovate bot force-pushed the renovate/openzeppelin-contracts-4.x branch from a9107fc to 9e74eff Compare December 7, 2023 22:10
@renovate renovate bot changed the title Update dependency @openzeppelin/contracts to v4.9.3 Update dependency @openzeppelin/contracts to v4.9.4 Dec 7, 2023
@renovate renovate bot changed the title Update dependency @openzeppelin/contracts to v4.9.4 Update dependency @openzeppelin/contracts to v4.9.5 Dec 8, 2023
@renovate renovate bot force-pushed the renovate/openzeppelin-contracts-4.x branch from 9e74eff to 0aa3203 Compare December 8, 2023 15:55
@renovate renovate bot force-pushed the renovate/openzeppelin-contracts-4.x branch 7 times, most recently from 49d55c7 to 706879d Compare January 26, 2024 02:19
@renovate renovate bot force-pushed the renovate/openzeppelin-contracts-4.x branch from 706879d to 31d0adf Compare February 29, 2024 18:47
@renovate renovate bot changed the title Update dependency @openzeppelin/contracts to v4.9.5 Update dependency @openzeppelin/contracts to v4.9.6 Feb 29, 2024
@renovate renovate bot force-pushed the renovate/openzeppelin-contracts-4.x branch 6 times, most recently from 8973152 to 4acd9f8 Compare October 8, 2024 00:15
@renovate renovate bot changed the title Update dependency @openzeppelin/contracts to v4.9.6 Update dependency @openzeppelin/contracts to v4.9.6 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/openzeppelin-contracts-4.x branch December 8, 2024 18:51
@renovate renovate bot changed the title Update dependency @openzeppelin/contracts to v4.9.6 - autoclosed Update dependency @openzeppelin/contracts to v4.9.6 Dec 9, 2024
@renovate renovate bot reopened this Dec 9, 2024
@renovate renovate bot force-pushed the renovate/openzeppelin-contracts-4.x branch 6 times, most recently from bd99554 to 2184470 Compare December 9, 2024 20:10
@renovate renovate bot force-pushed the renovate/openzeppelin-contracts-4.x branch from 2184470 to c46c105 Compare December 9, 2024 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants