Skip to content

Commit acd4ff7

Browse files
github-actions[bot]ernestognwAmxx
authored
Release v5.2.0 (#5419)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Ernesto García <[email protected]> Co-authored-by: Hadrien Croubois <[email protected]>
1 parent 6c10bab commit acd4ff7

Some content is hidden

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

46 files changed

+38
-126
lines changed

Diff for: .changeset/cyan-taxis-travel.md

-5
This file was deleted.

Diff for: .changeset/eighty-hounds-promise.md

-5
This file was deleted.

Diff for: .changeset/four-chairs-help.md

-5
This file was deleted.

Diff for: .changeset/great-lions-hear.md

-5
This file was deleted.

Diff for: .changeset/healthy-books-shout.md

-5
This file was deleted.

Diff for: .changeset/hot-shrimps-wait.md

-5
This file was deleted.

Diff for: .changeset/lovely-dodos-lay.md

-5
This file was deleted.

Diff for: .changeset/pink-wasps-hammer.md

-5
This file was deleted.

Diff for: .changeset/pre.json

-22
This file was deleted.

Diff for: .changeset/proud-planes-arrive.md

-5
This file was deleted.

Diff for: .changeset/seven-donkeys-tap.md

-5
This file was deleted.

Diff for: .changeset/seven-insects-taste.md

-5
This file was deleted.

Diff for: .changeset/small-seahorses-bathe.md

-5
This file was deleted.

Diff for: .changeset/tricky-bats-pretend.md

-5
This file was deleted.

Diff for: .changeset/weak-roses-bathe.md

-5
This file was deleted.

Diff for: CHANGELOG.md

+7-3

Diff for: 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-rc.0) (account/utils/draft-ERC4337Utils.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (account/utils/draft-ERC4337Utils.sol)
33

44
pragma solidity ^0.8.20;
55

Diff for: contracts/account/utils/draft-ERC7579Utils.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-rc.1) (account/utils/draft-ERC7579Utils.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (account/utils/draft-ERC7579Utils.sol)
33

44
pragma solidity ^0.8.20;
55

Diff for: 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-rc.0) (finance/VestingWallet.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (finance/VestingWallet.sol)
33
pragma solidity ^0.8.20;
44

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

Diff for: 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-rc.0) (governance/Governor.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (governance/Governor.sol)
33

44
pragma solidity ^0.8.20;
55

Diff for: 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-rc.0) (governance/extensions/GovernorCountingOverridable.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (governance/extensions/GovernorCountingOverridable.sol)
33

44
pragma solidity ^0.8.20;
55

Diff for: contracts/governance/extensions/GovernorPreventLateQuorum.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-rc.0) (governance/extensions/GovernorPreventLateQuorum.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (governance/extensions/GovernorPreventLateQuorum.sol)
33

44
pragma solidity ^0.8.20;
55

Diff for: contracts/governance/utils/Votes.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-rc.0) (governance/utils/Votes.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (governance/utils/Votes.sol)
33
pragma solidity ^0.8.20;
44

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

Diff for: contracts/governance/utils/VotesExtended.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-rc.0) (governance/utils/VotesExtended.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (governance/utils/VotesExtended.sol)
33
pragma solidity ^0.8.20;
44

55
import {Checkpoints} from "../../utils/structs/Checkpoints.sol";

Diff for: contracts/interfaces/draft-IERC4337.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-rc.0) (interfaces/draft-IERC4337.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (interfaces/draft-IERC4337.sol)
33

44
pragma solidity ^0.8.20;
55

Diff for: contracts/interfaces/draft-IERC7579.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-rc.0) (interfaces/draft-IERC7579.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (interfaces/draft-IERC7579.sol)
33
pragma solidity ^0.8.20;
44

55
import {PackedUserOperation} from "./draft-IERC4337.sol";

Diff for: 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-rc.1",
4+
"version": "5.2.0",
55
"files": [
66
"**/*.sol",
77
"/build/contracts/*.json",

Diff for: contracts/proxy/Clones.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-rc.0) (proxy/Clones.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (proxy/Clones.sol)
33

44
pragma solidity ^0.8.20;
55

Diff for: contracts/proxy/ERC1967/ERC1967Proxy.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-rc.0) (proxy/ERC1967/ERC1967Proxy.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (proxy/ERC1967/ERC1967Proxy.sol)
33

44
pragma solidity ^0.8.22;
55

Diff for: contracts/proxy/ERC1967/ERC1967Utils.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-rc.0) (proxy/ERC1967/ERC1967Utils.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (proxy/ERC1967/ERC1967Utils.sol)
33

44
pragma solidity ^0.8.22;
55

Diff for: contracts/proxy/beacon/BeaconProxy.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-rc.0) (proxy/beacon/BeaconProxy.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (proxy/beacon/BeaconProxy.sol)
33

44
pragma solidity ^0.8.22;
55

Diff for: contracts/proxy/transparent/ProxyAdmin.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-rc.0) (proxy/transparent/ProxyAdmin.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (proxy/transparent/ProxyAdmin.sol)
33

44
pragma solidity ^0.8.22;
55

Diff for: contracts/proxy/transparent/TransparentUpgradeableProxy.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-rc.0) (proxy/transparent/TransparentUpgradeableProxy.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (proxy/transparent/TransparentUpgradeableProxy.sol)
33

44
pragma solidity ^0.8.22;
55

Diff for: 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-rc.0) (proxy/utils/UUPSUpgradeable.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (proxy/utils/UUPSUpgradeable.sol)
33

44
pragma solidity ^0.8.22;
55

Diff for: contracts/token/ERC20/ERC20.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-rc.0) (token/ERC20/ERC20.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/ERC20.sol)
33

44
pragma solidity ^0.8.20;
55

Diff for: contracts/token/ERC20/extensions/ERC1363.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-rc.0) (token/ERC20/extensions/ERC1363.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/extensions/ERC1363.sol)
33

