浏览代码

Merge release-v4.9 branch (#4352)

Ernesto García 2 年之前
父节点
当前提交
ac5480e7ca
共有 4 个文件被更改,包括 7 次插入3 次删除
  1. 4 0
      CHANGELOG.md
  2. 1 1
      contracts/governance/Governor.sol
  3. 1 1
      contracts/package.json
  4. 1 1
      package.json

+ 4 - 0
CHANGELOG.md

@@ -59,6 +59,10 @@ function supportsInterface(bytes4 interfaceId) public view virtual override retu
 }
 ```
 
+## 4.9.1 (2023-06-07)
+
+- `Governor`: Add a mechanism to restrict the address of the proposer using a suffix in the description.
+
 ## 4.9.0 (2023-05-23)
 
 - `ReentrancyGuard`: Add a `_reentrancyGuardEntered` function to expose the guard status. ([#3714](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3714))

+ 1 - 1
contracts/governance/Governor.sol

@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: MIT
-// OpenZeppelin Contracts (last updated v4.9.0) (governance/Governor.sol)
+// OpenZeppelin Contracts (last updated v4.9.1) (governance/Governor.sol)
 
 pragma solidity ^0.8.19;
 

+ 1 - 1
contracts/package.json

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

+ 1 - 1
package.json

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