Skip to content

Commit

Permalink
[FABCN-416] Release v2.1.3 (#171)
Browse files Browse the repository at this point in the history
For resolving grpc version dependency

Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
  • Loading branch information
mbwhite authored Jun 19, 2020
1 parent 6600669 commit e3595af
Show file tree
Hide file tree
Showing 20 changed files with 61 additions and 37 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## v2.1.3
Fri 19 Jun 15:26:50 BST 2020

* [cb4afae](https://github.com/hyperledger/fabric-chaincode-node/commit/cb4afae) [FABCN-410](https://jira.hyperledger.org/browse/FABCN-410) Use new lifecycle for fv/e2e tests (#160)
* [e02abf4](https://github.com/hyperledger/fabric-chaincode-node/commit/e02abf4) [FABCN-407](https://jira.hyperledger.org/browse/FABCN-407) Update protos (#154) (#157)
* [f4643f4](https://github.com/hyperledger/fabric-chaincode-node/commit/f4643f4) [FABCN-405](https://jira.hyperledger.org/browse/FABCN-405) Fix tutorial reference (#150) (#152)
* [c1979e3](https://github.com/hyperledger/fabric-chaincode-node/commit/c1979e3) Bump version to 2.1.3 (#149)

## v2.1.2
Mon 18 May 2020 17:06:23 BST

Expand Down
4 changes: 2 additions & 2 deletions apis/fabric-contract-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fabric-contract-api",
"version": "2.1.3-unstable",
"version": "2.1.3",
"tag": "unstable",
"description": "A node.js implementation of Hyperledger Fabric chaincode shim, to allow endorsing peers and user-provided chaincodes to communicate with each other",
"main": "index.js",
Expand Down Expand Up @@ -46,7 +46,7 @@
"lines": 100
},
"dependencies": {
"fabric-shim-api": "2.1.3-unstable",
"fabric-shim-api": "2.1.3",
"class-transformer": "^0.2.2",
"fast-safe-stringify": "~2.0.7",
"get-params": "^0.1.2",
Expand Down
2 changes: 1 addition & 1 deletion apis/fabric-shim-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fabric-shim-api",
"version": "2.1.3-unstable",
"version": "2.1.3",
"tag": "unstable",
"description": "A node.js API of Hyperledger Fabric chaincode shim, to allow endorsing peers and user-provided chaincodes to communicate with each other",
"main": "index.js",
Expand Down
4 changes: 2 additions & 2 deletions docs/_jsdoc/tutorials/using-chaincodeinterface.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cd mycc
// create a new node project
npm init
// install fabric-shim at master branch
npm install 2.1.3-unstable
npm install fabric-shim@2.1.3-unstable
// or using the released version
npm install fabric-shim
touch mychaincode.js
Expand Down Expand Up @@ -68,7 +68,7 @@ Finally, update the "start" script in package.json to "node mychaincode.js":
"engineStrict": true,
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.1.3-unstable"
"fabric-shim": "2.1.3"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion libraries/fabric-shim-crypto/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fabric-shim-crypto",
"version": "2.1.3-unstable",
"version": "2.1.3",
"tag": "unstable",
"description": "A node.js implementation of encryption library for Hyperledger Fabric chaincode shim",
"main": "index.js",
Expand Down
6 changes: 3 additions & 3 deletions libraries/fabric-shim/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fabric-shim",
"version": "2.1.3-unstable",
"version": "2.1.3",
"tag": "unstable",
"description": "A node.js implementation of Hyperledger Fabric chaincode shim, to allow endorsing peers and user-provided chaincodes to communicate with each other",
"main": "index.js",
Expand Down Expand Up @@ -59,8 +59,8 @@
"@grpc/proto-loader": "^0.5.4",
"@types/node": "^8.9.4",
"ajv": "^6.5.5",
"fabric-contract-api": "2.1.3-unstable",
"fabric-shim-api": "2.1.3-unstable",
"fabric-contract-api": "2.1.3",
"fabric-shim-api": "2.1.3",
"fs-extra": "8.1.0",
"reflect-metadata": "^0.1.12",
"winston": "^3.2.1",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fabric-chaincode-node",
"version": "2.1.3-unstable",
"version": "2.1.3",
"tag": "unstable",
"description": "fabric-chaincode-node monorepo, built with rush",
"testFabricVersion": "master",
Expand Down
16 changes: 16 additions & 0 deletions release_notes/v2.1.3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
v2.1.3
------

Release Notes
-------------

Locks the version of the @grpc/grpc-js library to 1.0.3
The updated grpc lirbary of 1.1.0 prevents the chaincode from contacting the peer.

The release-2.0 branch has been renamed to release-2.x; the v2.1.0 release supercedes v2.0.0.
The release-1.4 branch is currently LTS, please see the proposed Fabric LTS strategy for more information:
https://github.com/hyperledger/fabric-rfcs/pull/23

Change Log
----------
https://github.com/hyperledger/fabric-chaincode-node/blob/release-2.x/CHANGELOG.md#v2.1.3
4 changes: 2 additions & 2 deletions test/chaincodes/annotations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"author": "",
"license": "APACHE-2.0",
"dependencies": {
"fabric-shim": "2.1.3-unstable",
"fabric-contract-api": "2.1.3-unstable",
"fabric-shim": "2.1.3",
"fabric-contract-api": "2.1.3",
"@types/node": "^10.3.6",
"ts-node": "^3.3.0",
"tslint": "^5.6.0",
Expand Down
4 changes: 2 additions & 2 deletions test/chaincodes/clientidentity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.1.3-unstable",
"fabric-contract-api": "2.1.3-unstable"
"fabric-shim": "2.1.3",
"fabric-contract-api": "2.1.3"
}
}
4 changes: 2 additions & 2 deletions test/chaincodes/crosschaincode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.1.3-unstable",
"fabric-contract-api": "2.1.3-unstable"
"fabric-shim": "2.1.3",
"fabric-contract-api": "2.1.3"
}
}
4 changes: 2 additions & 2 deletions test/chaincodes/crosschaincode2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.1.3-unstable",
"fabric-contract-api": "2.1.3-unstable"
"fabric-shim": "2.1.3",
"fabric-contract-api": "2.1.3"
}
}
4 changes: 2 additions & 2 deletions test/chaincodes/crud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.1.3-unstable",
"fabric-contract-api": "2.1.3-unstable"
"fabric-shim": "2.1.3",
"fabric-contract-api": "2.1.3"
}
}
6 changes: 3 additions & 3 deletions test/chaincodes/encryption/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.1.3-unstable",
"fabric-contract-api": "2.1.3-unstable",
"fabric-shim-crypto": "2.1.3-unstable"
"fabric-shim": "2.1.3",
"fabric-contract-api": "2.1.3",
"fabric-shim-crypto": "2.1.3"
}
}
4 changes: 2 additions & 2 deletions test/chaincodes/events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.1.3-unstable",
"fabric-contract-api": "2.1.3-unstable"
"fabric-shim": "2.1.3",
"fabric-contract-api": "2.1.3"
}
}
4 changes: 2 additions & 2 deletions test/chaincodes/query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.1.3-unstable",
"fabric-contract-api": "2.1.3-unstable"
"fabric-shim": "2.1.3",
"fabric-contract-api": "2.1.3"
}
}
4 changes: 2 additions & 2 deletions test/chaincodes/scenario/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.1.3-unstable",
"fabric-contract-api": "2.1.3-unstable"
"fabric-shim": "2.1.3",
"fabric-contract-api": "2.1.3"
}
}
4 changes: 2 additions & 2 deletions test/chaincodes/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.1.3-unstable",
"fabric-contract-api": "2.1.3-unstable"
"fabric-shim": "2.1.3",
"fabric-contract-api": "2.1.3"
}
}
10 changes: 5 additions & 5 deletions test/fv/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fvtests",
"version": "2.1.3-unstable",
"version": "2.1.3",
"description": "fv tests",
"testFabricVersion": "master",
"testFabricThirdParty": "0.4.15",
Expand All @@ -26,10 +26,10 @@
"del": "^3.0.0",
"delay": "4.3.0",
"eslint": "6.6.0",
"fabric-contract-api": "2.1.3-unstable",
"fabric-shim": "2.1.3-unstable",
"fabric-shim-api": "2.1.3-unstable",
"fabric-shim-crypto": "2.1.3-unstable",
"fabric-contract-api": "2.1.3",
"fabric-shim": "2.1.3",
"fabric-shim-api": "2.1.3",
"fabric-shim-crypto": "2.1.3",
"fs-extra": "8.1.0",
"git-rev-sync": "1.12.0",
"gulp": "^4.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ services:
# # bridge network as the peers
# # https://docs.docker.com/compose/networking/
- CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=node_default
- CORE_CHAINCODE_NODE_RUNTIME=hyperledger/fabric-nodeenv:2.1.3-unstable
- CORE_CHAINCODE_NODE_RUNTIME=hyperledger/fabric-nodeenv:2.1.3
# Allow more time for chaincode container to build on install.
- CORE_CHAINCODE_EXECUTETIMEOUT=300s
working_dir: /opt/gopath/src/github.com/hyperledger/fabric
Expand Down

0 comments on commit e3595af

Please sign in to comment.