Skip to content

Commit

Permalink
Prepare 2.2.2 release (hyperledger#278)
Browse files Browse the repository at this point in the history
Signed-off-by: Kestutis Gudynas <[email protected]>

Co-authored-by: Kestutis Gudynas <[email protected]>
  • Loading branch information
kemi04 and Kestutis Gudynas authored Aug 11, 2021
1 parent 8cc17b2 commit 2d682a1
Show file tree
Hide file tree
Showing 24 changed files with 80 additions and 52 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## v2.2.2
Mon 28 Jun 2021 10:05:22 BST

* [4918854](https://github.com/hyperledger/fabric-chaincode-node/commit/4918854) Metadata generate updated [FABCN-447](https://jira.hyperledger.org/browse/FABCN-447) (#277)
* [3b94a4b](https://github.com/hyperledger/fabric-chaincode-node/commit/3b94a4b) Shebang issue fixed [FABCN-438](https://jira.hyperledger.org/browse/FABCN-438) (#275)
* [61ea8e4](https://github.com/hyperledger/fabric-chaincode-node/commit/61ea8e4) Pipeline publishing fixed (#274)
* [f75318a](https://github.com/hyperledger/fabric-chaincode-node/commit/f75318a) Transaction metadata tags updated (#265) (#269)
* [8f522ae](https://github.com/hyperledger/fabric-chaincode-node/commit/8f522ae) Refresh updates
* [211f1b0](https://github.com/hyperledger/fabric-chaincode-node/commit/211f1b0) Remove the use of the "phantom" module
* [1fb5641](https://github.com/hyperledger/fabric-chaincode-node/commit/1fb5641) [FABCN-351](https://jira.hyperledger.org/browse/FABCN-351) CORE_PEER_ADDRESS issue fixed (#253)
* [443440f](https://github.com/hyperledger/fabric-chaincode-node/commit/443440f) [FABCN-425](https://jira.hyperledger.org/browse/FABCN-425) getTxTimestamp fixed (#245)
* [4882958](https://github.com/hyperledger/fabric-chaincode-node/commit/4882958) [FABCN-388](https://jira.hyperledger.org/browse/FABCN-388) Tutorial updated (#247)
* [f6bf8a7](https://github.com/hyperledger/fabric-chaincode-node/commit/f6bf8a7) [FABCN-429](https://jira.hyperledger.org/browse/FABCN-429) Iterator tutorial updated (#250)
* [d58fa10](https://github.com/hyperledger/fabric-chaincode-node/commit/d58fa10) Metadata issue solved (#240)
* [0533ba7](https://github.com/hyperledger/fabric-chaincode-node/commit/0533ba7) Bump version to 2.2.2

## v2.2.1
Wed 11 Nov 2020 15:13:14 GMT

Expand Down
4 changes: 2 additions & 2 deletions TUTORIAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ The dependencies of `fabric-contract-api` and `fabric-shim` will be required.
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-contract-api": "^2.2.2-unstable",
"fabric-shim": "^2.2.2-unstable"
"fabric-contract-api": "^2.2.2",
"fabric-shim": "^2.2.2"
}
}
Expand Down
6 changes: 3 additions & 3 deletions apis/fabric-contract-api/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fabric-contract-api",
"version": "2.2.2-unstable",
"tag": "unstable",
"version": "2.2.2",
"tag": "latest",
"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",
"repository": {
Expand Down Expand Up @@ -46,7 +46,7 @@
"lines": 100
},
"dependencies": {
"fabric-shim-api": "2.2.2-unstable",
"fabric-shim-api": "2.2.2",
"class-transformer": "^0.3.1",
"fast-safe-stringify": "^2.0.7",
"get-params": "^0.1.2",
Expand Down
4 changes: 2 additions & 2 deletions apis/fabric-shim-api/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fabric-shim-api",
"version": "2.2.2-unstable",
"tag": "unstable",
"version": "2.2.2",
"tag": "latest",
"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",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ stages:
workingFile: '$(Agent.TempDirectory)/.npmrc'
customEndpoint: 'fabric-chainode-node-npm'
- script: |
find $(Pipeline.Workspace)/node-tgz/ -maxdepth 1 -type f -name 'fabric-*.tgz' -exec npm publish {} --tag unstable \;
find $(Pipeline.Workspace)/node-tgz/ -maxdepth 1 -type f -name 'fabric-*.tgz' -exec npm publish {} --tag latest \;
displayName: 'npm publish'
- job: dockerhub_publish
steps:
Expand Down
8 changes: 4 additions & 4 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 [email protected]-unstable
npm install [email protected]
// 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.2.2-unstable"
"fabric-shim": "2.2.2"
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions docs/_jsdoc/tutorials/using-contractinterface.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ The dependencies of `fabric-contract-api` and `fabric-shim` will be required.
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-contract-api": "^2.2.2-unstable",
"fabric-shim": "^2.2.2-unstable"
"fabric-contract-api": "^2.2.2",
"fabric-shim": "^2.2.2"
}
}
Expand Down
6 changes: 3 additions & 3 deletions libraries/fabric-shim-crypto/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fabric-shim-crypto",
"version": "2.2.2-unstable",
"tag": "unstable",
"version": "2.2.2",
"tag": "latest",
"description": "A node.js implementation of encryption library for Hyperledger Fabric chaincode shim",
"main": "index.js",
"repository": {
Expand All @@ -26,7 +26,7 @@
"license": "Apache-2.0",
"dependencies": {
"elliptic": "^6.5.3",
"jsrsasign": "^10.2.0"
"jsrsasign": "^10.2"
},
"devDependencies": {
"mocha": "6.2.2",
Expand Down
8 changes: 4 additions & 4 deletions libraries/fabric-shim/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fabric-shim",
"version": "2.2.2-unstable",
"tag": "unstable",
"version": "2.2.2",
"tag": "latest",
"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",
"bin": {
Expand Down Expand Up @@ -59,8 +59,8 @@
"@grpc/proto-loader": "^0.5.4",
"@types/node": "^14.0.13",
"ajv": "^6.12.2",
"fabric-contract-api": "2.2.2-unstable",
"fabric-shim-api": "2.2.2-unstable",
"fabric-contract-api": "2.2.2",
"fabric-shim-api": "2.2.2",
"fs-extra": "^9.0.1",
"reflect-metadata": "^0.1.13",
"winston": "^3.3.2",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fabric-chaincode-node",
"version": "2.2.2-unstable",
"tag": "unstable",
"version": "2.2.2",
"tag": "latest",
"description": "fabric-chaincode-node monorepo, built with rush",
"testFabricVersion": "master",
"testFabricCAVersion": "1.4.4",
Expand Down
12 changes: 12 additions & 0 deletions release_notes/v2.2.2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
v2.2.2
------

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

The v2.2.2 release is the LTS version of the fabric-chaincode-node


Change Log
----------
https://github.com/hyperledger/fabric-chaincode-node/blob/release-2.x/CHANGELOG.md#v2.2.2
4 changes: 2 additions & 2 deletions test/chaincodes/annotations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"license": "APACHE-2.0",
"dependencies": {
"@types/node": "^14.6.4",
"fabric-contract-api": "2.2.2-unstable",
"fabric-shim": "2.2.2-unstable",
"fabric-contract-api": "2.2.2",
"fabric-shim": "2.2.2",
"ts-node": "^3.3.0",
"tslint": "^5.6.0",
"typescript": "^4.0.2"
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.2.2-unstable",
"fabric-contract-api": "2.2.2-unstable"
"fabric-shim": "2.2.2",
"fabric-contract-api": "2.2.2"
}
}
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.2.2-unstable",
"fabric-contract-api": "2.2.2-unstable"
"fabric-shim": "2.2.2",
"fabric-contract-api": "2.2.2"
}
}
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.2.2-unstable",
"fabric-contract-api": "2.2.2-unstable"
"fabric-shim": "2.2.2",
"fabric-contract-api": "2.2.2"
}
}
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.2.2-unstable",
"fabric-contract-api": "2.2.2-unstable"
"fabric-shim": "2.2.2",
"fabric-contract-api": "2.2.2"
}
}
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.2.2-unstable",
"fabric-contract-api": "2.2.2-unstable",
"fabric-shim-crypto": "2.2.2-unstable"
"fabric-shim": "2.2.2",
"fabric-contract-api": "2.2.2",
"fabric-shim-crypto": "2.2.2"
}
}
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.2.2-unstable",
"fabric-contract-api": "2.2.2-unstable"
"fabric-shim": "2.2.2",
"fabric-contract-api": "2.2.2"
}
}
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.2.2-unstable",
"fabric-contract-api": "2.2.2-unstable"
"fabric-shim": "2.2.2",
"fabric-contract-api": "2.2.2"
}
}
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.2.2-unstable",
"fabric-contract-api": "2.2.2-unstable"
"fabric-shim": "2.2.2",
"fabric-contract-api": "2.2.2"
}
}
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.2.2-unstable",
"fabric-contract-api": "2.2.2-unstable"
"fabric-shim": "2.2.2",
"fabric-contract-api": "2.2.2"
}
}
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.2.2-unstable",
"version": "2.2.2",
"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.2.2-unstable",
"fabric-shim": "2.2.2-unstable",
"fabric-shim-api": "2.2.2-unstable",
"fabric-shim-crypto": "2.2.2-unstable",
"fabric-contract-api": "2.2.2",
"fabric-shim": "2.2.2",
"fabric-shim-api": "2.2.2",
"fabric-shim-crypto": "2.2.2",
"fs-extra": "^9.0.1",
"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.2.2-unstable
- CORE_CHAINCODE_NODE_RUNTIME=hyperledger/fabric-nodeenv:2.2.2
# Allow more time for chaincode container to build on install.
- CORE_CHAINCODE_EXECUTETIMEOUT=300s

Expand Down

0 comments on commit 2d682a1

Please sign in to comment.