|
| 1 | +Release Notes |
| 2 | +------------- |
| 3 | +This v2.2.1 version is the latest of the v2.2 long-term support (LTS) release |
| 4 | +of the fabric-node-sdk packages that support Fabric 2.x, and supersedes previous |
| 5 | +v2.x releases. Please see the Fabric LTS release strategy document for more |
| 6 | +information on LTS releases: |
| 7 | + |
| 8 | +https://github.com/hyperledger/fabric-rfcs/blob/master/text/0005-lts-release-strategy.md |
| 9 | + |
| 10 | +If migrating a client application from an earlier version of the API, consult |
| 11 | +the migration tutorial for details of potentially breaking changes and recommended actions: |
| 12 | + |
| 13 | +https://hyperledger.github.io/fabric-sdk-node/master/tutorial-migration.html |
| 14 | + |
| 15 | +Major changes from v1.4: |
| 16 | + |
| 17 | +- The fabric-client package has been removed. Client applications should use |
| 18 | + the Fabric Programming Model APIs from the fabric-network package. |
| 19 | + |
| 20 | +- The underlying APIs that interface with the gRPC layer have been |
| 21 | + reimplemented in the fabric-common package and should not be used directly |
| 22 | + by client applications. |
| 23 | + |
| 24 | +- Simplified wallet management, which is portable across SDK languages and |
| 25 | + with pluggable persistent storage. More information can be found here: |
| 26 | + |
| 27 | + https://hyperledger.github.io/fabric-sdk-node/master/tutorial-wallet.html |
| 28 | + |
| 29 | +- New eventing implementation in fabric-network. Client application code can |
| 30 | + listen for block events using Network.addBlockListener(), and listen for |
| 31 | + contract events using Contract.addContractListener(). The Network object |
| 32 | + also provides capability to listen for transaction commit events, |
| 33 | + specifically to support the implementation of custom event handlers. More |
| 34 | + information can be found here: |
| 35 | + |
| 36 | + https://hyperledger.github.io/fabric-sdk-node/master/tutorial-transaction-commit-events.html |
0 commit comments