Skip to content

Commit eb99b61

Browse files
Release v5.1.0 (rc)
1 parent 58a1147 commit eb99b61

File tree

168 files changed

+259
-148
lines changed

Some content is hidden

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

168 files changed

+259
-148
lines changed

.changeset/pre.json

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,49 @@
44
"initialVersions": {
55
"openzeppelin-solidity": "5.0.2"
66
},
7-
"changesets": []
7+
"changesets": [
8+
"chilled-walls-develop",
9+
"chilly-humans-warn",
10+
"cold-cheetahs-check",
11+
"cool-mangos-compare",
12+
"curvy-crabs-repeat",
13+
"dirty-cobras-smile",
14+
"eight-eyes-burn",
15+
"eleven-planets-relax",
16+
"flat-turtles-repeat",
17+
"fluffy-buses-jump",
18+
"fluffy-steaks-exist",
19+
"forty-dodos-visit",
20+
"friendly-nails-push",
21+
"gentle-bulldogs-turn",
22+
"gorgeous-badgers-vanish",
23+
"great-pianos-work",
24+
"heavy-baboons-give",
25+
"kind-planets-cough",
26+
"light-news-listen",
27+
"lucky-crews-eat",
28+
"nervous-eyes-teach",
29+
"nervous-pans-grow",
30+
"nice-paws-pull",
31+
"odd-files-protect",
32+
"odd-lobsters-wash",
33+
"poor-chefs-cheat",
34+
"serious-carrots-provide",
35+
"shiny-poets-whisper",
36+
"silver-swans-promise",
37+
"smart-bugs-switch",
38+
"spotty-falcons-explain",
39+
"spotty-queens-own",
40+
"strong-singers-talk",
41+
"thick-pumpkins-report",
42+
"thin-walls-drop",
43+
"tricky-bats-pretend",
44+
"twenty-feet-grin",
45+
"violet-moons-tell",
46+
"warm-sheep-cover",
47+
"wise-bobcats-speak",
48+
"witty-chicken-smile",
49+
"yellow-deers-walk",
50+
"yellow-moles-hammer"
51+
]
852
}

CHANGELOG.md

Lines changed: 47 additions & 0 deletions

contracts/access/AccessControl.sol

