Releases: hyperledger/fabric-chaincode-java
v2.5.5
What's Changed
- Use Java 21 runtime in
hyperledger/fabric-javaenv
Docker image by @bestbeforetoday in #364
Migration considerations
The hyperledger/fabric-javaenv
Docker image version 2.5.5 (and later) now uses a Java 21 runtime. Java smart contracts deployed to containers based on that image (which is the case with the Fabric v2.5 and v3.0 default chaincode builder) must now use Gradle wrappers at version 8.5 or later, since that version of Gradle added support for execution using Java 21.
The fabric-chaincode-shim
library is now compiled with Java 11 as the bytecode target. While Java 11 has been documented as the minimum supported Java level since v2.1, Java 8 continued to be used as the compile target until v2.5.4, meaning that chaincode compiled for Java 8 continued to work. Chaincode must now be compiled for Java 11 (or later) for compatibility with fabric-chaincode-shim
.
Full Changelog: v2.5.4...v2.5.5
v2.5.4
What's Changed
- Update dependencies to address CVE-2024-7254 by @bestbeforetoday in #353
Full Changelog: v2.5.3...v2.5.4
v2.5.3
What's Changed
- Restore Java 8 compatibility by @bestbeforetoday in #349
Full Changelog: v2.5.2...v2.5.3
v2.5.2
What's Changed
- Upgrade Gradle version by @bestbeforetoday in #330
- Address Joda-Time CVE-2024-23080. by @benjsmi in #336
- Update dependencies to address CVE-2024-30171 by @benjsmi in #339
- Update Docker base image version by @bestbeforetoday in #343
Full Changelog: v2.5.1...v2.5.2
v2.5.1
What's Changed
- Update dependencies to address CVE-2020-15522, CVE-2023-32732, CVE-2022-3171, CVE-2022-3509, CVE-2022-3510, CVE-2022-45688 by @bestbeforetoday in #310
- Update dependencies to address CVE-2022-25647, CVE-2023-2976, CVE-2020-8908 by @bestbeforetoday in #314
- Upgrade logback to latest v1.3.x. org.json to latest build. by @benjsmi in #315
- Move to org.json:json 20231013. by @benjsmi in #316
- Move to Gradle v7.6.3 for all wrappers. by @benjsmi in #317
- Update dependencies to address CVE-2023-3635 by @bestbeforetoday in #319
- Address CVE-2023-6481 by moving to logback v1.3.14. by @benjsmi in #322
- Update Docker image Java, Gradle and Maven versions by @bestbeforetoday in #323
New Contributors
Full Changelog: v2.5.0...v2.5.1
v2.5.0 Java Chaincode
This is the LTS Release of the v2.5 Fabric Chaincode Java. It replaces the previous v2.2 LTS.
- the default JavaEnv docker image has been moved to use the Eclipse Temurin Java 11 JDK
- the PurgePrivateData feature is exposed via a new PurgePrivateData API
v2.4.1 Java Chaincode
This release has improved support for Chaincode-as-a-service and no longer requires the custom bootstrap code.
v2.4.0 Java Chaincode
v2.4.0 Java Chaincode to support the upcoming Fabric v2.4 release
v2.4.0-beta Fabric Chaincode Java
The first release of the v2.4 beta.
v2.2.3 Java Chaincode
This is a maintenance release for the 2.2 LTS Branch of Java Chaincode
It includes fixes for Mutual TLS when working with Chaincode-as-a-Server