Skip to content

Commit 3d5fa5c

Browse files
Transpile acd4ff74d
1 parent 3185fad commit 3d5fa5c

30 files changed

+23
-111
lines changed

.changeset/cyan-taxis-travel.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/eighty-hounds-promise.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/four-chairs-help.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/great-lions-hear.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/healthy-books-shout.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/hot-shrimps-wait.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/lovely-dodos-lay.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/pink-wasps-hammer.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/pre.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

.changeset/proud-planes-arrive.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/seven-donkeys-tap.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/seven-insects-taste.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/small-seahorses-bathe.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/tricky-bats-pretend.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/weak-roses-bathe.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
# Changelog
22

3+
## 5.2.0 (2025-01-08)
34

4-
## 5.2.0-rc.1 (2024-12-16)
5+
### Breaking Changes
6+
7+
#### Custom error changes
58

6-
- `ERC7579Utils`: Add ABI decoding checks on calldata bounds within `decodeBatch` ([#5367](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5367))
9+
This version comes with changes to the custom error identifiers. Contracts previously depending on the following errors should be replaced accordingly:
710

8-
## 5.2.0-rc.0 (2024-12-04)
11+
- Replace `Errors.FailedCall` with a bubbled-up revert reason in `Address.sendValue`.
912

1013
### Changes by category
1114

@@ -33,6 +36,7 @@
3336

3437
### Utils
3538

39+
- `Address`: bubble up revert data on `sendValue` failed call ([#5418](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5418))
3640
- `Bytes`: Add a library of common operation that operate on `bytes` objects. ([#5252](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5252))
3741
- `CAIP2` and `CAIP10`: Add libraries for formatting and parsing CAIP-2 and CAIP-10 identifiers. ([#5252](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5252))
3842
- `NoncesKeyed`: Add a variant of `Nonces` that implements the ERC-4337 entrypoint nonce system. ([#5272](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5272))

contracts/finance/VestingWalletUpgradeable.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.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 "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contracts/governance/GovernorUpgradeable.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.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

contracts/governance/extensions/GovernorCountingOverridableUpgradeable.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.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

contracts/governance/extensions/GovernorPreventLateQuorumUpgradeable.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.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

contracts/governance/utils/VotesExtendedUpgradeable.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.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 "@openzeppelin/contracts/utils/structs/Checkpoints.sol";

contracts/governance/utils/VotesUpgradeable.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.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 "@openzeppelin/contracts/interfaces/IERC5805.sol";

contracts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@openzeppelin/contracts-upgradeable",
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",
@@ -30,6 +30,6 @@
3030
},
3131
"homepage": "https://openzeppelin.com/contracts/",
3232
"peerDependencies": {
33-
"@openzeppelin/contracts": "5.2.0-rc.1"
33+
"@openzeppelin/contracts": "5.2.0"
3434
}
3535
}

contracts/proxy/utils/UUPSUpgradeable.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.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

contracts/token/ERC20/ERC20Upgradeable.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.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

contracts/token/ERC20/extensions/ERC1363Upgradeable.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.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

contracts/utils/NoncesKeyedUpgradeable.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.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 {NoncesUpgradeable} from "./NoncesUpgradeable.sol";

docs/antora.yml

Lines changed: 2 additions & 2 deletions
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

lib/openzeppelin-contracts

package.json

Lines changed: 1 addition & 1 deletion
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)