Skip to content

Commit 36a98bf

Browse files
Release v5.3.0 (rc)
1 parent 9671043 commit 36a98bf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+90
-39
lines changed

.changeset/pre.json

+21-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,25 @@
44
"initialVersions": {
55
"openzeppelin-solidity": "5.2.0"
66
},
7-
"changesets": []
7+
"changesets": [
8+
"brave-islands-sparkle",
9+
"brown-seals-sing",
10+
"brown-turkeys-marry",
11+
"cyan-taxis-travel",
12+
"dirty-bananas-shake",
13+
"famous-timers-compare",
14+
"good-cameras-rush",
15+
"good-cameras-serve",
16+
"green-drinks-report",
17+
"long-walls-draw",
18+
"lucky-teachers-sip",
19+
"pretty-lobsters-tan",
20+
"proud-cooks-do",
21+
"seven-insects-taste",
22+
"sixty-tips-wink",
23+
"ten-fishes-fold",
24+
"ten-hats-begin",
25+
"ten-peas-mix",
26+
"thin-eels-cross"
27+
]
828
}

CHANGELOG.md

+23

contracts/access/AccessControl.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (access/AccessControl.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/account/utils/draft-ERC4337Utils.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.2.0) (account/utils/draft-ERC4337Utils.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (account/utils/draft-ERC4337Utils.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/finance/VestingWallet.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.2.0) (finance/VestingWallet.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (finance/VestingWallet.sol)
33
pragma solidity ^0.8.20;
44

55
import {IERC20} from "../token/ERC20/IERC20.sol";

contracts/governance/Governor.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.2.0) (governance/Governor.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (governance/Governor.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/IGovernor.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (governance/IGovernor.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (governance/IGovernor.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/extensions/GovernorCountingFractional.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (governance/extensions/GovernorCountingFractional.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (governance/extensions/GovernorCountingFractional.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/extensions/GovernorCountingOverridable.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.2.0) (governance/extensions/GovernorCountingOverridable.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (governance/extensions/GovernorCountingOverridable.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/extensions/GovernorProposalGuardian.sol

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MIT
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (governance/extensions/GovernorProposalGuardian.sol)
23
pragma solidity ^0.8.20;
34

45
import {Governor} from "../Governor.sol";

contracts/governance/extensions/GovernorSequentialProposalId.sol

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MIT
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (governance/extensions/GovernorSequentialProposalId.sol)
23

34
pragma solidity ^0.8.20;
45

contracts/governance/extensions/GovernorStorage.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (governance/extensions/GovernorStorage.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (governance/extensions/GovernorStorage.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/extensions/GovernorTimelockAccess.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (governance/extensions/GovernorTimelockAccess.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (governance/extensions/GovernorTimelockAccess.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/extensions/GovernorTimelockCompound.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (governance/extensions/GovernorTimelockCompound.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (governance/extensions/GovernorTimelockCompound.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/interfaces/IERC1271.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1271.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (interfaces/IERC1271.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/interfaces/draft-IERC6909.sol

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MIT
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (interfaces/draft-IERC6909.sol)
23

34
pragma solidity ^0.8.20;
45

contracts/metatx/ERC2771Forwarder.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (metatx/ERC2771Forwarder.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (metatx/ERC2771Forwarder.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@openzeppelin/contracts",
33
"description": "Secure Smart Contract library for Solidity",
4-
"version": "5.2.0",
4+
"version": "5.3.0-rc.0",
55
"files": [
66
"**/*.sol",
77
"/build/contracts/*.json",

contracts/proxy/utils/UUPSUpgradeable.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.2.0) (proxy/utils/UUPSUpgradeable.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (proxy/utils/UUPSUpgradeable.sol)
33

44
pragma solidity ^0.8.22;
55

contracts/token/ERC1155/IERC1155.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC1155/IERC1155.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (token/ERC1155/IERC1155.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/ERC1155/utils/ERC1155Utils.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC1155/utils/ERC1155Utils.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (token/ERC1155/utils/ERC1155Utils.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/ERC20/extensions/ERC4626.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/ERC4626.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (token/ERC20/extensions/ERC4626.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/ERC20/utils/SafeERC20.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/utils/SafeERC20.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (token/ERC20/utils/SafeERC20.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/ERC6909/draft-ERC6909.sol

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MIT
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (token/ERC6909/draft-ERC6909.sol)
23

34
pragma solidity ^0.8.20;
45

contracts/token/ERC6909/extensions/draft-ERC6909ContentURI.sol

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MIT
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (token/ERC6909/extensions/draft-ERC6909ContentURI.sol)
23

34
pragma solidity ^0.8.20;
45

contracts/token/ERC6909/extensions/draft-ERC6909Metadata.sol

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MIT
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (token/ERC6909/extensions/draft-ERC6909Metadata.sol)
23

34
pragma solidity ^0.8.20;
45

contracts/token/ERC6909/extensions/draft-ERC6909TokenSupply.sol

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MIT
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (token/ERC6909/extensions/draft-ERC6909TokenSupply.sol)
23

34
pragma solidity ^0.8.20;
45

contracts/token/ERC721/extensions/ERC721Consecutive.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/extensions/ERC721Consecutive.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (token/ERC721/extensions/ERC721Consecutive.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/ERC721/extensions/ERC721URIStorage.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/extensions/ERC721URIStorage.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (token/ERC721/extensions/ERC721URIStorage.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/ERC721/utils/ERC721Utils.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/utils/ERC721Utils.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (token/ERC721/utils/ERC721Utils.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/common/ERC2981.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (token/common/ERC2981.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (token/common/ERC2981.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/utils/Arrays.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (utils/Arrays.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (utils/Arrays.sol)
33
// This file was procedurally generated from scripts/generate/templates/Arrays.js.
44

55
pragma solidity ^0.8.20;

contracts/utils/Calldata.sol

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MIT
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (utils/Calldata.sol)
23

34
pragma solidity ^0.8.20;
45

contracts/utils/Multicall.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Multicall.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (utils/Multicall.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/utils/Pausable.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (utils/Pausable.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/utils/ReentrancyGuardTransient.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuardTransient.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (utils/ReentrancyGuardTransient.sol)
33

44
pragma solidity ^0.8.24;
55

contracts/utils/ShortStrings.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (utils/ShortStrings.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (utils/ShortStrings.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/utils/Strings.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.2.0) (utils/Strings.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (utils/Strings.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/utils/cryptography/EIP712.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (utils/cryptography/EIP712.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (utils/cryptography/EIP712.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/utils/cryptography/Hashes.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (utils/cryptography/Hashes.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (utils/cryptography/Hashes.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/utils/cryptography/MessageHashUtils.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (utils/cryptography/MessageHashUtils.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (utils/cryptography/MessageHashUtils.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/utils/math/Math.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/Math.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (utils/math/Math.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/utils/structs/EnumerableMap.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (utils/structs/EnumerableMap.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (utils/structs/EnumerableMap.sol)
33
// This file was procedurally generated from scripts/generate/templates/EnumerableMap.js.
44

55
pragma solidity ^0.8.20;

contracts/utils/structs/EnumerableSet.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (utils/structs/EnumerableSet.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (utils/structs/EnumerableSet.sol)
33
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.
44

55
pragma solidity ^0.8.20;

contracts/utils/structs/MerkleTree.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (utils/structs/MerkleTree.sol)
2+
// OpenZeppelin Contracts (last updated v5.3.0-rc.0) (utils/structs/MerkleTree.sol)
33

44
pragma solidity ^0.8.20;
55

docs/antora.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: contracts
22
title: Contracts
3-
version: 5.x
4-
prerelease: false
3+
version: 5.x-rc
4+
prerelease: true
55
nav:
66
- modules/ROOT/nav.adoc
77
- modules/api/nav.adoc

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "openzeppelin-solidity",
33
"description": "Secure Smart Contract library for Solidity",
4-
"version": "5.2.0",
4+
"version": "5.3.0-rc.0",
55
"private": true,
66
"files": [
77
"/contracts/**/*.sol",

0 commit comments

Comments
 (0)