From a813205f2d464ea1e82f83ad38727a22606afc4a Mon Sep 17 00:00:00 2001 From: kyonRay Date: Fri, 8 Mar 2024 16:48:37 +0800 Subject: [PATCH] (project): update 2.10.0 changelog. --- Changelog.md | 15 +++++++++++++++ build.gradle | 4 ++-- release_note.txt | 2 +- src/main/java/console/common/ConsoleVersion.java | 2 +- tools/download_console.sh | 2 +- 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/Changelog.md b/Changelog.md index f84f62d5..ebd75258 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,18 @@ +### v2.10.0 + +(2024-03-08) + +更新: + +- 合约生成Java文件的功能使用org.fisco-bcos.code-generator:bcos-code-generator中的方法,弃用 `org.fisco-bcos.java-sdk:fisco-bcos-java-sdk` 的 `sdk-codegen` 模块。 +- 升级Java SDK版本为2.10.0。 + +修复: + +- 修复在使用Solidity复杂数据结构、复杂事件场景时,生成的Java文件出现编译、运行错误的问题。 +- 修复 `get_account.sh` 脚本在openssl v3.0 版本下检查失败的问题。 +- 修复在读取密钥时可能存在的安全问题。 + ### v2.9.2 (2022-10-31) diff --git a/build.gradle b/build.gradle index c91ad08e..4f0cca96 100644 --- a/build.gradle +++ b/build.gradle @@ -41,9 +41,9 @@ dependencies { //compile 'org.fisco-bcos:solcJ:0.6.10.2' //compile 'org.fisco-bcos:solcJ:0.5.2.2' - compile ('org.fisco-bcos.java-sdk:fisco-bcos-java-sdk:2.10.0-SNAPSHOT') + compile ('org.fisco-bcos.java-sdk:fisco-bcos-java-sdk:2.10.0') compile ("com.fasterxml.jackson.core:jackson-databind:2.15.2") - compile('org.fisco-bcos.code-generator:bcos-code-generator:1.4.0-SNAPSHOT') { + compile('org.fisco-bcos.code-generator:bcos-code-generator:1.4.0') { exclude group: "org.fisco-bcos.java-sdk" exclude group: "org.slf4j" } diff --git a/release_note.txt b/release_note.txt index d4a02a52..80de12c5 100644 --- a/release_note.txt +++ b/release_note.txt @@ -1 +1 @@ -v2.9.2 +v2.10.0 diff --git a/src/main/java/console/common/ConsoleVersion.java b/src/main/java/console/common/ConsoleVersion.java index cd337952..23aea36b 100644 --- a/src/main/java/console/common/ConsoleVersion.java +++ b/src/main/java/console/common/ConsoleVersion.java @@ -2,7 +2,7 @@ public class ConsoleVersion { - public static final String Version = "2.9.3"; + public static final String Version = "2.10.0"; public static void main(String[] args) { System.out.println("console version: " + Version); diff --git a/tools/download_console.sh b/tools/download_console.sh index f9857e04..701003c6 100755 --- a/tools/download_console.sh +++ b/tools/download_console.sh @@ -1,6 +1,6 @@ #!/bin/bash package_name="console.tar.gz" -default_version="2.9.2" +default_version="2.10.0" download_version="${default_version}" specify_console=0 solc_suffix=""