Skip to content

Commit c419ef0

Browse files
authored
<build>(project): version to 3.2.0. (#723)
* <build>(project): version to 3.2.0. * <doc>(changeLog): update 3.2.0 changeLog java sdk compatibility.
1 parent 8cdf25a commit c419ef0

File tree

2 files changed

+109
-1
lines changed

2 files changed

+109
-1
lines changed

Changelog.md

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,111 @@
1+
## v3.2.0
2+
(2023-01-17)
3+
4+
请阅读Java SDK v3.x+文档:
5+
6+
- [中文用户手册](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/develop/sdk/java_sdk/index.html)
7+
8+
### 新增
9+
10+
- 新增交易数据解码,用户可以通过已编码的交易十六进制数据解码出交易数据结构,详情参考 `org.fisco.bcos.sdk.v3.client.protocol.model.JsonTransactionResponse``readFromHexString``writeToHexString` 接口。
11+
- 新增交易回执数据编解码的接口,用户可以对交易回执进行编解码,详情参考 `org.fisco.bcos.sdk.v3.model.TransactionReceipt``readFromHexString``writeToHexString` 接口。
12+
- 新增交易回执哈希计算的接口,用户可以对交易回执计算正确的回执哈希,详情参考 `org.fisco.bcos.sdk.v3.model.TransactionReceipt``calculateReceiptHash` 接口。
13+
- 新增CRUD全新接口,适配FISCO BCOS 3.2.0的CRUD接口,查询的Condition实现更多匹配规则,支持主键按照数字序排序。详情参考 `org.fisco.bcos.sdk.v3.contract.precompiled.crud.TableCRUDService`
14+
- 新增订阅事件接口,详情参考 `org.fisco.bcos.sdk.v3.eventsub` 中的`subscribeEvent`接口。
15+
- 新增合约废止管理接口,详情参考 `org.fisco.bcos.sdk.v3.contract.auth.manager.AuthManager`
16+
- 新增Merkle树验证工具,用户可以根据链上返回的Merkle证明与交易哈希进行验证,详情参考 `org.fisco.bcos.sdk.v3.utils.MerkleCalculator`
17+
18+
### 更新
19+
20+
- 变更交易类与回执类中的Merkle proof数据结构与字段名,原有的字段名设置为deprecated,但仍支持解析。transactionProof => txProof,receiptProof => txReceiptProof。
21+
- 因安全与兼容原因,默认将 `com.google.code.gson` 版本指定为 `2.10``org.slf4j:slf4j-api` 版本降为 `1.7.36`
22+
- 适配 `org.fisco-bcos:bcos-sdk-jni:3.2.0`
23+
24+
### 修复
25+
26+
- 修复治理委员提案发起接口 `createSetConsensusWeightProposal` 在设置观察节点的权重时出现的错误解析问题。
27+
- 修复 `AssembleTransactionProcessor` 在发起call请求时,如果有多个函数重载返回值有概率使用错误的函数返回值类型解码的问题。
28+
29+
### 兼容性说明
30+
31+
- 不兼容 FISCO BCOS 2.0+ 版本
32+
- 兼容java-sdk v3.0+的历史版本
33+
- 支持[FISCO BCOS 3.2.0](https://github.com/FISCO-BCOS/FISCO-BCOS/releases/tag/v3.2.0)版本
34+
- 账户权限管理接口、BFS新增的list分页接口与link接口只在 FISCO BCOS 3.1.0支持使用。
35+
- 新增的CRUD接口,如条件范围遍历查询、修改、删除等接口,只在FISCO BCOS 3.2.0支持使用。
36+
37+
----
38+
39+
## v3.2.0
40+
(2023-01-17)
41+
42+
Please read the Java SDK v3.x+ documentation:
43+
44+
- [Chinese User Manual](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/develop/sdk/java_sdk/index.html)
45+
46+
### New
47+
48+
- Added transaction data decoding. Users can decode the transaction data structure through the encoded transaction hexadecimal data. For details, refer to `readFromHexString` of `org.fisco.bcos.sdk.v3.client.protocol.model.JsonTransactionResponse` , `writeToHexString` interface.
49+
- Added an interface for encoding and decoding transaction receipt data. Users can encode and decode transaction receipts. For details, refer to `readFromHexString` and `writeToHexString` interfaces of `org.fisco.bcos.sdk.v3.model.TransactionReceipt`.
50+
- Added an interface for transaction receipt hash calculation. Users can calculate the correct receipt hash for transaction receipts. For details, refer to the `calculateReceiptHash` interface of `org.fisco.bcos.sdk.v3.model.TransactionReceipt`.
51+
- Added a new CRUD interface, adapted to the CRUD interface of FISCO BCOS 3.2.0, the Condition of the query implements more matching rules, and supports primary keys to be sorted in numerical order. For details, refer to `org.fisco.bcos.sdk.v3.contract.precompiled.crud.TableCRUDService`.
52+
- Added an interface for subscribing to events. For details, refer to the `subscribeEvent` interface in `org.fisco.bcos.sdk.v3.eventsub`.
53+
- Added contract revocation management interface, for details, refer to `org.fisco.bcos.sdk.v3.contract.auth.manager.AuthManager`.
54+
- A new Merkle tree verification tool is added. Users can verify according to the Merkle certificate and transaction hash returned on the chain. For details, refer to `org.fisco.bcos.sdk.v3.utils.MerkleCalculator`.
55+
56+
### renew
57+
58+
- Change the Merkle proof data structure and field name in the transaction class and receipt class. The original field name is set to deprecated, but still supports parsing. transactionProof => txProof, receiptProof => txReceiptProof.
59+
- For security and compatibility reasons, the `com.google.code.gson` version is specified as `2.10` by default, and the `org.slf4j:slf4j-api` version is downgraded to `1.7.36`.
60+
- Adapt to `org.fisco-bcos:bcos-sdk-jni:3.2.0`
61+
62+
### fix
63+
64+
- Fixed the incorrect parsing problem when setting the weight of the observation node in the governance committee proposal initiation interface `createSetConsensusWeightProposal`.
65+
- Fix `AssembleTransactionProcessor` when initiating a call request, if there are multiple function overloaded return values, there is a probability that the wrong function return value type will be decoded.
66+
67+
### Compatibility Notes
68+
69+
- Not compatible with FISCO BCOS version 2.0+
70+
- Compatible with historical versions of java-sdk v3.0+
71+
- Support [FISCO BCOS 3.2.0](https://github.com/FISCO-BCOS/FISCO-BCOS/releases/tag/v3.2.0) version
72+
- The account authority management interface, the newly added list paging interface and link interface of BFS are only supported in FISCO BCOS 3.1.0.
73+
- Newly added CRUD interfaces, such as conditional scope traversal query, modification, deletion, etc., are only supported in FISCO BCOS 3.2.0.## v3.2.0
74+
(2023-01-17)
75+
76+
Please read the Java SDK v3.x+ documentation:
77+
78+
- [Chinese User Manual](https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/develop/sdk/java_sdk/index.html)
79+
80+
### New
81+
82+
- Added transaction data decoding. Users can decode the transaction data structure through the encoded transaction hexadecimal data. For details, refer to `readFromHexString` of `org.fisco.bcos.sdk.v3.client.protocol.model.JsonTransactionResponse` , `writeToHexString` interface.
83+
- Added an interface for encoding and decoding transaction receipt data. Users can encode and decode transaction receipts. For details, refer to `readFromHexString` and `writeToHexString` interfaces of `org.fisco.bcos.sdk.v3.model.TransactionReceipt`.
84+
- Added an interface for transaction receipt hash calculation. Users can calculate the correct receipt hash for transaction receipts. For details, refer to the `calculateReceiptHash` interface of `org.fisco.bcos.sdk.v3.model.TransactionReceipt`.
85+
- Added a new CRUD interface, adapted to the CRUD interface of FISCO BCOS 3.2.0, the Condition of the query implements more matching rules, and supports primary keys to be sorted in numerical order. For details, refer to `org.fisco.bcos.sdk.v3.contract.precompiled.crud.TableCRUDService`.
86+
- Added an interface for subscribing to events. For details, refer to the `subscribeEvent` interface in `org.fisco.bcos.sdk.v3.eventsub`.
87+
- Added contract revocation management interface, for details, refer to `org.fisco.bcos.sdk.v3.contract.auth.manager.AuthManager`.
88+
- A new Merkle tree verification tool is added. Users can verify according to the Merkle certificate and transaction hash returned on the chain. For details, refer to `org.fisco.bcos.sdk.v3.utils.MerkleCalculator`.
89+
90+
### renew
91+
92+
- Change the Merkle proof data structure and field name in the transaction class and receipt class. The original field name is set to deprecated, but still supports parsing. transactionProof => txProof, receiptProof => txReceiptProof.
93+
- For security and compatibility reasons, the `com.google.code.gson` version is specified as `2.10` by default, and the `org.slf4j:slf4j-api` version is downgraded to `1.7.36`.
94+
- Adapt to `org.fisco-bcos:bcos-sdk-jni:3.2.0`
95+
96+
### fix
97+
98+
- Fixed the incorrect parsing problem when setting the weight of the observation node in the governance committee proposal initiation interface `createSetConsensusWeightProposal`.
99+
- Fix `AssembleTransactionProcessor` when initiating a call request, if there are multiple function overloaded return values, there is a probability that the wrong function return value type will be decoded.
100+
101+
### Compatibility Notes
102+
103+
- Not compatible with FISCO BCOS version 2.0+
104+
- Compatible with historical versions of java-sdk v3.0+
105+
- Support [FISCO BCOS 3.2.0](https://github.com/FISCO-BCOS/FISCO-BCOS/releases/tag/v3.2.0) version
106+
- The account authority management interface, the newly added list paging interface and link interface of BFS are only supported in FISCO BCOS 3.1.0.
107+
- Newly added CRUD interfaces, such as conditional scope traversal query, modification, deletion, etc., are only supported in FISCO BCOS 3.2.0.
108+
1109
## v3.1.2
2110
(2023-01-04)
3111

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ext {
3535
// integrationTest.mustRunAfter test
3636
allprojects {
3737
group = 'org.fisco-bcos.java-sdk'
38-
version = '3.2.0-SNAPSHOT'
38+
version = '3.2.0'
3939

4040
apply plugin: 'maven-publish'
4141
apply plugin: 'idea'

0 commit comments

Comments
 (0)