v0.19.1
版本发布时间: 2018-04-12 20:49:44
hyperledger-archives/composer最新发布版本:v0.20.9(2019-08-30 19:07:40)
Composer v0.19.1
Welcome to Hyperledger Composer v0.19.1
We are continuing to enhance the default release for building your blockchain business networks. Following the Easter break, we are egg-static to release this version that contains a volume of bug fixes to assist you develop your business networks with ease and hatch them out of incubation. Please don't egg-nore the notes section that detail the breaking changes if you are moving from the previous Composer default of v0.16
Features
✨ #3797 Improves model validation error messages when you try to redeclare an identifier field and ensures that the error is transaction specific rather than a generic class error ✨ #3803 Enables easy Docker and Cloud Foundry deployment of a generated Angular application ✨ #3600 Enables simple JSON.stringify serialization of Composer resources, which simplifies the use of HTTP clients in transaction processor functions
Bug Fixes
🐞 Runtime
- #3769 rearranges the automatically generated query index so that "order-by" fields are before "where", which is a requirement to permit "order-by" queries to operate.
- #3799 fixes the admin connection list command
🐞 Playground
- #3779 is a tweak to the ID Page to truncate long names to stop them overflowing
- #3807 fixes internal links to point to the correct documentation version
🐞 Documentation
- #3711, #3713, #3742, #3743, #3747 and #3753 relate to documentation edits for internal links, and consistency with the move to the default v0.19
- #3774 is a minor tweak to the tutorial for interacting with other deployed business networks
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 conga-comics