v0.19.2
版本发布时间: 2018-04-23 21:48:25
hyperledger-archives/composer最新发布版本:v0.20.9(2019-08-30 19:07:40)
Composer v0.19.2
Welcome to Hyperledger Composer v0.19.2
Another week, another release. Today on the menu we have an excellent new REST server feature that allows you to secure your REST APIs using an API key, access to the underlying Fabric client SDK from the Composer client + admin SDKs, and a variety of bug fixes to whet your appetite for conga themed goodness.
Also, for desserts, we have a new logo:
Features
✨ #3764 lets you secure your REST APIs by using an API key, which must be supplied via an HTTP header ✨ #3844 lets you access the Fabric client SDKs from the Composer client + admin SDKs
Bug Fixes
🐞 Runtime
- #3875 rewrites and fixes the query compiler for multiple AND/OR queries
- #3889 fixes Cucumber so it correctly parses boolean values
🐞 Playground
- #3866 disables the submit transaction button when you have no transactions to submit
🐞 Generator
- #3830 automatically refreshes generated pages after performing actions like adding an asset
🐞 Documentation
- #3833, #3832, #3880, #3883 API documentation fixes
- #3745 makes the docs look even better
- #3851 fixes references to connector specific info in the docs
- #3863 replaces org.acme with org.example so we don't annoy IANA
- #3879 tells you how to install, upgrade, and uninstall your development environment
Notes
⚠️ If using the Composer tooling to create a Hyperledger Fabric development server, this will now be creating a v1.1.0 server by default. If you are using Composer v0.16.x, you will need to use Fabric v1.0.x, and you must set an environment variable via export FABRIC_VERSION=hlfv1
when using the Hyperledger Fabric development servers provided by Composer.
⚠️ If you have not specified a version in your npm
or docker
commands when pulling Composer binaries, and you need to keep using Composer v0.16.x, then you *must specify the version number:
-
npm install -g composer-cli@0.16.6
-
docker pull hyperledger/composer-cli:0.16.6
We strongly suggest that you migrate to Composer v0.19.x instead, but we understand that existing projects may need to stick with Composer v0.16.x for the time being.
⚠️ Business Network Cards are not transferable between v0.16.x and v0.17.x onwards. It will be necessary to manually clear your card store in order to use a different version. Please note that the CLI command to delete a named card will not work correctly if targeting a named card that was created from a different version.
⚠️ The Composer Tools is now setting up a Fabric v1.1 network. Unfortunately only Composer v0.18.2 and above are (and will be) compatible with this alpha driver. There are multiple support splits across differing Fabric levels, so please be careful with what versions are being used:
- v0.18.2, v0.19.0 and above are compatible with the Fabric 1.1.0 driver only
- v0.18.0 -> v0.18.1 are compatible with the Fabric RC1 driver only
- v0.17.3 -> v0.17.6 are compatible with Fabric alpha driver only
- v0.17.0 -> v0.17.2 are compatible with Fabric preview driver only
⚠️ The is a change in the business network lifecycle administration, and business network card commands between v0.18.2 and v0.19.0
Conga Comics
Another release; another CongaComic; another tag for our resident artist @EdMoffatt 👍
Missed out on a Conga Comic, or want to catch up with them all? Fear not, you can view the complete Conga Comic collection at https://congacomic.tumblr.com