Skip to content

Commit 01ef448

Browse files
Release v5.0.1 (#4785)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 9ce0340 commit 01ef448

File tree

9 files changed

+12
-16
lines changed

9 files changed

+12
-16
lines changed

.changeset/rude-weeks-beg.md

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

.changeset/strong-points-invent.md

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

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
4+
## 5.0.1 (2023-12-07)
5+
6+
- `ERC2771Context` and `Context`: Introduce a `_contextPrefixLength()` getter, used to trim extra information appended to `msg.data`.
7+
- `Multicall`: Make aware of non-canonical context (i.e. `msg.sender` is not `_msgSender()`), allowing compatibility with `ERC2771Context`.
8+
39
## 5.0.0 (2023-10-05)
410

511
### Additions Summary

contracts/metatx/ERC2771Context.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) (metatx/ERC2771Context.sol)
2+
// OpenZeppelin Contracts (last updated v5.0.1) (metatx/ERC2771Context.sol)
33

44
pragma solidity ^0.8.20;
55

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/contracts",
33
"description": "Secure Smart Contract library for Solidity",
4-
"version": "5.0.0",
4+
"version": "5.0.1",
55
"files": [
66
"**/*.sol",
77
"/build/contracts/*.json",

contracts/token/ERC1155/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) (token/ERC1155/IERC1155.sol)
2+
// OpenZeppelin Contracts (last updated v5.0.1) (token/ERC1155/IERC1155.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/utils/Context.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) (utils/Context.sol)
2+
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/utils/Multicall.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) (utils/Multicall.sol)
2+
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Multicall.sol)
33

44
pragma solidity ^0.8.20;
55

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.0.0",
4+
"version": "5.0.1",
55
"private": true,
66
"files": [
77
"/contracts/**/*.sol",

0 commit comments

Comments
 (0)