Browse Source

Release v4.9.4 (#4784)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
github-actions[bot] 1 year ago
parent
commit
0d5f54e69b

+ 0 - 5
.changeset/rude-weeks-beg.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': patch
----
-
-`ERC2771Context` and `Context`: Introduce a `_contextPrefixLength()` getter, used to trim extra information appended to `msg.data`.

+ 0 - 5
.changeset/strong-points-invent.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': patch
----
-
-`Multicall`: Make aware of non-canonical context (i.e. `msg.sender` is not `_msgSender()`), allowing compatibility with `ERC2771Context`.

+ 5 - 0
CHANGELOG.md

@@ -1,6 +1,11 @@
 # Changelog
 
 
+## 4.9.4 (2023-12-07)
+
+- `ERC2771Context` and `Context`: Introduce a `_contextPrefixLength()` getter, used to trim extra information appended to `msg.data`.
+- `Multicall`: Make aware of non-canonical context (i.e. `msg.sender` is not `_msgSender()`), allowing compatibility with `ERC2771Context`.
+
 ## 4.9.3 (2023-07-28)
 
 - `ERC2771Context`: Return the forwarder address whenever the `msg.data` of a call originating from a trusted forwarder is not long enough to contain the request signer address (i.e. `msg.data.length` is less than 20 bytes), as specified by ERC-2771. ([#4481](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4481))

+ 1 - 1
contracts/metatx/ERC2771Context.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v4.9.3) (metatx/ERC2771Context.sol)
+// OpenZeppelin Contracts (last updated v4.9.4) (metatx/ERC2771Context.sol)
 
 pragma solidity ^0.8.9;
 

+ 1 - 1
contracts/package.json

@@ -1,7 +1,7 @@
 {
   "name": "@openzeppelin/contracts",
   "description": "Secure Smart Contract library for Solidity",
-  "version": "4.9.3",
+  "version": "4.9.4",
   "files": [
     "**/*.sol",
     "/build/contracts/*.json",

+ 1 - 1
contracts/token/ERC20/extensions/ERC20Permit.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/ERC20Permit.sol)
+// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/ERC20Permit.sol)
 
 pragma solidity ^0.8.0;
 

+ 1 - 1
contracts/token/ERC20/extensions/IERC20Permit.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol)
+// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol)
 
 pragma solidity ^0.8.0;
 

+ 1 - 1
contracts/utils/Context.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
+// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)
 
 pragma solidity ^0.8.0;
 

+ 1 - 1
contracts/utils/Multicall.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v4.9.0) (utils/Multicall.sol)
+// OpenZeppelin Contracts (last updated v4.9.4) (utils/Multicall.sol)
 
 pragma solidity ^0.8.0;
 

+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
   "name": "openzeppelin-solidity",
   "description": "Secure Smart Contract library for Solidity",
-  "version": "4.9.3",
+  "version": "4.9.4",
   "files": [
     "/contracts/**/*.sol",
     "/build/contracts/*.json",