-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add changeLog for 2.7.0 * modify version of fisco and console to 2.7.0
- Loading branch information
1 parent
86b7528
commit 77e4eb6
Showing
22 changed files
with
182 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# [v2.7.0](https://github.com/FISCO-BCOS/FISCO-BCOS/releases/tag/v2.7.0) | ||
|
||
```eval_rst | ||
.. admonition:: v2.6.x升级到v2.7.0 | ||
- **兼容升级** :直接替换v2.6.x节点的二进制为 `v2.7.0二进制 <https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.7.0/fisco-bcos.tar.gz>`_ ,升级后的版本修复v2.6.x中的bug,并支持取消事件订阅、查询节点订阅的topics信息、批量返回交易回执等功能,且节点交易和区块相关的RPC接口返回了交易和区块的所有字段内容、节点返回的回执信息中带有交易执行的错误信息 | ||
- **全面升级** :参考 `安装 <../installation.html>`_ 搭建新链,重新向新节点提交所有历史交易,升级后节点包含v2.7.0所有新特性 | ||
- `v2.7.0 Release Note <https://github.com/FISCO-BCOS/FISCO-BCOS/releases/tag/v2.7.0>`_ | ||
``` | ||
|
||
## 变更描述 | ||
|
||
**新增** | ||
|
||
- 合约生命周期管理提供revokeManager功能,可通过`v2.7.0`控制台的[revokeContractStatusManager命令](../manual/console_of_java_sdk.html#revokecontractstatusmanager)使用 | ||
- 新增委员权限投票的查询接口,可通过`v2.7.0`控制台的[queryVotesOfThreshold](../manual/console_of_java_sdk.html#queryvotesofthreshold)和[queryVotesOfMember](../manual/console_of_java_sdk.html#queryvotesofmember)使用 | ||
- 支持取消事件订阅 | ||
- 添加批量返回回执的方法[getBatchReceiptsByBlockNumberAndRange](../api.html#getbatchreceiptsbyblocknumberandrange)和[getBatchReceiptsByBlockHashAndRange](../api.html#getbatchreceiptsbyblockhashandrange) | ||
- 添加[getNodeInfo](../api.html#getnodeinfo)接口,返回节点订阅的topics信息 | ||
- Table合约增加address类型的EQ condition查询 | ||
|
||
**更改** | ||
|
||
- MySQL存储模式支持MySQL 8.0 | ||
- 重构交易和区块相关的RPC接口,返回交易和区块的所有字段内容 | ||
- 交易推送的回执中带有交易执行结果的报错信息 | ||
- P2P模块添加读写idle检查的逻辑 | ||
|
||
**修复** | ||
|
||
- 解决gcc9和clang12编译报错的问题 | ||
- Precompiled合约报错信息写入到回执中,给出更明确的报错提示 | ||
- 优化落盘加密,解决落盘加密模式下,存储空间占用大的问题 | ||
- 修复MacOS系统下CachedStorage清理缓存导致节点宕机的问题 | ||
- 修复MySQL存储模式下,CNS合约名过长导致区块提交异常的问题 | ||
|
||
**兼容性** | ||
|
||
**向前兼容**,旧版本可以直接替换程序升级 | ||
|
||
| | 推荐版本 | 最低版本 | 说明 | | ||
| ---------- | ----------------------- | --------- | ---------------------- | | ||
| 控制台 | 2.7.0 | 1.0.4 | | | ||
| Java SDK | 2.7.0 | 2.6.1 | | | ||
| Web3SDK | 2.6.0 | 2.0.4 | | | ||
| generator | 1.7.0 | 1.1.0 | 搭建新链需要使用该版本 | | ||
| 浏览器 | 2.0.2 | 2.0.0-rc2 | | | ||
| Solidity | 最高支持 solidity 0.6.10 | 0.4.11 | | | ||
| amdb-proxy | 2.3.0 | 2.0.2 | | | ||
|
||
**兼容模式回滚至v2.6.x方法** | ||
|
||
当节点采用兼容模式从v2.6.x升级至v2.7.0后,可直接通过将节点二进制替换回v2.6.x完成回滚。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# [v2.7.0](https://github.com/FISCO-BCOS/FISCO-BCOS/releases/tag/v2.7.0) | ||
|
||
```eval_rst | ||
.. admonition:: v2.6.x upgraded to v2.7.0 | ||
- **Compatible upgrade** : Directly replace the binary of v2.6.x node with `v2.7.0 binary< https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.7.0/fisco-bcos.tar.gz>`_ . The upgraded version fixes bugs in v2.6.x, and supports functions such as canceling event subscriptions, querying the topic information subscribed by nodes, and returning transaction receipts in batches, and the RPC interfaces related to node transactions and blocks return transactions and blocks The content of all fields and the receipt information returned by the node contain error information about transaction execution | ||
- **Comprehensive upgrade** :Refer to `Install <../installation.html>`_ to build a new chain and resubmit all historical transactions to the new node. After the upgrade, the node contains all the new features of v2.7.0 | ||
- `v2.7.0 Release Note <https://github.com/FISCO-BCOS/FISCO-BCOS/releases/tag/v2.7.0>`_ | ||
``` | ||
|
||
## Change description | ||
|
||
**Added** | ||
|
||
- The contract life cycle management provides the revokeManager function, which can be used through the [revokeContractStatusManager command](../manual/console_of_java_sdk.html#revokecontractstatusmanager) in the `v2.7.0` console | ||
- Added a query interface for voting by committee members, which can be accessed through [queryVotesOfThreshold](../manual/console_of_java_sdk.html#queryvotesofthreshold) and [queryVotesOfMember](../manual/console_of_java_sdk.html#queryvotesofmember) in the `v2.7.0` console use | ||
- Support cancel event subscription | ||
- Add methods to return receipts in batches [getBatchReceiptsByBlockNumberAndRange](../api.html#getbatchreceiptsbyblocknumberandrange) and [getBatchReceiptsByBlockHashAndRange](../api.html#getbatchreceiptsbyblockhashandrange) | ||
- Added [getNodeInfo](../api.html#getnodeinfo) interface to return topic information subscribed by the node | ||
- Table contract adds EQ condition query of address type | ||
|
||
**Changed** | ||
|
||
- MySQL storage mode supports MySQL 8.0 | ||
- Refactor the RPC interface related to transactions and blocks, and return all field contents of transactions and blocks | ||
- The transaction push receipt contains the error message of the transaction execution result | ||
- P2P module adds logic to read and write idle check | ||
|
||
**Fixed** | ||
|
||
- Solve the problem of compiling errors in gcc9 and clang12 | ||
- Precompiled contract error information is written into the receipt, giving a clearer error message | ||
- Optimized disk encryption to solve the problem of large storage space occupation in disk encryption mode | ||
- Fix the problem of node downtime caused by CachedStorage cleaning cache under MacOS system | ||
- Fix the problem that the CNS contract name is too long in MySQL storage mode, which causes abnormal block submission | ||
|
||
**Compatibility** | ||
|
||
The old version can directly replace the program upgrade | ||
|
||
|
||
| | Recommended version | Minimum version | Description | | ||
| ------------------ | ------------------- | --------------- | ------------------------------------------------------------ | | ||
| console | 2.7.0 | 1.0.4 | | | ||
| Java SDK | 2.7.0 | 2.6.1 | | | ||
| Web3SDK | 2.6.0 | 2.0.4 | | | ||
| generator | 1.6.0 | 1.2.0 | To use latest generator, please clone from master branch of generator repo. | | ||
| FISCO BCOS browser | 2.0.2 | 2.0.0-rc2 | | | ||
| Solidity | up to 0.6.10 | 0.4.11 | | | ||
|
||
**Compatibility mode rollback to v2.6.x method** | ||
|
||
After a node is upgraded from v2.6.x to v2.7.0 in compatibility mode, the rollback can be completed directly by replacing the node binary back to v2.6.x. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.