You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[cef231c](https://github.com/hyperledger/fabric-chaincode-java/commit/cef231c)[FABCJ-293](https://jira.hyperledger.org/browse/FABCJ-293) Remove gradle from image
11
+
*[d2643ef](https://github.com/hyperledger/fabric-chaincode-java/commit/d2643ef) Minor Performance Improvements
12
+
*[703558c](https://github.com/hyperledger/fabric-chaincode-java/commit/703558c)[FABCJ-291](https://jira.hyperledger.org/browse/FABCJ-291) Startkey needs additional checks For the open ended query, the start and empty keys are empty from the chaincode. However, in the shim, if the start key is an empty key, it is replaced with 0x01 which is nothing but a namespace for the non-composite key.
13
+
*[f35ae08](https://github.com/hyperledger/fabric-chaincode-java/commit/f35ae08) Fix tagging of fabric-javaenv image
14
+
*[cb31d36](https://github.com/hyperledger/fabric-chaincode-java/commit/cb31d36) Bump version to 2.2.1
*[0948234](https://github.com/hyperledger/fabric-chaincode-java/commit/0948234)[FABCJ-288](https://jira.hyperledger.org/browse/FABCJ-288) fix: simple key end of range
*[f0f958e](https://github.com/hyperledger/fabric-chaincode-java/commit/f0f958e)[FABCJ-284](https://jira.hyperledger.org/browse/FABCJ-284) Broken docs link
27
+
*[b89c464](https://github.com/hyperledger/fabric-chaincode-java/commit/b89c464)[FABCJ-285](https://jira.hyperledger.org/browse/FABCJ-285) Remove incorrect log point
28
+
*[93ff6bb](https://github.com/hyperledger/fabric-chaincode-java/commit/93ff6bb)[FABCJ-283](https://jira.hyperledger.org/browse/FABCJ-283) Bump version number to 2.1.1
29
+
30
+
## v2.1.0
31
+
Thu 9 Apr 2020 14:13:36 BST
32
+
33
+
*[72e6f78](https://github.com/hyperledger/fabric-chaincode-java/commit/72e6f78)[FABCJ-283](https://jira.hyperledger.org/browse/FABCJ-283) Update docker image version
*[8cb6a25](https://github.com/hyperledger/fabric-chaincode-java/commit/8cb6a25)[FAB-16136](https://jira.hyperledger.org/browse/FAB-16136) Do not run tests in chaincode container
40
+
*[3710641](https://github.com/hyperledger/fabric-chaincode-java/commit/3710641)[FABCJ-280](https://jira.hyperledger.org/browse/FABCJ-280) Copy chaincode into temporary directory before building
Copy file name to clipboardExpand all lines: COMPATIBILITY.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,20 +5,20 @@ Github is used for code base management, issues should reported in the [FABCJ](h
5
5
6
6
## Summary of Compatibility
7
7
8
-
This table shows the summary of the compatibility of the Java libraries at versions 1.4 and 2.0, together with the JVM version they require and the Fabric Peer versions they can communicate with.
8
+
This table shows the summary of the compatibility of the Java libraries at versions 1.4 and 2.1, together with the JVM version they require and the Fabric Peer versions they can communicate with.
9
9
10
-
|| Fabric Peer v1.4 connectivity | Java 8 VM | Fabric Peer v2.0 Connectivity | Java 11 VM |
10
+
|| Fabric Peer v1.4 connectivity | Java 8 VM | Fabric Peer v2.1 Connectivity | Java 11 VM |
By default a Fabric Peer v1.4 will create a Java 8 VM, and a Fabric Peer v2.0 will create a Java 11 VM. Whilst is the default, the docker image used to host the chaincode and contracts can be altered. Set the environment variable `CORE_CHAINCODE_JAVA_RUNTIME` on the peer to the name of the docker image. For example `CORE_CHAINCODE_JAVA_RUNTIME=example/customJavaRuntime:latest`
19
+
By default a Fabric Peer v1.4 will create a Java 8 VM, and a Fabric Peer v2.x will create a Java 11 VM. Whilst is the default, the docker image used to host the chaincode and contracts can be altered. Set the environment variable `CORE_CHAINCODE_JAVA_RUNTIME` on the peer to the name of the docker image. For example `CORE_CHAINCODE_JAVA_RUNTIME=example/customJavaRuntime:latest`
20
20
21
-
The Java Libraries will connect to the peer whilst running; this is referred to as 'Fabric Peer Connectivity' in the table. For example, whilst the Fabric Peer v1.4 will create a Java 8 environment, if a Java 11 environment was configured, the Java Libraries at v2.0.0 still function when connecting to the Fabric Peer v1.4.
21
+
The Java Libraries will connect to the peer whilst running; this is referred to as 'Fabric Peer Connectivity' in the table. For example, whilst the Fabric Peer v1.4 will create a Java 8 environment, if a Java 11 environment was configured, the Java Libraries at v2.1.0 still function when connecting to the Fabric Peer v1.4.
22
22
23
23
## Compatibility
24
24
@@ -28,26 +28,26 @@ The key elements are :
28
28
- the version of the JVM used to run the code
29
29
- When starting a chaincode container to run a Smart Contract the version of the runtime that is used is determined by these factors:
30
30
31
-
Fabric v1.4.2, and Fabric v2.0.0 will, by default, start up docker image to host the chaincode and contracts. The version of the docker image used is defined by the version of Fabric in use.
31
+
Fabric v1.4.2, and Fabric v2.1.0 will, by default, start up docker image to host the chaincode and contracts. The version of the docker image used is defined by the version of Fabric in use.
32
32
33
-
With Fabric v2.0.0, the chaincode container can be configured to be started by other means, and not the Peer. In this case, the environment used is not in the control of Fabric.
33
+
With Fabric v2.1.0, the chaincode container can be configured to be started by other means, and not the Peer. In this case, the environment used is not in the control of Fabric.
34
34
35
35
The Java libraries are produced are `group: 'org.hyperledger.fabric-chaincode-java', name: 'fabric-chaincode-shim'`
36
36
37
37
### Supported JVMs
38
38
39
-
v1.4.x and v2.0.0 Java Libraries are supported running in Java 11 with the x86_64 architecture. Later Java 11 versions are supported but are not tested.
39
+
v1.4.x and v2.1.0 Java Libraries are supported running in Java 11 with the x86_64 architecture. Later Java 11 versions are supported but are not tested.
40
40
41
41
v1.4.x Java Libraries are supported running in Java 8 with the x86_64 architecture. Later Java 8 versions are supported but are not tested.
42
42
43
43
Architecture Support: all docker images, JVMs, tools are tested under x86_64 ONLY
44
44
45
45
### Default Peer Runtime selection
46
46
47
-
When using Fabric 2.0.0, the default docker image that is used to run the Java chaincode is *openjdk11:jdk-11.04_11-alpine*
47
+
When using Fabric 2.1.0, the default docker image that is used to run the Java chaincode is *openjdk11:jdk-11.04_11-alpine*
48
48
49
49
With the default docker image used by Fabric 2.1.0. should the packaged Java code contain a Maven or Gradle build script, it will be built using Gradle 5.6.2, or Maven 3.6.2 (if both Gradle and Maven files are present Gradle is used. Gradle build files can be groovy, or kotlin. If the Gradle wrapper is present, this will used in preference to the installed version of Gradle; note that the version of Gradle in the docker image is a copy of the Gradle Wrapper, not the full Gradle install. Therefore if there is limited Internet acccess in your production environment, do not use Gradle). Alternatively it is recommended to package prebuilt jar files, including the contract and all dependencies, in which case no build or Internet access is required when installing Java chaincode.
50
50
51
51
### Supported Runtime communication with the Peer
52
52
53
-
Subject to a suitable runtime environment, the 1.4.4 and 2.0.0 Java Libraries can used to communicate with a Fabric 2.0.0 or 1.4.4 Peer - with the level of functionality that is implied by the Fabric version in use.
53
+
Subject to a suitable runtime environment, the 1.4.4 and 2.1.0 Java Libraries can used to communicate with a Fabric 2.1.0 or 1.4.4 Peer - with the level of functionality that is implied by the Fabric version in use.
0 commit comments