Lines changed: 1 addition & 1 deletion
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.1.0-rc.0) (access/AccessControl.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/access/IAccessControl.sol

Lines changed: 1 addition & 1 deletion
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/IAccessControl.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (access/IAccessControl.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/access/Ownable.sol

Lines changed: 1 addition & 1 deletion
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/Ownable.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (access/Ownable.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/access/Ownable2Step.sol

Lines changed: 1 addition & 1 deletion
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/Ownable2Step.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (access/Ownable2Step.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/access/extensions/AccessControlDefaultAdminRules.sol

Lines changed: 1 addition & 1 deletion
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/extensions/AccessControlDefaultAdminRules.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (access/extensions/AccessControlDefaultAdminRules.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/access/extensions/AccessControlEnumerable.sol

Lines changed: 1 addition & 1 deletion
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/extensions/AccessControlEnumerable.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (access/extensions/AccessControlEnumerable.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/access/extensions/IAccessControlDefaultAdminRules.sol

Lines changed: 1 addition & 1 deletion
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/extensions/IAccessControlDefaultAdminRules.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (access/extensions/IAccessControlDefaultAdminRules.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/access/extensions/IAccessControlEnumerable.sol

Lines changed: 1 addition & 1 deletion
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/extensions/IAccessControlEnumerable.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (access/extensions/IAccessControlEnumerable.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/access/manager/AccessManaged.sol

Lines changed: 1 addition & 1 deletion
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/manager/AccessManaged.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (access/manager/AccessManaged.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/access/manager/AccessManager.sol

Lines changed: 1 addition & 1 deletion
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/manager/AccessManager.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (access/manager/AccessManager.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/access/manager/AuthorityUtils.sol

Lines changed: 1 addition & 1 deletion
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/manager/AuthorityUtils.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (access/manager/AuthorityUtils.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/access/manager/IAccessManaged.sol

Lines changed: 1 addition & 1 deletion
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/manager/IAccessManaged.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (access/manager/IAccessManaged.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/access/manager/IAccessManager.sol

Lines changed: 1 addition & 1 deletion
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/manager/IAccessManager.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (access/manager/IAccessManager.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/access/manager/IAuthority.sol

Lines changed: 1 addition & 1 deletion
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/manager/IAuthority.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (access/manager/IAuthority.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/finance/VestingWallet.sol

Lines changed: 1 addition & 1 deletion
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) (finance/VestingWallet.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (finance/VestingWallet.sol)
33
pragma solidity ^0.8.20;
44

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

contracts/finance/VestingWalletCliff.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MIT
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (finance/VestingWalletCliff.sol)
23

34
pragma solidity ^0.8.20;
45

contracts/governance/Governor.sol

Lines changed: 1 addition & 1 deletion
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) (governance/Governor.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/Governor.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/IGovernor.sol

Lines changed: 1 addition & 1 deletion
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) (governance/IGovernor.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/IGovernor.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/TimelockController.sol

Lines changed: 1 addition & 1 deletion
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) (governance/TimelockController.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/TimelockController.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/extensions/GovernorCountingFractional.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MIT
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/extensions/GovernorCountingFractional.sol)
23

34
pragma solidity ^0.8.20;
45

contracts/governance/extensions/GovernorCountingSimple.sol

Lines changed: 1 addition & 1 deletion
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) (governance/extensions/GovernorCountingSimple.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/extensions/GovernorCountingSimple.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/extensions/GovernorPreventLateQuorum.sol

Lines changed: 1 addition & 1 deletion
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) (governance/extensions/GovernorPreventLateQuorum.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/extensions/GovernorPreventLateQuorum.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/extensions/GovernorSettings.sol

Lines changed: 1 addition & 1 deletion
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) (governance/extensions/GovernorSettings.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/extensions/GovernorSettings.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/extensions/GovernorStorage.sol

Lines changed: 1 addition & 1 deletion
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) (governance/extensions/GovernorStorage.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/extensions/GovernorStorage.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/extensions/GovernorTimelockAccess.sol

Lines changed: 1 addition & 1 deletion
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) (governance/extensions/GovernorTimelockAccess.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/extensions/GovernorTimelockAccess.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/extensions/GovernorTimelockCompound.sol

Lines changed: 1 addition & 1 deletion
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) (governance/extensions/GovernorTimelockCompound.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/extensions/GovernorTimelockCompound.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/extensions/GovernorTimelockControl.sol

Lines changed: 1 addition & 1 deletion
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) (governance/extensions/GovernorTimelockControl.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/extensions/GovernorTimelockControl.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/extensions/GovernorVotes.sol

Lines changed: 1 addition & 1 deletion
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) (governance/extensions/GovernorVotes.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/extensions/GovernorVotes.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/extensions/GovernorVotesQuorumFraction.sol

Lines changed: 1 addition & 1 deletion
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) (governance/extensions/GovernorVotesQuorumFraction.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/extensions/GovernorVotesQuorumFraction.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/utils/IVotes.sol

Lines changed: 1 addition & 1 deletion
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) (governance/utils/IVotes.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/utils/IVotes.sol)
33
pragma solidity ^0.8.20;
44

55
/**

contracts/governance/utils/Votes.sol

Lines changed: 1 addition & 1 deletion
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) (governance/utils/Votes.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (governance/utils/Votes.sol)
33
pragma solidity ^0.8.20;
44

55
import {IERC5805} from "../../interfaces/IERC5805.sol";

contracts/interfaces/IERC1155.sol

Lines changed: 1 addition & 1 deletion
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) (interfaces/IERC1155.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (interfaces/IERC1155.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/interfaces/IERC1155MetadataURI.sol

Lines changed: 1 addition & 1 deletion
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) (interfaces/IERC1155MetadataURI.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (interfaces/IERC1155MetadataURI.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/interfaces/IERC1155Receiver.sol

Lines changed: 1 addition & 1 deletion
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) (interfaces/IERC1155Receiver.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (interfaces/IERC1155Receiver.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/interfaces/IERC1271.sol

Lines changed: 1 addition & 1 deletion
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) (interfaces/IERC1271.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (interfaces/IERC1271.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/interfaces/IERC1363.sol

Lines changed: 1 addition & 1 deletion
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) (interfaces/IERC1363.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (interfaces/IERC1363.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/interfaces/IERC1363Receiver.sol

Lines changed: 1 addition & 1 deletion
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) (interfaces/IERC1363Receiver.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (interfaces/IERC1363Receiver.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/interfaces/IERC1363Spender.sol

Lines changed: 1 addition & 1 deletion
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) (interfaces/IERC1363Spender.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (interfaces/IERC1363Spender.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/interfaces/IERC165.sol

Lines changed: 1 addition & 1 deletion
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) (interfaces/IERC165.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (interfaces/IERC165.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/interfaces/IERC1820Implementer.sol

Lines changed: 1 addition & 1 deletion
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) (interfaces/IERC1820Implementer.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (interfaces/IERC1820Implementer.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/interfaces/IERC1820Registry.sol

Lines changed: 1 addition & 1 deletion
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) (interfaces/IERC1820Registry.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (interfaces/IERC1820Registry.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/interfaces/IERC1967.sol

Lines changed: 1 addition & 1 deletion
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) (interfaces/IERC1967.sol)
2+
// OpenZeppelin Contracts (last updated v5.1.0-rc.0) (interfaces/IERC1967.sol)
33

44
pragma solidity ^0.8.20;
55

0 commit comments

Comments
 (0)