Skip to content

Commit

Permalink
Release 2.4.1
Browse files Browse the repository at this point in the history
Update release to 2.4.1
Minor addition to the version updates to suggest other files that might need changing.

Signed-off-by: Matthew B White <[email protected]>
  • Loading branch information
mbwhite authored and jt-nti committed Nov 29, 2021
1 parent 8acc32a commit c7fc3cc
Show file tree
Hide file tree
Showing 31 changed files with 88 additions and 66 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## v2.4.1
Mon Nov 29 10:39:51 GMT 2021

* [8acc32a](https://github.com/hyperledger/fabric-chaincode-node/commit/8acc32a) CI Pipeline Fixes (#304)

## 2.4.0
Fri Nov 26 08:07:34 GMT 2021

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.4.0-beta",
"fabric-shim": "^2.4.0-beta"
"fabric-contract-api": "^2.4.1",
"fabric-shim": "^2.4.1"
}
}
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.4.0",
"version": "2.4.1",
"tag": "release",
"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.4.0",
"fabric-shim-api": "2.4.1",
"class-transformer": "^0.4.0",
"fast-safe-stringify": "^2.1.1",
"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.4.0",
"version": "2.4.1",
"tag": "release",
"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
2 changes: 1 addition & 1 deletion ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pool:
#
# Publish to NPM on release builds (they are the github tagged releases)
# Publish to NPM on nightly builds when there is something to build
# the ids will be of the format 2.4.0-beta.{commitid}
# the ids will be of the format 2.4.1.{commitid}
#
stages:

