Răsfoiți Sursa

Release v5.4.0 (#5801)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
github-actions[bot] 2 luni în urmă
părinte
comite
c64a1edb67
100 a modificat fișierele cu 76 adăugiri și 231 ștergeri
  1. 0 5
      .changeset/all-geese-stand.md
  2. 0 5
      .changeset/clean-ways-push.md
  3. 0 5
      .changeset/fine-frogs-bake.md
  4. 0 5
      .changeset/full-ways-help.md
  5. 0 5
      .changeset/funny-years-yawn.md
  6. 0 5
      .changeset/hot-grapes-lie.md
  7. 0 5
      .changeset/lazy-poets-cheer.md
  8. 0 5
      .changeset/long-hornets-mate.md
  9. 0 5
      .changeset/lucky-donuts-scream.md
  10. 0 5
      .changeset/nice-rings-wish.md
  11. 0 5
      .changeset/pink-dolls-shop.md
  12. 0 5
      .changeset/popular-geese-tan.md
  13. 0 32
      .changeset/pre.json
  14. 0 5
      .changeset/proud-tables-sip.md
  15. 0 5
      .changeset/public-crabs-heal.md
  16. 0 5
      .changeset/quiet-kiwis-feel.md
  17. 0 5
      .changeset/rare-shirts-unite.md
  18. 0 5
      .changeset/ripe-bears-hide.md
  19. 0 5
      .changeset/rotten-apes-lie.md
  20. 0 5
      .changeset/social-walls-obey.md
  21. 0 5
      .changeset/sour-pens-shake.md
  22. 0 5
      .changeset/strong-points-change.md
  23. 0 5
      .changeset/tame-bears-mix.md
  24. 0 5
      .changeset/wet-dodos-reply.md
  25. 0 5
      .changeset/witty-hats-flow.md
  26. 2 5
      CHANGELOG.md
  27. 1 1
      contracts/access/AccessControl.sol
  28. 1 1
      contracts/access/IAccessControl.sol
  29. 1 1
      contracts/access/extensions/AccessControlDefaultAdminRules.sol
  30. 1 1
      contracts/access/extensions/AccessControlEnumerable.sol
  31. 1 1
      contracts/access/extensions/IAccessControlDefaultAdminRules.sol
  32. 1 1
      contracts/access/extensions/IAccessControlEnumerable.sol
  33. 1 1
      contracts/access/manager/AccessManaged.sol
  34. 1 1
      contracts/access/manager/IAccessManaged.sol
  35. 1 1
      contracts/access/manager/IAccessManager.sol
  36. 1 1
      contracts/access/manager/IAuthority.sol
  37. 1 1
      contracts/account/Account.sol
  38. 1 1
      contracts/account/extensions/draft-AccountERC7579.sol
  39. 1 1
      contracts/account/extensions/draft-AccountERC7579Hooked.sol
  40. 1 1
      contracts/account/extensions/draft-ERC7821.sol
  41. 1 1
      contracts/account/utils/EIP7702Utils.sol
  42. 1 1
      contracts/account/utils/draft-ERC7579Utils.sol
  43. 1 1
      contracts/governance/Governor.sol
  44. 1 1
      contracts/governance/IGovernor.sol
  45. 1 1
      contracts/governance/TimelockController.sol
  46. 1 1
      contracts/governance/extensions/GovernorCountingFractional.sol
  47. 1 1
      contracts/governance/extensions/GovernorCountingOverridable.sol
  48. 1 1
      contracts/governance/extensions/GovernorCountingSimple.sol
  49. 1 1
      contracts/governance/extensions/GovernorNoncesKeyed.sol
  50. 1 1
      contracts/governance/extensions/GovernorPreventLateQuorum.sol
  51. 1 1
      contracts/governance/extensions/GovernorProposalGuardian.sol
  52. 1 1
      contracts/governance/extensions/GovernorSequentialProposalId.sol
  53. 1 1
      contracts/governance/extensions/GovernorSettings.sol
  54. 1 1
      contracts/governance/extensions/GovernorStorage.sol
  55. 1 1
      contracts/governance/extensions/GovernorSuperQuorum.sol
  56. 1 1
      contracts/governance/extensions/GovernorTimelockAccess.sol
  57. 1 1
      contracts/governance/extensions/GovernorTimelockCompound.sol
  58. 1 1
      contracts/governance/extensions/GovernorTimelockControl.sol
  59. 1 1
      contracts/governance/extensions/GovernorVotes.sol
  60. 1 1
      contracts/governance/extensions/GovernorVotesQuorumFraction.sol
  61. 1 1
      contracts/governance/extensions/GovernorVotesSuperQuorumFraction.sol
  62. 1 1
      contracts/governance/utils/IVotes.sol
  63. 1 1
      contracts/interfaces/IERC1155.sol
  64. 1 1
      contracts/interfaces/IERC1155MetadataURI.sol
  65. 1 1
      contracts/interfaces/IERC1155Receiver.sol
  66. 1 1
      contracts/interfaces/IERC1271.sol
  67. 1 1
      contracts/interfaces/IERC1363.sol
  68. 1 1
      contracts/interfaces/IERC1363Receiver.sol
  69. 1 1
      contracts/interfaces/IERC1363Spender.sol
  70. 1 1
      contracts/interfaces/IERC165.sol
  71. 1 1
      contracts/interfaces/IERC1820Implementer.sol
  72. 1 1
      contracts/interfaces/IERC1820Registry.sol
  73. 1 1
      contracts/interfaces/IERC1967.sol
  74. 1 1
      contracts/interfaces/IERC20.sol
  75. 1 1
      contracts/interfaces/IERC20Metadata.sol
  76. 1 1
      contracts/interfaces/IERC2309.sol
  77. 1 1
      contracts/interfaces/IERC2612.sol
  78. 1 1
      contracts/interfaces/IERC2981.sol
  79. 1 1
      contracts/interfaces/IERC3156.sol
  80. 1 1
      contracts/interfaces/IERC3156FlashBorrower.sol
  81. 1 1
      contracts/interfaces/IERC3156FlashLender.sol
  82. 1 1
      contracts/interfaces/IERC4626.sol
  83. 1 1
      contracts/interfaces/IERC4906.sol
  84. 1 1
      contracts/interfaces/IERC5267.sol
  85. 1 1
      contracts/interfaces/IERC5313.sol
  86. 1 1
      contracts/interfaces/IERC5805.sol
  87. 1 1
      contracts/interfaces/IERC6372.sol
  88. 1 1
      contracts/interfaces/IERC721.sol
  89. 1 1
      contracts/interfaces/IERC721Enumerable.sol
  90. 1 1
      contracts/interfaces/IERC721Metadata.sol
  91. 1 1
      contracts/interfaces/IERC721Receiver.sol
  92. 1 1
      contracts/interfaces/IERC777.sol
  93. 1 1
      contracts/interfaces/IERC777Recipient.sol
  94. 1 1
      contracts/interfaces/IERC777Sender.sol
  95. 1 1
      contracts/interfaces/IERC7913.sol
  96. 1 1
      contracts/interfaces/draft-IERC1822.sol
  97. 1 1
      contracts/interfaces/draft-IERC4337.sol
  98. 1 1
      contracts/interfaces/draft-IERC6093.sol
  99. 1 1
      contracts/interfaces/draft-IERC6909.sol
  100. 1 1
      contracts/interfaces/draft-IERC7579.sol

+ 0 - 5
.changeset/all-geese-stand.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': patch
----
-
-Add constructors to the different signers.

+ 0 - 5
.changeset/clean-ways-push.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`AccountERC7579`: Extension of `Account` that implements support for ERC-7579 modules of type executor, validator, and fallback handler.

+ 0 - 5
.changeset/fine-frogs-bake.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`EnumerableMap`: Add `keys(uint256,uint256)` that returns a subset (slice) of the keys in the map.

+ 0 - 5
.changeset/full-ways-help.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`EIP7702Utils`: Add a library for checking if an address has an EIP-7702 delegation in place.

+ 0 - 5
.changeset/funny-years-yawn.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`Account`: Added a simple ERC-4337 account implementation with minimal logic to process user operations.

+ 0 - 5
.changeset/hot-grapes-lie.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`EnumerableSet`: Add `values(uint256,uint256)` that returns a subset (slice) of the values in the set.

+ 0 - 5
.changeset/lazy-poets-cheer.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`SignerERC7702`: Implementation of `AbstractSigner` for Externally Owned Accounts (EOAs). Useful with ERC-7702.

+ 0 - 5
.changeset/long-hornets-mate.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`EnumerableMap`: Add support for `BytesToBytesMap` type.

+ 0 - 5
.changeset/lucky-donuts-scream.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`ERC7739`: An abstract contract to validate signatures following the rehashing scheme from `ERC7739Utils`.

+ 0 - 5
.changeset/nice-rings-wish.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`ERC7913P256Verifier` and `ERC7913RSAVerifier`: Ready to use ERC-7913 verifiers that implement key verification for P256 (secp256r1) and RSA keys.

+ 0 - 5
.changeset/pink-dolls-shop.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`EnumerableSet`: Add support for `StringSet` and `BytesSet` types.

+ 0 - 5
.changeset/popular-geese-tan.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`GovernorNoncesKeyed`: Extension of `Governor` that adds support for keyed nonces when voting by sig.

+ 0 - 32
.changeset/pre.json

@@ -1,32 +0,0 @@
-{
-  "mode": "exit",
-  "tag": "rc",
-  "initialVersions": {
-    "openzeppelin-solidity": "5.3.0"
-  },
-  "changesets": [
-    "all-geese-stand",
-    "clean-ways-push",
-    "fine-frogs-bake",
-    "full-ways-help",
-    "funny-years-yawn",
-    "hot-grapes-lie",
-    "lazy-poets-cheer",
-    "long-hornets-mate",
-    "lucky-donuts-scream",
-    "nice-rings-wish",
-    "pink-dolls-shop",
-    "popular-geese-tan",
-    "proud-tables-sip",
-    "public-crabs-heal",
-    "quiet-kiwis-feel",
-    "rare-shirts-unite",
-    "ripe-bears-hide",
-    "rotten-apes-lie",
-    "social-walls-obey",
-    "sour-pens-shake",
-    "strong-points-change",
-    "tame-bears-mix",
-    "wet-dodos-reply"
-  ]
-}

+ 0 - 5
.changeset/proud-tables-sip.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`ERC7739Utils`: Add a library that implements a defensive rehashing mechanism to prevent replayability of smart contract signatures based on the ERC-7739.

+ 0 - 5
.changeset/public-crabs-heal.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`MultiSignerERC7913Weighted`: Extension of `MultiSignerERC7913` that supports assigning different weights to each signer, enabling more flexible governance schemes.

+ 0 - 5
.changeset/quiet-kiwis-feel.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`SignerERC7913`: Abstract signer that verifies signatures using the ERC-7913 workflow.

+ 0 - 5
.changeset/rare-shirts-unite.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`Arrays`: Add `unsafeAccess`, `unsafeMemoryAccess` and `unsafeSetLength` for `bytes[]` and `string[]`.

+ 0 - 5
.changeset/ripe-bears-hide.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`ERC20Bridgeable`: Implementation of ERC-7802 that makes an ERC-20 compatible with crosschain bridges.

+ 0 - 5
.changeset/rotten-apes-lie.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`IERC7821`, `ERC7821`: Interface and logic for minimal batch execution. No support for additional `opData` is included.

+ 0 - 5
.changeset/social-walls-obey.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`MultiSignerERC7913`: Implementation of `AbstractSigner` that supports multiple ERC-7913 signers with a threshold-based signature verification system.

+ 0 - 5
.changeset/sour-pens-shake.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`SignatureChecker`: Add support for ERC-7913 signatures alongside existing ECDSA and ERC-1271 signature verification.

+ 0 - 5
.changeset/strong-points-change.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`AccountERC7579Hooked`: Extension of `AccountERC7579` that implements support for ERC-7579 hook modules.

+ 0 - 5
.changeset/tame-bears-mix.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`AbstractSigner`, `SignerECDSA`, `SignerP256`, and `SignerRSA`: Add an abstract contract and various implementations for contracts that deal with signature verification.

+ 0 - 5
.changeset/wet-dodos-reply.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': minor
----
-
-`Blockhash`: Add a library that provides access to historical block hashes using EIP-2935's history storage, extending the standard 256-block limit to 8191 blocks.

+ 0 - 5
.changeset/witty-hats-flow.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': patch
----
-
-`Bytes`: Fix `lastIndexOf(bytes,byte,uint256)` with empty buffers and finite position to correctly return `type(uint256).max` instead of accessing uninitialized memory sections.

+ 2 - 5
CHANGELOG.md

@@ -1,11 +1,7 @@
 # Changelog
 
 
-## 5.4.0-rc.1 (2025-06-20)
-
-- Add constructors to the different signers.
-
-## 5.4.0-rc.0 (2025-06-18)
+## 5.4.0 (2025-07-17)
 
 ### Breaking changes
 
@@ -64,6 +60,7 @@
 
 - `Arrays`: Add `unsafeAccess`, `unsafeMemoryAccess` and `unsafeSetLength` for `bytes[]` and `string[]`. ([#5568](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5568))
 - `Blockhash`: Add a library that provides access to historical block hashes using EIP-2935's history storage, extending the standard 256-block limit to 8191 blocks. ([#5642](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5642))
+- `Bytes`: Fix `lastIndexOf(bytes,byte,uint256)` with empty buffers and finite position to correctly return `type(uint256).max` instead of accessing uninitialized memory sections. ([#5797](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5797))
 
 ## 5.3.0 (2025-04-09)
 

+ 1 - 1
contracts/access/AccessControl.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (access/AccessControl.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (access/AccessControl.sol)
 
 pragma solidity ^0.8.20;
 

+ 1 - 1
contracts/access/IAccessControl.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (access/IAccessControl.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (access/IAccessControl.sol)
 
 pragma solidity >=0.8.4;
 

+ 1 - 1
contracts/access/extensions/AccessControlDefaultAdminRules.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (access/extensions/AccessControlDefaultAdminRules.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (access/extensions/AccessControlDefaultAdminRules.sol)
 
 pragma solidity ^0.8.20;
 

+ 1 - 1
contracts/access/extensions/AccessControlEnumerable.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (access/extensions/AccessControlEnumerable.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (access/extensions/AccessControlEnumerable.sol)
 
 pragma solidity ^0.8.20;
 

+ 1 - 1
contracts/access/extensions/IAccessControlDefaultAdminRules.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (access/extensions/IAccessControlDefaultAdminRules.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (access/extensions/IAccessControlDefaultAdminRules.sol)
 
 pragma solidity >=0.8.4;
 

+ 1 - 1
contracts/access/extensions/IAccessControlEnumerable.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (access/extensions/IAccessControlEnumerable.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (access/extensions/IAccessControlEnumerable.sol)
 
 pragma solidity >=0.8.4;
 

+ 1 - 1
contracts/access/manager/AccessManaged.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (access/manager/AccessManaged.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (access/manager/AccessManaged.sol)
 
 pragma solidity ^0.8.20;
 

+ 1 - 1
contracts/access/manager/IAccessManaged.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (access/manager/IAccessManaged.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (access/manager/IAccessManaged.sol)
 
 pragma solidity >=0.8.4;
 

+ 1 - 1
contracts/access/manager/IAccessManager.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (access/manager/IAccessManager.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (access/manager/IAccessManager.sol)
 
 pragma solidity >=0.8.4;
 

+ 1 - 1
contracts/access/manager/IAuthority.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (access/manager/IAuthority.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (access/manager/IAuthority.sol)
 
 pragma solidity >=0.4.16;
 

+ 1 - 1
contracts/account/Account.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (account/Account.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (account/Account.sol)
 
 pragma solidity ^0.8.20;
 

+ 1 - 1
contracts/account/extensions/draft-AccountERC7579.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (account/extensions/draft-AccountERC7579.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (account/extensions/draft-AccountERC7579.sol)
 
 pragma solidity ^0.8.26;
 

+ 1 - 1
contracts/account/extensions/draft-AccountERC7579Hooked.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (account/extensions/draft-AccountERC7579Hooked.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (account/extensions/draft-AccountERC7579Hooked.sol)
 
 pragma solidity ^0.8.26;
 

+ 1 - 1
contracts/account/extensions/draft-ERC7821.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (account/extensions/draft-ERC7821.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (account/extensions/draft-ERC7821.sol)
 
 pragma solidity ^0.8.20;
 

+ 1 - 1
contracts/account/utils/EIP7702Utils.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (account/utils/EIP7702Utils.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (account/utils/EIP7702Utils.sol)
 
 pragma solidity ^0.8.20;
 

+ 1 - 1
contracts/account/utils/draft-ERC7579Utils.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (account/utils/draft-ERC7579Utils.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (account/utils/draft-ERC7579Utils.sol)
 
 pragma solidity ^0.8.20;
 

+ 1 - 1
contracts/governance/Governor.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/Governor.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/Governor.sol)
 
 pragma solidity ^0.8.24;
 

+ 1 - 1
contracts/governance/IGovernor.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/IGovernor.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/IGovernor.sol)
 
 pragma solidity >=0.8.4;
 

+ 1 - 1
contracts/governance/TimelockController.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/TimelockController.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/TimelockController.sol)
 
 pragma solidity ^0.8.20;
 

+ 1 - 1
contracts/governance/extensions/GovernorCountingFractional.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorCountingFractional.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/extensions/GovernorCountingFractional.sol)
 
 pragma solidity ^0.8.24;
 

+ 1 - 1
contracts/governance/extensions/GovernorCountingOverridable.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorCountingOverridable.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/extensions/GovernorCountingOverridable.sol)
 
 pragma solidity ^0.8.24;
 

+ 1 - 1
contracts/governance/extensions/GovernorCountingSimple.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorCountingSimple.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/extensions/GovernorCountingSimple.sol)
 
 pragma solidity ^0.8.24;
 

+ 1 - 1
contracts/governance/extensions/GovernorNoncesKeyed.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorNoncesKeyed.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/extensions/GovernorNoncesKeyed.sol)
 
 pragma solidity ^0.8.24;
 

+ 1 - 1
contracts/governance/extensions/GovernorPreventLateQuorum.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorPreventLateQuorum.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/extensions/GovernorPreventLateQuorum.sol)
 
 pragma solidity ^0.8.24;
 

+ 1 - 1
contracts/governance/extensions/GovernorProposalGuardian.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorProposalGuardian.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/extensions/GovernorProposalGuardian.sol)
 pragma solidity ^0.8.24;
 
 import {Governor} from "../Governor.sol";

+ 1 - 1
contracts/governance/extensions/GovernorSequentialProposalId.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorSequentialProposalId.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/extensions/GovernorSequentialProposalId.sol)
 
 pragma solidity ^0.8.24;
 

+ 1 - 1
contracts/governance/extensions/GovernorSettings.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorSettings.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/extensions/GovernorSettings.sol)
 
 pragma solidity ^0.8.24;
 

+ 1 - 1
contracts/governance/extensions/GovernorStorage.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorStorage.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/extensions/GovernorStorage.sol)
 
 pragma solidity ^0.8.24;
 

+ 1 - 1
contracts/governance/extensions/GovernorSuperQuorum.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorSuperQuorum.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/extensions/GovernorSuperQuorum.sol)
 pragma solidity ^0.8.24;
 
 import {Governor} from "../Governor.sol";

+ 1 - 1
contracts/governance/extensions/GovernorTimelockAccess.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorTimelockAccess.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/extensions/GovernorTimelockAccess.sol)
 
 pragma solidity ^0.8.24;
 

+ 1 - 1
contracts/governance/extensions/GovernorTimelockCompound.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorTimelockCompound.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/extensions/GovernorTimelockCompound.sol)
 
 pragma solidity ^0.8.24;
 

+ 1 - 1
contracts/governance/extensions/GovernorTimelockControl.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorTimelockControl.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/extensions/GovernorTimelockControl.sol)
 
 pragma solidity ^0.8.24;
 

+ 1 - 1
contracts/governance/extensions/GovernorVotes.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorVotes.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/extensions/GovernorVotes.sol)
 
 pragma solidity ^0.8.24;
 

+ 1 - 1
contracts/governance/extensions/GovernorVotesQuorumFraction.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorVotesQuorumFraction.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/extensions/GovernorVotesQuorumFraction.sol)
 
 pragma solidity ^0.8.24;
 

+ 1 - 1
contracts/governance/extensions/GovernorVotesSuperQuorumFraction.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorVotesSuperQuorumFraction.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/extensions/GovernorVotesSuperQuorumFraction.sol)
 pragma solidity ^0.8.24;
 
 import {Governor} from "../Governor.sol";

+ 1 - 1
contracts/governance/utils/IVotes.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/utils/IVotes.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (governance/utils/IVotes.sol)
 pragma solidity >=0.8.4;
 
 /**

+ 1 - 1
contracts/interfaces/IERC1155.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC1155.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1155.sol)
 
 pragma solidity >=0.6.2;
 

+ 1 - 1
contracts/interfaces/IERC1155MetadataURI.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC1155MetadataURI.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1155MetadataURI.sol)
 
 pragma solidity >=0.6.2;
 

+ 1 - 1
contracts/interfaces/IERC1155Receiver.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC1155Receiver.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1155Receiver.sol)
 
 pragma solidity >=0.6.2;
 

+ 1 - 1
contracts/interfaces/IERC1271.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC1271.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1271.sol)
 
 pragma solidity >=0.5.0;
 

+ 1 - 1
contracts/interfaces/IERC1363.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC1363.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363.sol)
 
 pragma solidity >=0.6.2;
 

+ 1 - 1
contracts/interfaces/IERC1363Receiver.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC1363Receiver.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363Receiver.sol)
 
 pragma solidity >=0.5.0;
 

+ 1 - 1
contracts/interfaces/IERC1363Spender.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC1363Spender.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363Spender.sol)
 
 pragma solidity >=0.5.0;
 

+ 1 - 1
contracts/interfaces/IERC165.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC165.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC165.sol)
 
 pragma solidity >=0.4.16;
 

+ 1 - 1
contracts/interfaces/IERC1820Implementer.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC1820Implementer.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1820Implementer.sol)
 
 pragma solidity >=0.4.16;
 

+ 1 - 1
contracts/interfaces/IERC1820Registry.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC1820Registry.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1820Registry.sol)
 
 pragma solidity >=0.5.0;
 

+ 1 - 1
contracts/interfaces/IERC1967.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC1967.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1967.sol)
 
 pragma solidity >=0.4.11;
 

+ 1 - 1
contracts/interfaces/IERC20.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC20.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20.sol)
 
 pragma solidity >=0.4.16;
 

+ 1 - 1
contracts/interfaces/IERC20Metadata.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC20Metadata.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20Metadata.sol)
 
 pragma solidity >=0.6.2;
 

+ 1 - 1
contracts/interfaces/IERC2309.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC2309.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC2309.sol)
 
 pragma solidity >=0.4.11;
 

+ 1 - 1
contracts/interfaces/IERC2612.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC2612.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC2612.sol)
 
 pragma solidity >=0.6.2;
 

+ 1 - 1
contracts/interfaces/IERC2981.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC2981.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC2981.sol)
 
 pragma solidity >=0.6.2;
 

+ 1 - 1
contracts/interfaces/IERC3156.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC3156.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC3156.sol)
 
 pragma solidity >=0.5.0;
 

+ 1 - 1
contracts/interfaces/IERC3156FlashBorrower.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC3156FlashBorrower.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC3156FlashBorrower.sol)
 
 pragma solidity >=0.5.0;
 

+ 1 - 1
contracts/interfaces/IERC3156FlashLender.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC3156FlashLender.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC3156FlashLender.sol)
 
 pragma solidity >=0.5.0;
 

+ 1 - 1
contracts/interfaces/IERC4626.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC4626.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC4626.sol)
 
 pragma solidity >=0.6.2;
 

+ 1 - 1
contracts/interfaces/IERC4906.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC4906.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC4906.sol)
 
 pragma solidity >=0.6.2;
 

+ 1 - 1
contracts/interfaces/IERC5267.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC5267.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC5267.sol)
 
 pragma solidity >=0.4.16;
 

+ 1 - 1
contracts/interfaces/IERC5313.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC5313.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC5313.sol)
 
 pragma solidity >=0.4.16;
 

+ 1 - 1
contracts/interfaces/IERC5805.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC5805.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC5805.sol)
 
 pragma solidity >=0.8.4;
 

+ 1 - 1
contracts/interfaces/IERC6372.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC6372.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC6372.sol)
 
 pragma solidity >=0.4.16;
 

+ 1 - 1
contracts/interfaces/IERC721.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC721.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC721.sol)
 
 pragma solidity >=0.6.2;
 

+ 1 - 1
contracts/interfaces/IERC721Enumerable.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC721Enumerable.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC721Enumerable.sol)
 
 pragma solidity >=0.6.2;
 

+ 1 - 1
contracts/interfaces/IERC721Metadata.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC721Metadata.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC721Metadata.sol)
 
 pragma solidity >=0.6.2;
 

+ 1 - 1
contracts/interfaces/IERC721Receiver.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC721Receiver.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC721Receiver.sol)
 
 pragma solidity >=0.5.0;
 

+ 1 - 1
contracts/interfaces/IERC777.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC777.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC777.sol)
 
 pragma solidity >=0.5.0;
 

+ 1 - 1
contracts/interfaces/IERC777Recipient.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC777Recipient.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC777Recipient.sol)
 
 pragma solidity >=0.5.0;
 

+ 1 - 1
contracts/interfaces/IERC777Sender.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC777Sender.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC777Sender.sol)
 
 pragma solidity >=0.5.0;
 

+ 1 - 1
contracts/interfaces/IERC7913.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/IERC7913.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC7913.sol)
 
 pragma solidity >=0.5.0;
 

+ 1 - 1
contracts/interfaces/draft-IERC1822.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/draft-IERC1822.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC1822.sol)
 
 pragma solidity >=0.4.16;
 

+ 1 - 1
contracts/interfaces/draft-IERC4337.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/draft-IERC4337.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC4337.sol)
 
 pragma solidity >=0.8.4;
 

+ 1 - 1
contracts/interfaces/draft-IERC6093.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/draft-IERC6093.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC6093.sol)
 pragma solidity >=0.8.4;
 
 /**

+ 1 - 1
contracts/interfaces/draft-IERC6909.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/draft-IERC6909.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC6909.sol)
 
 pragma solidity >=0.6.2;
 

+ 1 - 1
contracts/interfaces/draft-IERC7579.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (interfaces/draft-IERC7579.sol)
+// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC7579.sol)
 pragma solidity >=0.8.4;
 
 import {PackedUserOperation} from "./draft-IERC4337.sol";

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff