Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/afraid-chicken-attack.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/all-geese-stand.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/angry-waves-film.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/clear-tools-refuse.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dull-students-eat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/eight-radios-check.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fast-beans-pull.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/funny-donuts-follow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/itchy-turkeys-allow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/loose-lamps-bake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/major-feet-write.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/modern-moments-raise.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/new-days-tease.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/old-memes-dress.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/petite-seas-shake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/plain-times-itch.md

This file was deleted.

43 changes: 0 additions & 43 deletions .changeset/pre.json

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/public-crabs-heal.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/quick-pianos-press.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rich-cows-repair.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ripe-bears-hide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sharp-scissors-drum.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shiny-dolphins-lick.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silent-zebras-press.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/solid-cobras-talk.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/swift-planets-juggle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ten-steaks-try.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tender-dolls-nail.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/three-parents-argue.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/violet-turtles-like.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/whole-cats-find.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/whole-plums-speak.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wild-baths-buy.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wise-webs-fly.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/witty-hats-flow.md

This file was deleted.

20 changes: 3 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,16 @@
# Changelog


## 5.5.0-rc.1 (2025-10-09)
## 5.5.0 (2025-10-31)

### Bug fixes

- `AccountERC7579`: Prevent revert in `isModuleInstalled` for fallback modules when `additionalContext` has fewer than 4 bytes. The function now returns `false` instead of reverting, ensuring ERC-7579 compliance. ([#5961](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5961))
- `ERC165Checker`: Ensure the `supportsERC165` function returns false if the target reverts during the `supportsInterface(0xffffffff)` call. ([#5810](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5880))

### Breaking changes

- `Account`: Add `signature` argument to the internal `_validateUserOp` function for custom signature handling logic. Developers overriding it must now provide the signature from the user operation (i.e. `userOp.signature`) to keep compatibility. ([#5976](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5976))
- `AccountERC7579`: Installing and uninstalling fallback modules now require the corresponding `initData` and `deInitData` arguments to be at least 4 bytes long (matching the selector to which the fallback module is registered). It now reverts with `ERC7579CannotDecodeFallbackData` instead of treating the missing bytes as `0x00`. ([#5974](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5974))

### Changes by category

#### Utils

- `Arrays`: Add `slice` and `splice` functions for value types (`uint256[]`, `bytes32[]`, `address[]`). ([#5983](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5983))

## 5.5.0-rc.0 (2025-09-26)

### Bug fixes

- `ERC165Checker`: Ensure the `supportsERC165` function returns false if the target reverts during the `supportsInterface(0xffffffff)` call. ([#5810](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5880))

### Breaking changes

- `ERC6909` and its extensions (`ERC6909ContentURI`, `ERC6909Metadata` and `ERC6909TokenSupply`) are no longer marked as draft since [EIP-6909](https://eips.ethereum.org/EIPS/eip-6909) is now final. Developers must update the import paths. Contracts behavior is not modified. ([#5929](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5929))
- `SignerERC7702` is renamed as `SignerEIP7702`. Imports and inheritance must be updated to that new name and path. Behavior is unmodified. ([#5932](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5932))
- `ERC721Holder`, `ERC1155Holder`, `ReentrancyGuard` and `ReentrancyGuardTransient` are flagged as stateless and are no longer transpiled. Developers using their upgradeable variants from `@openzeppelin/contracts-upgradeable` must update their imports to use the equivalent version available in `@openzeppelin/contracts`. ([#5944](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5944), [#5942](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5942))
Expand Down Expand Up @@ -73,6 +58,7 @@

#### Utils

- `Arrays`: Add `slice` and `splice` functions for value types (`uint256[]`, `bytes32[]`, `address[]`). ([#5983](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5983))
- `Base58`: Add a library for encoding and decoding bytes buffers into base58 strings. ([#5762](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5762))
- `Base64`: Add a new `decode` function that parses base64 encoded strings. ([#5765](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5765))
- `Bytes`: Add `concat` that merges a `bytes[]` array of buffers into a single `bytes` buffer. ([#5882](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5882))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0-rc.0) (access/extensions/AccessControlDefaultAdminRules.sol)
// OpenZeppelin Contracts (last updated v5.5.0) (access/extensions/AccessControlDefaultAdminRules.sol)

pragma solidity ^0.8.20;

Expand Down
2 changes: 1 addition & 1 deletion contracts/access/extensions/AccessControlEnumerable.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0-rc.1) (access/extensions/AccessControlEnumerable.sol)
// OpenZeppelin Contracts (last updated v5.5.0) (access/extensions/AccessControlEnumerable.sol)

pragma solidity ^0.8.24;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0-rc.0) (access/extensions/IAccessControlDefaultAdminRules.sol)
// OpenZeppelin Contracts (last updated v5.5.0) (access/extensions/IAccessControlDefaultAdminRules.sol)

pragma solidity >=0.8.4;

Expand Down
2 changes: 1 addition & 1 deletion contracts/access/manager/AccessManager.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0-rc.0) (access/manager/AccessManager.sol)
// OpenZeppelin Contracts (last updated v5.5.0) (access/manager/AccessManager.sol)

pragma solidity ^0.8.20;

Expand Down
2 changes: 1 addition & 1 deletion contracts/access/manager/IAccessManager.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0-rc.0) (access/manager/IAccessManager.sol)
// OpenZeppelin Contracts (last updated v5.5.0) (access/manager/IAccessManager.sol)

pragma solidity >=0.8.4;

Expand Down
2 changes: 1 addition & 1 deletion contracts/account/Account.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0-rc.1) (account/Account.sol)
// OpenZeppelin Contracts (last updated v5.5.0) (account/Account.sol)

pragma solidity ^0.8.20;

Expand Down
2 changes: 1 addition & 1 deletion contracts/account/extensions/draft-AccountERC7579.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0-rc.1) (account/extensions/draft-AccountERC7579.sol)
// OpenZeppelin Contracts (last updated v5.5.0) (account/extensions/draft-AccountERC7579.sol)

pragma solidity ^0.8.26;

Expand Down
2 changes: 1 addition & 1 deletion contracts/account/extensions/draft-ERC7821.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0-rc.0) (account/extensions/draft-ERC7821.sol)
// OpenZeppelin Contracts (last updated v5.5.0) (account/extensions/draft-ERC7821.sol)

pragma solidity ^0.8.20;

Expand Down
2 changes: 1 addition & 1 deletion contracts/account/utils/EIP7702Utils.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0-rc.0) (account/utils/EIP7702Utils.sol)
// OpenZeppelin Contracts (last updated v5.5.0) (account/utils/EIP7702Utils.sol)

pragma solidity ^0.8.20;

Expand Down
2 changes: 1 addition & 1 deletion contracts/account/utils/draft-ERC7579Utils.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0-rc.0) (account/utils/draft-ERC7579Utils.sol)
// OpenZeppelin Contracts (last updated v5.5.0) (account/utils/draft-ERC7579Utils.sol)

pragma solidity ^0.8.20;

Expand Down
2 changes: 1 addition & 1 deletion contracts/crosschain/ERC7786Recipient.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0-rc.1) (crosschain/ERC7786Recipient.sol)
// OpenZeppelin Contracts (last updated v5.5.0) (crosschain/ERC7786Recipient.sol)

pragma solidity ^0.8.20;

Expand Down
2 changes: 1 addition & 1 deletion contracts/finance/VestingWallet.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0-rc.0) (finance/VestingWallet.sol)
// OpenZeppelin Contracts (last updated v5.5.0) (finance/VestingWallet.sol)
pragma solidity ^0.8.20;

import {IERC20} from "../token/ERC20/IERC20.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/governance/Governor.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0-rc.0) (governance/Governor.sol)
// OpenZeppelin Contracts (last updated v5.5.0) (governance/Governor.sol)

pragma solidity ^0.8.24;

Expand Down
2 changes: 1 addition & 1 deletion contracts/governance/IGovernor.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0-rc.0) (governance/IGovernor.sol)
// OpenZeppelin Contracts (last updated v5.5.0) (governance/IGovernor.sol)

pragma solidity >=0.8.4;

Expand Down
2 changes: 1 addition & 1 deletion contracts/governance/TimelockController.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.5.0-rc.0) (governance/TimelockController.sol)
// OpenZeppelin Contracts (last updated v5.5.0) (governance/TimelockController.sol)

pragma solidity ^0.8.20;

Expand Down
Loading