Release 0.1.2
fabric-peer-ext Release Notes - Feb 24, 2020
What's new in fabric-peer-ext v0.1.2
In-process user chaincode versioning #349
In-process user chaincode may now specify a version such that multiple versions of the same chaincode may coexist.
A chaincode is registered with a version that consists of a major version and optional minor version, e.g. v1, v1.0. A chaincode may be instantiated and/or upgraded with an optional revision, e.g. v1.0.1, but the revision is not used when resolving the chaincode implementation but only as a means by which to update a chaincode's policies.
Shared CouchDB instance/cluster #348
Added a PartitionType peer config that allows databases to be partitioned by peer ID or MSP, allowing multiple peers to share the same CouchDB instance/cluster.
In non-clustered mode (i.e. each peer has a dedicated database), PartitionType is set to PEER which results in the peer ID being prefixed to the name of the database. In clustered mode (i.e. all peers in the same org share a database) the PartitionType is set to MSP which causes the database name to be prefixed with the MSP ID.
Application-specific configuration validation plugins #255
Added a configuration validator registry that manages application-specific configuration validators. When ledger configuration is added/updated then an app-specific validator is invoked to ensure that the config is valid.
Txn config validator #359
Registered a configuration validator for the Txn service configuration which also validates the SDK config.
Other changes
- Updated codebase to Fabric v2.0.0
- Point to the latest Fabric SDK