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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,12 @@
1
+
## 2.4.0
2
+
Fri Nov 26 08:07:34 GMT 2021
3
+
4
+
Release 2.4.0
5
+
1
6
## v2.4.0-beta
2
7
Wed 18 Aug 2021 12:11:16 BST
3
8
4
9
*[d98e77b](https://github.com/hyperledger/fabric-chaincode-node/commit/d98e77b) updated documentation for getStateByPartialCompositeKey, getStateByPartialCompositeKeyWithPagination and getPrivateDataByPartialCompositeKey
5
-
*[c982390](https://github.com/hyperledger/fabric-chaincode-node/commit/c982390) Disable server tests
Copy file name to clipboardExpand all lines: COMPATIBILITY.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,13 @@ Github is used for code base management, issues should reported in the [FABCN](h
7
7
8
8
This table shows the summary of the compatibility of the Node modules at versions 1.4 and 2.x, together with the Nodejs runtime they require and the Fabric Peer versions they can communicate with.
By default a Fabric Peer v1.4 will create a Nodejs v8 runtime, and a Fabric Peer v2.x will create a Nodejs 12 runtime. Whilst this is the default, the docker image used to host the chaincode and contracts can be altered. Set the environment variable `CORE_CHAINCODE_NODE_RUNTIME` on the peer to the name of the docker image.
16
+
By default a Fabric Peer v1.4 will create a Nodejs v8 runtime, and a Fabric Peer v2.2/2.3 will create a Nodejs 12 runtime. The Fabric v2.4 will create a Nodejs 16 runtime. Whilst these are defaults, the docker image used to host the chaincode and contracts can be altered. Set the environment variable `CORE_CHAINCODE_NODE_RUNTIME` on the peer to the name of the docker image.
16
17
17
18
For example `CORE_CHAINCODE_NODE_RUNTIME=hyperledger/fabric-nodeenv:2.1` will allow the use of the latest Node 12 runtime to be used within a Peer v1.4.
18
19
@@ -22,7 +23,7 @@ Note that the `fabric-contract-api` & `fabric-shim` node modules must be at v1.4
22
23
23
24
## Compatibility
24
25
25
-
The key elements are :
26
+
The key elements are :
26
27
27
28
- the version of the Fabric Contract Node modules used
28
29
- the version of the Nodejs runtime used to run the code
@@ -36,15 +37,17 @@ Node modules that are produced are `fabric-contract-api`, `fabric-shim`, `fabric
36
37
37
38
### Supported Runtimes
38
39
39
-
v2.x Node modules are supported running in Nodejs 12.16.1, with the x86_64 architecture.
40
+
v2.4 Node modules are supported running in Nodejs 16.4.0, with the x86_64 architecture.
41
+
42
+
v2.2/2.3 Node modules are supported running in Nodejs 12.16.1, with the x86_64 architecture.
40
43
41
44
v1.4.x Node modules are supported running Nodejs 8.16.1 with the x86_64 architecture.
42
45
43
46
Architecture Support: all docker images, runtimes, tools are tested under x86_64 ONLY
44
47
45
48
### Default Peer Runtime selection
46
49
47
-
When using Fabric 2.x, the default docker image that is used to run the Node chaincode is node:12.16.1-alpine
50
+
When using Fabric 2.2/2.3x the default docker image that is used to run the Node chaincode is node:12.16.1-alpine. With Fabric 2.4 the default docker image is node:16.4.0-alpine
48
51
49
52
*Note:* With the default docker image used by Fabric 2.x, the packaged code will be installed with npm. If a `package-lock.json` or a `npm-shrinkwrap.json` file is present, `npm ci --only=production` will be used. Otherwise `npm install --production` will be used.
Copy file name to clipboardExpand all lines: apis/fabric-contract-api/package.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"name": "fabric-contract-api",
3
-
"version": "2.4.0-beta",
4
-
"tag": "beta",
3
+
"version": "2.4.0",
4
+
"tag": "release",
5
5
"description": "A node.js implementation of Hyperledger Fabric chaincode shim, to allow endorsing peers and user-provided chaincodes to communicate with each other",
Copy file name to clipboardExpand all lines: apis/fabric-shim-api/package.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"name": "fabric-shim-api",
3
-
"version": "2.4.0-beta",
4
-
"tag": "beta",
3
+
"version": "2.4.0",
4
+
"tag": "release",
5
5
"description": "A node.js API of Hyperledger Fabric chaincode shim, to allow endorsing peers and user-provided chaincodes to communicate with each other",
Copy file name to clipboardExpand all lines: libraries/fabric-shim/package.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"name": "fabric-shim",
3
-
"version": "2.4.0-beta",
4
-
"tag": "beta",
3
+
"version": "2.4.0",
4
+
"tag": "release",
5
5
"description": "A node.js implementation of Hyperledger Fabric chaincode shim, to allow endorsing peers and user-provided chaincodes to communicate with each other",
0 commit comments