github.com/defanghe/fabric@v2.1.1+incompatible/release_notes/v2.0.0-alpha.txt (about) 1 v2.0.0-alpha Release Notes - April 9, 2019 2 ------------------------------------------ 3 4 What's New in Hyperledger Fabric v2.0 5 ------------------------------------- 6 7 The following major features are included in the v2.0.0 Alpha release: 8 9 FAB-11237 - Improved chaincode lifecycle 10 The Fabric 2.0 Alpha introduces decentralized governance for chaincode, with a 11 new process for installing a chaincode on your peers and starting it on a 12 channel. The new Fabric chaincode lifecycle allows multiple organizations to 13 come to agreement on the parameters of a chaincode, such as the chaincode 14 endorsement policy, before it can be used to interact with the ledger. 15 16 FAB-11144 - Native token support 17 The Fabric 2.0 Alpha provides users the ability to easily represent assets 18 as tokens on Fabric channels. FabToken is a token management system that uses 19 an Unspent Transaction Output (UTXO) model to issue, transfer, and redeem tokens 20 using the identity and membership infrastructure provided by Hyperledger Fabric. 21 A new 'token' command line interface is included as a way to drive token transactions 22 without an application. 23 24 FAB-6135 - Raft Consensus 25 Introduced in v1.4.1 and v2.0.0 Alpha, the ordering service now provides 26 an option to use the Raft Consensus algorithm. Raft is a crash fault tolerant 27 (CFT) ordering service based on an implementation of Raft protocol in etcd. 28 29 FAB-11096 - Docker images with Alpine Linux 30 Hyperledger Fabric Docker images will now use Alpine Linux, 31 a security-oriented, lightweight Linux distribution. 32 33 New operational metrics and health checks 34 FAB-13088 Endorser metrics 35 FAB-14077 Orderer communication metrics 36 FAB-11937 Raft metrics 37 FAB-13237 Metrics for log records 38 FAB-12727 Gossip metrics 39 FAB-13341 Kafka health check 40 FAB-12908 CouchDB health check 41 42 Changes, Known Issues, and Workarounds 43 -------------------------------------- 44 45 FAB-11237 - Improved chaincode lifecycle 46 The new Fabric chaincode lifecycle in the v2.0.0 Alpha release is not yet feature 47 complete. Specifically, be aware of the following limitations in the Alpha release: 48 - CouchDB indexes are not yet supported 49 - Chaincodes defined with the new lifecycle are not yet discoverable via service discovery 50 These limitations will be resolved after the Alpha release. 51 52 53 FAB-11096 - Docker images with Alpine Linux 54 Bash is no longer available in Fabric images. Utilize Alpine's built-in 55 sh or ash instead. 56 57 FAB-12075 - Duplicate Go Client identity library removed 58 If vendoring the Client identity library (CID) in chaincode, import 59 github.com/hyperledger/fabric/core/chaincode/shim/ext/cid 60 rather than 61 github.com/hyperledger/fabriccore/chaincode/lib/cid/cid.go 62 63 FAB-12088 - Java chaincode support on s390x architecture 64 Java chaincode support is not yet available on s390x architecture. 65 66 FAB-12134 Same chaincode source receiving fingerprint mismatch error 67 Chaincode installed in different ways may result in "chaincode fingerprint 68 mismatch data mismatch" error upon instantiation. This may happen when 69 installing chaincode by using different SDKs. To workaround the problem, 70 package the chaincode prior to installation and instantiation, by using 71 the "peer chaincode package" command. 72 73 Known Vulnerabilities 74 --------------------- 75 FAB-8664 - Peer should detect and react when its org has been removed 76 This is a relatively low severity problem, because it requires a significant 77 conspiracy of network admins, but it will be addressed in a future release. 78 79 Resolved Vulnerabilities 80 ------------------------ 81 None. 82 83 Other improvements and fixes 84 ---------------------------- 85 FAB-13471 - Fix for multiple chaincode upgrades in a single block 86 FAB-14687 - Fix memory leak in gossip message store 87 Updated to Go version 1.11.5 88 Updated baseimage version to 0.4.15 for third party dependencies. 89 90 For the full list of improvements and fixes, refer to the release change log: 91 https://github.com/hyperledger/fabric/blob/master/CHANGELOG.md#v200-alpha