From 84a6665a96113083e4f3f19ffad302754e12d699 Mon Sep 17 00:00:00 2001 From: harrisob Date: Thu, 20 Aug 2020 08:33:17 -0400 Subject: [PATCH] FABN-1616 Publish 2.2.1 (#306) Publish update v2.2.1 Signed-off-by: Bret Harrison --- CHANGELOG.md | 11 +++++++++++ fabric-ca-client/package.json | 2 +- fabric-common/package.json | 2 +- fabric-network/package.json | 2 +- fabric-protos/package.json | 2 +- package.json | 4 ++-- release_notes/v2.2.1.txt | 36 +++++++++++++++++++++++++++++++++++ 7 files changed, 53 insertions(+), 6 deletions(-) create mode 100644 release_notes/v2.2.1.txt diff --git a/CHANGELOG.md b/CHANGELOG.md index d59b76d2ba..dc85a45baf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## v2.2.1 +Wed Aug 19 11:02:55 EDT 2020 + +* [475fc7d0](https://github.com/hyperledger/fabric-sdk-node/commit/475fc7d0) [FABN-1612 cherrypick from master to release-2](https://jira.hyperledger.org/browse/FABN-1612 cherrypick from master to release-2).2 (#305) +* [8f36a57b](https://github.com/hyperledger/fabric-sdk-node/commit/8f36a57b) [FABN-1607](https://jira.hyperledger.org/browse/FABN-1607): Start event replay from previous block (#299) (#303) +* [5ffdbb3e](https://github.com/hyperledger/fabric-sdk-node/commit/5ffdbb3e) [FABN-1588](https://jira.hyperledger.org/browse/FABN-1588): Fix timing issue in checkpoint listener scenario tests (#302) +* [3c9a0d04](https://github.com/hyperledger/fabric-sdk-node/commit/3c9a0d04) [FABN-1606](https://jira.hyperledger.org/browse/FABN-1606): Daily scheduled build (#296) +* [bb9cc1fc](https://github.com/hyperledger/fabric-sdk-node/commit/bb9cc1fc) [FABN-1605: Remove unnecessary dependencies from fabric-](https://jira.hyperledger.org/browse/FABN-1605: Remove unnecessary dependencies from fabric-)network (#284) (#285) +* [c97e4a04](https://github.com/hyperledger/fabric-sdk-node/commit/c97e4a04) [FABN-1603](https://jira.hyperledger.org/browse/FABN-1603): v2.2 doc updates (#281) +* [d2d9e8ed](https://github.com/hyperledger/fabric-sdk-node/commit/d2d9e8ed) Prepare release-2.2 branch (#275) + ## v2.2.0 Wed 15 Jul 2020 14:07:07 BST diff --git a/fabric-ca-client/package.json b/fabric-ca-client/package.json index 9c510b764d..0f62298876 100644 --- a/fabric-ca-client/package.json +++ b/fabric-ca-client/package.json @@ -5,7 +5,7 @@ "hyperledger", "blockchain" ], - "version": "2.2.1-snapshot", + "version": "2.2.1", "main": "index.js", "scripts": { "test": "nyc mocha --recursive -t 10000" diff --git a/fabric-common/package.json b/fabric-common/package.json index 24eedc52f5..3f4ce2dfa4 100644 --- a/fabric-common/package.json +++ b/fabric-common/package.json @@ -1,6 +1,6 @@ { "name": "fabric-common", - "version": "2.2.1-snapshot", + "version": "2.2.1", "description": "This package encapsulates the common code used by the `fabric-ca-client`, `fabric-network` packages.", "keywords": [ "blockchain", diff --git a/fabric-network/package.json b/fabric-network/package.json index 529affb2b5..4a231c5950 100644 --- a/fabric-network/package.json +++ b/fabric-network/package.json @@ -5,7 +5,7 @@ "hyperledger", "blockchain" ], - "version": "2.2.1-snapshot", + "version": "2.2.1", "main": "index.js", "repository": { "type": "git", diff --git a/fabric-protos/package.json b/fabric-protos/package.json index 0df37fd8a0..205d665b24 100644 --- a/fabric-protos/package.json +++ b/fabric-protos/package.json @@ -1,6 +1,6 @@ { "name": "fabric-protos", - "version": "2.2.1-snapshot", + "version": "2.2.1", "description": "Protocol Buffer files and generated JavaScript classes for Hyperledger Fabric", "main": "index.js", "scripts": { diff --git a/package.json b/package.json index 42fec9e3f6..b1ec688051 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "fabric-sdk-node", - "version": "2.2.1-snapshot", - "tag": "unstable-2.2", + "version": "2.2.1", + "tag": "latest", "main": "index.js", "private": true, "repository": { diff --git a/release_notes/v2.2.1.txt b/release_notes/v2.2.1.txt new file mode 100644 index 0000000000..a6c601b9ad --- /dev/null +++ b/release_notes/v2.2.1.txt @@ -0,0 +1,36 @@ +Release Notes +------------- +This v2.2.1 version is the latest of the v2.2 long-term support (LTS) release +of the fabric-node-sdk packages that support Fabric 2.x, and supersedes previous +v2.x releases. Please see the Fabric LTS release strategy document for more +information on LTS releases: + +https://github.com/hyperledger/fabric-rfcs/blob/master/text/0005-lts-release-strategy.md + +If migrating a client application from an earlier version of the API, consult +the migration tutorial for details of potentially breaking changes and recommended actions: + +https://hyperledger.github.io/fabric-sdk-node/master/tutorial-migration.html + +Major changes from v1.4: + +- The fabric-client package has been removed. Client applications should use + the Fabric Programming Model APIs from the fabric-network package. + +- The underlying APIs that interface with the gRPC layer have been + reimplemented in the fabric-common package and should not be used directly + by client applications. + +- Simplified wallet management, which is portable across SDK languages and + with pluggable persistent storage. More information can be found here: + + https://hyperledger.github.io/fabric-sdk-node/master/tutorial-wallet.html + +- New eventing implementation in fabric-network. Client application code can + listen for block events using Network.addBlockListener(), and listen for + contract events using Contract.addContractListener(). The Network object + also provides capability to listen for transaction commit events, + specifically to support the implementation of custom event handlers. More + information can be found here: + + https://hyperledger.github.io/fabric-sdk-node/master/tutorial-transaction-commit-events.html