diff --git a/CHANGELOG.md b/CHANGELOG.md index 25a810cef3..fba3d7669d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,34 @@ +## v2.1.0 +Wed 8 Apr 2020 17:06:37 BST + +* [4406642f](https://github.com/hyperledger/fabric-sdk-node/commit/4406642f) [FABN-1531](https://jira.hyperledger.org/browse/FABN-1531) Update references to 2.0 and 2.0.0 (#210) +* [bc50a107](https://github.com/hyperledger/fabric-sdk-node/commit/bc50a107) [FABN-1536](https://jira.hyperledger.org/browse/FABN-1536) NodeSDK add getTransactionId (#209) +* [03deb129](https://github.com/hyperledger/fabric-sdk-node/commit/03deb129) Import ByteBuffer type to prevent TypeScript error (#206) +* [e4c8e78c](https://github.com/hyperledger/fabric-sdk-node/commit/e4c8e78c) Use 2.1 Fabric Images (#205) +* [1abaa4c3](https://github.com/hyperledger/fabric-sdk-node/commit/1abaa4c3) Pull Fabric Images in CI (#204) +* [361a7adf](https://github.com/hyperledger/fabric-sdk-node/commit/361a7adf) [FABN-1224](https://jira.hyperledger.org/browse/FABN-1224) NodeSDK discovery interests (#203) +* [0e8dfa88](https://github.com/hyperledger/fabric-sdk-node/commit/0e8dfa88) [FABN-1524](https://jira.hyperledger.org/browse/FABN-1524): Default file checkpointer implementation (#201) +* [f6e8ae36](https://github.com/hyperledger/fabric-sdk-node/commit/f6e8ae36) [FABN-1524](https://jira.hyperledger.org/browse/FABN-1524): JSDoc for checkpointer (#200) +* [a2999388](https://github.com/hyperledger/fabric-sdk-node/commit/a2999388) [FABN-1524](https://jira.hyperledger.org/browse/FABN-1524): Checkpoint contract events (#199) +* [9ba41f8e](https://github.com/hyperledger/fabric-sdk-node/commit/9ba41f8e) [FABN-1532](https://jira.hyperledger.org/browse/FABN-1532 NodeSDK allow for non-)TLS networks (#198) +* [e415c40c](https://github.com/hyperledger/fabric-sdk-node/commit/e415c40c) [FABN-1523](https://jira.hyperledger.org/browse/FABN-1523): Checkpoint block listening (#197) +* [d3aee6fc](https://github.com/hyperledger/fabric-sdk-node/commit/d3aee6fc) [FABN-1526](https://jira.hyperledger.org/browse/FABN-1526): Minor doc tweaks based on review feedback (#196) +* [8c9f8e1d](https://github.com/hyperledger/fabric-sdk-node/commit/8c9f8e1d) [FABN-1526](https://jira.hyperledger.org/browse/FABN-1526): Home page to allow access to v1.4 and v2.0 docs (#195) +* [ac8c7878](https://github.com/hyperledger/fabric-sdk-node/commit/ac8c7878) [FABN-1526](https://jira.hyperledger.org/browse/FABN-1526) Remove old tutorial (#194) +* [abe6e78a](https://github.com/hyperledger/fabric-sdk-node/commit/abe6e78a) [FABN-1519](https://jira.hyperledger.org/browse/FABN-1519): More robust private data scenario test (#193) +* [192678e3](https://github.com/hyperledger/fabric-sdk-node/commit/192678e3) [FABN-1525](https://jira.hyperledger.org/browse/FABN-1525): Application migration tutorial (#191) +* [4697ea75](https://github.com/hyperledger/fabric-sdk-node/commit/4697ea75) [FABN-1461](https://jira.hyperledger.org/browse/FABN-1461) NodeSDK private data part 2 (#192) +* [9560c414](https://github.com/hyperledger/fabric-sdk-node/commit/9560c414) [FABN-1519](https://jira.hyperledger.org/browse/FABN-1519): Refactor of full and private event factory (#190) +* [1f446c66](https://github.com/hyperledger/fabric-sdk-node/commit/1f446c66) [FABN-1522](https://jira.hyperledger.org/browse/FABN-1522): load the value of config.orderers (#189) +* [ecdbeb94](https://github.com/hyperledger/fabric-sdk-node/commit/ecdbeb94) [FABN-1461](https://jira.hyperledger.org/browse/FABN-1461) NodeSDK add private data event (#102) +* [c951f2d5](https://github.com/hyperledger/fabric-sdk-node/commit/c951f2d5) [FABN-1519](https://jira.hyperledger.org/browse/FABN-1519): Event listening with private data (#188) +* [8b1a763b](https://github.com/hyperledger/fabric-sdk-node/commit/8b1a763b) [FABN-1518](https://jira.hyperledger.org/browse/FABN-1518): Correction to example block listener code in JSDoc (#187) +* [2f3c524a](https://github.com/hyperledger/fabric-sdk-node/commit/2f3c524a) [FABN-1518](https://jira.hyperledger.org/browse/FABN-1518): Update JSDoc for event listening (#185) +* [07e6d828](https://github.com/hyperledger/fabric-sdk-node/commit/07e6d828) [FABN-1521](https://jira.hyperledger.org/browse/FABN-1521) NodeSDK Add setEndpoint to typscript (#183) +* [f8aecd73](https://github.com/hyperledger/fabric-sdk-node/commit/f8aecd73) [FABN-1516](https://jira.hyperledger.org/browse/FABN-1516 revert to 2.0.0-)snapshots (#182) +* [ad42bd14](https://github.com/hyperledger/fabric-sdk-node/commit/ad42bd14) [FABN-1516](https://jira.hyperledger.org/browse/FABN-1516 Release 2.0.0-)beta.4 (#180) +* [1d276005](https://github.com/hyperledger/fabric-sdk-node/commit/1d276005) [FABN-1510](https://jira.hyperledger.org/browse/FABN-1510) Port grpc update (#181) + ## v2.0.0-beta.4 Mon 16 Mar 2020 15:27:54 GMT diff --git a/fabric-ca-client/package-lock.json b/fabric-ca-client/package-lock.json index a639c3280c..95b253fe91 100644 --- a/fabric-ca-client/package-lock.json +++ b/fabric-ca-client/package-lock.json @@ -1,6 +1,6 @@ { "name": "fabric-ca-client", - "version": "2.0.0-snapshot", + "version": "2.1.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/fabric-ca-client/package.json b/fabric-ca-client/package.json index 48dbb10c23..4fd933ea6c 100644 --- a/fabric-ca-client/package.json +++ b/fabric-ca-client/package.json @@ -5,8 +5,8 @@ "hyperledger", "blockchain" ], - "version": "2.0.0-snapshot", - "tag": "unstable", + "version": "2.1.0", + "tag": "latest-2.1", "main": "index.js", "scripts": { "test": "nyc mocha --recursive -t 10000" diff --git a/fabric-common/package-lock.json b/fabric-common/package-lock.json index bf63e608bb..7904a28eee 100644 --- a/fabric-common/package-lock.json +++ b/fabric-common/package-lock.json @@ -1,6 +1,6 @@ { "name": "fabric-common", - "version": "2.0.0-snapshot", + "version": "2.1.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/fabric-common/package.json b/fabric-common/package.json index d18a96baf7..9384f1d688 100644 --- a/fabric-common/package.json +++ b/fabric-common/package.json @@ -1,7 +1,7 @@ { "name": "fabric-common", - "version": "2.0.0-snapshot", - "tag": "unstable", + "version": "2.1.0", + "tag": "latest-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-lock.json b/fabric-network/package-lock.json index b32ae1d3b7..cb28579533 100644 --- a/fabric-network/package-lock.json +++ b/fabric-network/package-lock.json @@ -1,6 +1,6 @@ { "name": "fabric-network", - "version": "2.0.0-snapshot", + "version": "2.1.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/fabric-network/package.json b/fabric-network/package.json index 9664a4648c..efc2b3f70b 100644 --- a/fabric-network/package.json +++ b/fabric-network/package.json @@ -5,8 +5,8 @@ "hyperledger", "blockchain" ], - "version": "2.0.0-snapshot", - "tag": "unstable", + "version": "2.1.0", + "tag": "latest-2.1", "main": "index.js", "repository": { "type": "git", diff --git a/fabric-protos/package-lock.json b/fabric-protos/package-lock.json index 6cc959d99a..8af633243e 100644 --- a/fabric-protos/package-lock.json +++ b/fabric-protos/package-lock.json @@ -1,6 +1,6 @@ { "name": "fabric-protos", - "version": "2.0.0-snapshot", + "version": "2.1.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/fabric-protos/package.json b/fabric-protos/package.json index c7b54bb030..89d5a73495 100644 --- a/fabric-protos/package.json +++ b/fabric-protos/package.json @@ -1,7 +1,7 @@ { "name": "fabric-protos", - "version": "2.0.0-snapshot", - "tag": "unstable", + "version": "2.1.0", + "tag": "latest-2.1", "description": "Protocol Buffer files and generated JavaScript classes for Hyperledger Fabric", "main": "index.js", "scripts": { diff --git a/package-lock.json b/package-lock.json index 92342e49a3..7b2f145c6d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "fabric-sdk-node", - "version": "2.0.0-snapshot", + "version": "2.1.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -2141,7 +2141,8 @@ }, "minimist": { "version": "1.2.0", - "resolved": "", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "dev": true }, "minipass": { @@ -5487,7 +5488,8 @@ "dependencies": { "acorn": { "version": "5.7.3", - "resolved": "", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz", + "integrity": "sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==", "dev": true }, "acorn-jsx": { diff --git a/package.json b/package.json index 4fa6c46aae..46d0be9d1c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fabric-sdk-node", - "version": "2.0.0-snapshot", + "version": "2.1.0", "main": "index.js", "repository": { "type": "git", diff --git a/release_notes/v2.1.0.txt b/release_notes/v2.1.0.txt new file mode 100644 index 0000000000..1edf89239e --- /dev/null +++ b/release_notes/v2.1.0.txt @@ -0,0 +1,16 @@ +Release Notes +------------- + +This v2.1.0 release is the latest release of the fabric-node-sdk packages that support Fabric 2.x. + +This v2.1.0 release supercedes previous v2.0.0-beta releases. +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 + +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 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 here: https://hyperledger.github.io/fabric-sdk-node/master/tutorial-transaction-commit-events.html