forked from FISCO-BCOS/FISCO-BCOS-DOC
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca7a472
commit afb9597
Showing
15 changed files
with
219 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v3.1.1 | ||
v3.2.0 |
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,64 @@ | ||
# v3.1.2 | ||
|
||
#### 新增 | ||
|
||
* 交易结构新增extraData字段,以方便业务对交易进行标识,该字段不纳入交易hash的计算 | ||
|
||
#### 兼容性 | ||
|
||
* 历史版本升级 | ||
|
||
需要升级的链的“数据兼容版本号([compatibility_version](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/change_log/3_1_2.html#id5))”为如下版本时: | ||
|
||
* 3.1.0:本版本的数据兼容版本号依然为3.1.0,直接替换二进制即可完成升级 | ||
* 3.0.x:支持通过替换二进制进行灰度升级,若需使用当前版本的新特性,需升级数据兼容版本号,操作见[文档](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/change_log/3_1_1.html#id5) | ||
* 3.0-rc x:数据不兼容,无法升级,可考虑逐步将业务迁移至3.x正式版 | ||
* 2.x:数据不兼容,2.x版本仍持续维护,可考虑升级为2.x的最新版本 | ||
|
||
* 组件兼容性 | ||
|
||
| | 推荐版本 | 最低版本 | 说明 | | ||
| ---------- | --------- | ------------------------ | ---------------------------------- | | ||
| Console | 3.1.0 | 3.0.0 | | | ||
| Java SDK | 3.1.2 | 3.0.0 | | | ||
| CPP SDK | 3.1.0 | 3.0.0 | | | ||
| Solidity | 0.8.11 | 最低 0.4.25,最高 0.8.11 | 需根据合约版本下载编译器(控制台) | | ||
| WBC-Liquid | 1.0.0-rc3 | 1.0.0-rc3 | | | ||
|
||
#### 升级方法 | ||
|
||
该操作仅支持将3.x版本升级为本版本,不支持3.0-rc或2.x的升级。 | ||
|
||
##### 查询数据兼容版本号(compatibility_version) | ||
|
||
用[控制台](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/develop/console/console_commands.html#getsystemconfigbykey)进行查询,如当前返回的版本为3.0.1 | ||
|
||
``` | ||
[group0]: /apps> getSystemConfigByKey compatibility_version | ||
3.0.1 | ||
``` | ||
|
||
##### 替换节点二进制 | ||
|
||
需将**所有节点**的二进制逐步替换为当前版本。为了不影响业务,替换过程能够以灰度方式进行,逐个替换并重启节点。替换过程中,当前的链仍然会以旧的数据兼容版本号的逻辑继续执行。当所有节点二进制替换完成并重启后,需用控制台修改数据兼容版本号为当前版本。 | ||
|
||
##### 设置数据兼容版本号(compatibility_version) | ||
|
||
用[控制台](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/develop/console/console_commands.html#setsystemconfigbykey)设置数据兼容版本号,如当前版本为3.1.0 | ||
|
||
``` | ||
[group0]: /apps> setSystemConfigByKey compatibility_version 3.1.0 | ||
{ | ||
"code":0, | ||
"msg":"success" | ||
} | ||
``` | ||
|
||
设置成功,再次查询,得到当前版本已升级为3.1.0 | ||
|
||
``` | ||
[group0]: /apps> getSystemConfigByKey compatibility_version | ||
3.1.0 | ||
``` | ||
|
||
当前链已经完成升级,至此,**链开始以新的逻辑继续运行**,并支持了新的特性。 |
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,82 @@ | ||
# v3.2.0 | ||
|
||
#### 新增 | ||
|
||
* CRUD 新增更多接口 | ||
* 网关内白名单 | ||
* 适配硬件加密机 | ||
* 适配麒麟操作系统 | ||
* 新增EVM的analysis缓存,降低大合约的执行开销 | ||
* 出块时间可配置上限 | ||
* 数据归档工具 | ||
* tikv 读写工具 | ||
* max支持手动部署 | ||
|
||
#### 更改 | ||
|
||
* 配置文件中重要字段去除默认值,必须在配置文件中进行配置 | ||
* INFO 日志优化日志大小 | ||
|
||
#### 修复 | ||
|
||
* 超过3级跳转的消息路由问题 | ||
* rpc sendTransaction接口的交易哈希校验问题 | ||
|
||
#### 兼容性 | ||
|
||
* 历史版本升级 | ||
|
||
需要升级的链的“数据兼容版本号([compatibility_version](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/change_log/3_1_2.html#id5))”为如下版本时: | ||
|
||
* 3.2.0:数据完全兼容当前版本,直接替换二进制即可完成升级 | ||
* 3.1.x/3.0.x:支持通过替换二进制进行灰度升级,若需使用当前版本的新特性,需升级数据兼容版本号,操作见[文档](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/change_log/3_2_0.html#id5) | ||
* 3.0-rc x:数据不兼容,无法升级,可考虑逐步将业务迁移至3.x正式版 | ||
* 2.x:数据不兼容,2.x版本仍持续维护,可考虑升级为2.x的最新版本 | ||
|
||
* 组件兼容性 | ||
|
||
| | 推荐版本 | 最低版本 | 说明 | | ||
| ---------- | --------- | ------------------------ | ---------------------------------- | | ||
| Console | 3.2.0 | 3.0.0 | | | ||
| Java SDK | 3.2.0 | 3.0.0 | | | ||
| CPP SDK | 3.2.0 | 3.0.0 | | | ||
| Solidity | 0.8.11 | 最低 0.4.25,最高 0.8.11 | 需根据合约版本下载编译器(控制台) | | ||
| WBC-Liquid | 1.0.0-rc3 | 1.0.0-rc3 | | | ||
|
||
#### 升级方法 | ||
|
||
该操作仅支持将3.x版本升级为本版本,不支持3.0-rc或2.x的升级。 | ||
|
||
##### 查询数据兼容版本号(compatibility_version) | ||
|
||
用[控制台](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/develop/console/console_commands.html#getsystemconfigbykey)进行查询,如当前返回的版本为3.0.1 | ||
|
||
``` | ||
[group0]: /apps> getSystemConfigByKey compatibility_version | ||
3.0.1 | ||
``` | ||
|
||
##### 替换节点二进制 | ||
|
||
需将**所有节点**的二进制逐步替换为当前版本。为了不影响业务,替换过程能够以灰度方式进行,逐个替换并重启节点。替换过程中,当前的链仍然会以旧的数据兼容版本号的逻辑继续执行。当所有节点二进制替换完成并重启后,需用控制台修改数据兼容版本号为当前版本。 | ||
|
||
##### 设置数据兼容版本号(compatibility_version) | ||
|
||
用[控制台](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/develop/console/console_commands.html#setsystemconfigbykey)设置数据兼容版本号,如当前版本为3.1.0 | ||
|
||
``` | ||
[group0]: /apps> setSystemConfigByKey compatibility_version 3.1.0 | ||
{ | ||
"code":0, | ||
"msg":"success" | ||
} | ||
``` | ||
|
||
设置成功,再次查询,得到当前版本已升级为3.1.0 | ||
|
||
``` | ||
[group0]: /apps> getSystemConfigByKey compatibility_version | ||
3.1.0 | ||
``` | ||
|
||
当前链已经完成升级,至此,**链开始以新的逻辑继续运行**,并支持了新的特性。 |
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.