44
pragma solidity ^0.8.20;
55

Diff for: 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-rc.0) (token/ERC20/utils/SafeERC20.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/utils/SafeERC20.sol)
33

44
pragma solidity ^0.8.20;
55

Diff for: contracts/utils/Address.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/Address.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (utils/Address.sol)
33

44
pragma solidity ^0.8.20;
55

Diff for: contracts/utils/Bytes.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-rc.0) (utils/Bytes.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (utils/Bytes.sol)
33

44
pragma solidity ^0.8.24;
55

Diff for: contracts/utils/CAIP10.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-rc.0) (utils/CAIP10.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (utils/CAIP10.sol)
33

44
pragma solidity ^0.8.24;
55

Diff for: contracts/utils/CAIP2.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-rc.0) (utils/CAIP2.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (utils/CAIP2.sol)
33

44
pragma solidity ^0.8.24;
55

Diff for: contracts/utils/NoncesKeyed.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-rc.0) (utils/NoncesKeyed.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (utils/NoncesKeyed.sol)
33
pragma solidity ^0.8.20;
44

55
import {Nonces} from "./Nonces.sol";

Diff for: contracts/utils/Packing.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-rc.0) (utils/Packing.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (utils/Packing.sol)
33
// This file was procedurally generated from scripts/generate/templates/Packing.js.
44

55
pragma solidity ^0.8.20;

Diff for: 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-rc.0) (utils/Strings.sol)
2+
// OpenZeppelin Contracts (last updated v5.2.0) (utils/Strings.sol)
33

44
pragma solidity ^0.8.20;
55

Diff for: 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-rc
4-
prerelease: true
3+
version: 5.x
4+
prerelease: false
55
nav:
66
- modules/ROOT/nav.adoc
77
- modules/api/nav.adoc

Diff for: 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-rc.1",
4+
"version": "5.2.0",
55
"private": true,
66
"files": [
77
"/contracts/**/*.sol",

0 commit comments

Comments
 (0)