Expand Down
4 changes: 2 additions & 2 deletions docker/fabric-nodeenv/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fabric-nodeenv",
"version": "2.4.0",
"version": "2.4.1",
"description": "",
"main": "docker.js",
"scripts": {
Expand All @@ -11,6 +11,6 @@
"license": "Apache-2.0",
"dependencies": {
"git-rev-sync": "3.0.1",
"toolchain": "2.4.0"
"toolchain": "2.4.1"
}
}
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 main branch
npm install [email protected].0-beta
npm install [email protected].1
// 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.4.0-beta"
"fabric-shim": "2.4.1"
}
}
```
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.4.0-beta",
"fabric-shim": "^2.4.0-beta"
"fabric-contract-api": "^2.4.1",
"fabric-shim": "^2.4.1"
}
}
Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "fabric-shim-docs",
"version": "2.4.0",
"version": "2.4.1",
"description": "",
"private": true,
"scripts": {
"build": "npm run docs",
"docs": "rimraf ./gen && jsdoc -c ./_jsdoc.json"
},
"dependencies": {
"fabric-ledger": "2.4.0"
"fabric-ledger": "2.4.1"
},
"devDependencies": {
"ink-docstrap": "^1.3.2",
Expand Down
4 changes: 2 additions & 2 deletions libraries/fabric-ledger/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fabric-ledger",
"version": "2.4.0",
"version": "2.4.1",
"tag": "unstable",
"description": "A node.js implementation of Hyperledger Fabric ledger api, to allow access to ledger data from smart contracts",
"main": "lib/index.js",
Expand Down Expand Up @@ -49,7 +49,7 @@
"lines": 100
},
"dependencies": {
"fabric-contract-api": "2.4.0",
"fabric-contract-api": "2.4.1",
"winston": "^3.3.3"
},
"devDependencies": {
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.4.0",
"version": "2.4.1",
"tag": "release",
"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.4.0",
"version": "2.4.1",
"tag": "release",
"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.6.6",
"@types/node": "^16.11.1",
"ajv": "^6.12.2",
"fabric-contract-api": "2.4.0",
"fabric-shim-api": "2.4.0",
"fabric-contract-api": "2.4.1",
"fabric-shim-api": "2.4.1",
"fs-extra": "^10.0.0",
"reflect-metadata": "^0.1.13",
"winston": "^3.3.3",
Expand Down
12 changes: 12 additions & 0 deletions release_notes/v2.4.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
v2.4.1
------

Release Notes
-------------
This v2.4.1 is a release for fix the CI pipeline to properly release docker images.

Note that version of Node.js is updated to 16.4.0. See the COMPATIBILITY.md file in the main branch for information.

Change Log
----------
https://github.com/hyperledger/fabric-chaincode-node/blob/release-2.x/CHANGELOG.md#v2.4.1
6 changes: 3 additions & 3 deletions test/chaincodes/annotations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"typings": "dist/index.d.ts",
"engine-strict": true,
"engineStrict": true,
"version": "2.4.0",
"version": "2.4.1",
"author": "",
"license": "APACHE-2.0",
"dependencies": {
"@types/node": "^16.11.4",
"fabric-contract-api": "2.4.0",
"fabric-shim": "2.4.0",
"fabric-contract-api": "2.4.1",
"fabric-shim": "2.4.1",
"ts-node": "^3.3.0",
"tslint": "^5.6.0",
"typescript": "^4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
}
},
"info": {
"version": "2.4.0",
"version": "2.4.1",
"title": "ts_chaincode"
},
"components": {
Expand Down
6 changes: 3 additions & 3 deletions test/chaincodes/clientidentity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"main": "index.js",
"engine-strict": true,
"engineStrict": true,
"version": "2.4.0",
"version": "2.4.1",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.4.0",
"fabric-contract-api": "2.4.0"
"fabric-shim": "2.4.1",
"fabric-contract-api": "2.4.1"
}
}
6 changes: 3 additions & 3 deletions test/chaincodes/crosschaincode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"main": "index.js",
"engine-strict": true,
"engineStrict": true,
"version": "2.4.0",
"version": "2.4.1",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.4.0",
"fabric-contract-api": "2.4.0"
"fabric-shim": "2.4.1",
"fabric-contract-api": "2.4.1"
}
}
6 changes: 3 additions & 3 deletions test/chaincodes/crosschaincode2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"main": "index.js",
"engine-strict": true,
"engineStrict": true,
"version": "2.4.0",
"version": "2.4.1",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.4.0",
"fabric-contract-api": "2.4.0"
"fabric-shim": "2.4.1",
"fabric-contract-api": "2.4.1"
}
}
6 changes: 3 additions & 3 deletions test/chaincodes/crud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"main": "index.js",
"engine-strict": true,
"engineStrict": true,
"version": "2.4.0",
"version": "2.4.1",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.4.0",
"fabric-contract-api": "2.4.0"
"fabric-shim": "2.4.1",
"fabric-contract-api": "2.4.1"
}
}
8 changes: 4 additions & 4 deletions test/chaincodes/encryption/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"main": "index.js",
"engine-strict": true,
"engineStrict": true,
"version": "2.4.0",
"version": "2.4.1",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.4.0",
"fabric-contract-api": "2.4.0",
"fabric-shim-crypto": "2.4.0"
"fabric-shim": "2.4.1",
"fabric-contract-api": "2.4.1",
"fabric-shim-crypto": "2.4.1"
}
}
6 changes: 3 additions & 3 deletions test/chaincodes/events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"main": "index.js",
"engine-strict": true,
"engineStrict": true,
"version": "2.4.0",
"version": "2.4.1",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.4.0",
"fabric-contract-api": "2.4.0"
"fabric-shim": "2.4.1",
"fabric-contract-api": "2.4.1"
}
}
8 changes: 4 additions & 4 deletions test/chaincodes/ledger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"main": "index.js",
"engine-strict": true,
"engineStrict": true,
"version": "2.4.0",
"version": "2.4.1",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.4.0",
"fabric-contract-api": "2.4.0",
"fabric-ledger": "2.4.0"
"fabric-shim": "2.4.1",
"fabric-contract-api": "2.4.1",
"fabric-ledger": "2.4.1"
}
}
6 changes: 3 additions & 3 deletions test/chaincodes/privateData/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"main": "index.js",
"engine-strict": true,
"engineStrict": true,
"version": "2.4.0",
"version": "2.4.1",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.4.0",
"fabric-contract-api": "2.4.0"
"fabric-shim": "2.4.1",
"fabric-contract-api": "2.4.1"
}
}
6 changes: 3 additions & 3 deletions test/chaincodes/query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"main": "index.js",
"engine-strict": true,
"engineStrict": true,
"version": "2.4.0",
"version": "2.4.1",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.4.0",
"fabric-contract-api": "2.4.0"
"fabric-shim": "2.4.1",
"fabric-contract-api": "2.4.1"
}
}
6 changes: 3 additions & 3 deletions test/chaincodes/scenario/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"main": "index.js",
"engine-strict": true,
"engineStrict": true,
"version": "2.4.0",
"version": "2.4.1",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "2.4.0",
"fabric-contract-api": "2.4.0"
"fabric-shim": "2.4.1",
"fabric-contract-api": "2.4.1"
}
}
4 changes: 2 additions & 2 deletions test/e2e/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fabric-e2e-tests",
"version": "2.4.0",
"version": "2.4.1",
"description": "",
"main": "docker.js",
"scripts": {
Expand All @@ -13,7 +13,7 @@
"devDependencies": {
"git-rev-sync": "3.0.1",
"gulp": "^4.0.2",
"toolchain": "2.4.0",
"toolchain": "2.4.1",
"delay": "5.0.0",
"fs-extra": "^10.0.0",
"ip": "^1.1.5",
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/scenario.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const queryFunctions = async () => {

const metadata = JSON.parse(stdout);

const expectedMetadata = '{"$schema":"https://hyperledger.github.io/fabric-chaincode-node/main/api/contract-schema.json","contracts":{"UpdateValues":{"name":"UpdateValues","contractInstance":{"name":"UpdateValues","logBuffer":{"output":[]},"default":true},"transactions":[{"name":"setup","tags":["SUBMIT","submitTx"]},{"name":"setNewAssetValue","tags":["SUBMIT","submitTx"],"parameters":[{"name":"arg0","description":"Argument 0","schema":{"type":"string"}}]},{"name":"doubleAssetValue","tags":["SUBMIT","submitTx"]}],"info":{"title":"","version":""}},"RemoveValues":{"name":"RemoveValues","contractInstance":{"name":"RemoveValues"},"transactions":[{"name":"quarterAssetValue","tags":["SUBMIT","submitTx"]},{"name":"getAssetValue","tags":["SUBMIT","submitTx"]}],"info":{"title":"","version":""}},"org.hyperledger.fabric":{"name":"org.hyperledger.fabric","contractInstance":{"name":"org.hyperledger.fabric"},"transactions":[{"name":"GetMetadata"}],"info":{"title":"","version":""}}},"info":{"version":"2.4.0","title":"chaincode"},"components":{"schemas":{}}}';
const expectedMetadata = '{"$schema":"https://hyperledger.github.io/fabric-chaincode-node/main/api/contract-schema.json","contracts":{"UpdateValues":{"name":"UpdateValues","contractInstance":{"name":"UpdateValues","logBuffer":{"output":[]},"default":true},"transactions":[{"name":"setup","tags":["SUBMIT","submitTx"]},{"name":"setNewAssetValue","tags":["SUBMIT","submitTx"],"parameters":[{"name":"arg0","description":"Argument 0","schema":{"type":"string"}}]},{"name":"doubleAssetValue","tags":["SUBMIT","submitTx"]}],"info":{"title":"","version":""}},"RemoveValues":{"name":"RemoveValues","contractInstance":{"name":"RemoveValues"},"transactions":[{"name":"quarterAssetValue","tags":["SUBMIT","submitTx"]},{"name":"getAssetValue","tags":["SUBMIT","submitTx"]}],"info":{"title":"","version":""}},"org.hyperledger.fabric":{"name":"org.hyperledger.fabric","contractInstance":{"name":"org.hyperledger.fabric"},"transactions":[{"name":"GetMetadata"}],"info":{"title":"","version":""}}},"info":{"version":"2.4.1","title":"chaincode"},"components":{"schemas":{}}}';

const schema = fs.readFileSync(path.join(__dirname, '../../apis/fabric-contract-api/schema/contract-schema.json'));

Expand Down
Loading

0 comments on commit c7fc3cc

Please sign in to comment.