From a3486d376e8277205dda4a87231794da6aa52adc Mon Sep 17 00:00:00 2001 From: denyeart Date: Wed, 22 Jul 2020 17:36:56 -0400 Subject: [PATCH] Prepare for Fabric v1.4.9 (#1627) Update Makefile for v1.4.9 Signed-off-by: David Enyeart --- Makefile | 4 +- common/tools/configtxgen/metadata/metadata.go | 2 +- .../tools/configtxlator/metadata/metadata.go | 2 +- common/tools/cryptogen/metadata/metadata.go | 2 +- common/tools/idemixgen/metadata/metadata.go | 2 +- release_notes/v1.4.9.md | 118 ++++++++++++++++++ 6 files changed, 124 insertions(+), 6 deletions(-) create mode 100644 release_notes/v1.4.9.md diff --git a/Makefile b/Makefile index a126493d683..946d53785d6 100755 --- a/Makefile +++ b/Makefile @@ -44,8 +44,8 @@ # - docker-tag-stable - re-tags the images made by 'make docker' with the :stable tag # - help-docs - generate the command reference docs -BASE_VERSION = 1.4.8 -PREV_VERSION = 1.4.7 +BASE_VERSION = 1.4.9 +PREV_VERSION = 1.4.8 CHAINTOOL_RELEASE=1.1.3 BASEIMAGE_RELEASE=0.4.21 diff --git a/common/tools/configtxgen/metadata/metadata.go b/common/tools/configtxgen/metadata/metadata.go index 16dcc87fac9..41bcd4b2fe8 100644 --- a/common/tools/configtxgen/metadata/metadata.go +++ b/common/tools/configtxgen/metadata/metadata.go @@ -22,7 +22,7 @@ import ( ) // Package version -const Version = "1.4.8" +const Version = "1.4.9" var CommitSHA string diff --git a/common/tools/configtxlator/metadata/metadata.go b/common/tools/configtxlator/metadata/metadata.go index f5e5e43ed34..6a495ad12b9 100644 --- a/common/tools/configtxlator/metadata/metadata.go +++ b/common/tools/configtxlator/metadata/metadata.go @@ -14,7 +14,7 @@ import ( // package-scoped variables // Package version -const Version = "1.4.8" +const Version = "1.4.9" var CommitSHA string diff --git a/common/tools/cryptogen/metadata/metadata.go b/common/tools/cryptogen/metadata/metadata.go index 2851594c1cd..e4636aac1c1 100644 --- a/common/tools/cryptogen/metadata/metadata.go +++ b/common/tools/cryptogen/metadata/metadata.go @@ -14,7 +14,7 @@ import ( // package-scoped variables // Package version -const Version = "1.4.8" +const Version = "1.4.9" var CommitSHA string diff --git a/common/tools/idemixgen/metadata/metadata.go b/common/tools/idemixgen/metadata/metadata.go index 454a8038935..0c19eb152fd 100644 --- a/common/tools/idemixgen/metadata/metadata.go +++ b/common/tools/idemixgen/metadata/metadata.go @@ -12,7 +12,7 @@ import ( ) // Package version -const Version = "1.4.8" +const Version = "1.4.9" var CommitSHA string diff --git a/release_notes/v1.4.9.md b/release_notes/v1.4.9.md new file mode 100644 index 00000000000..670f4b1bb3e --- /dev/null +++ b/release_notes/v1.4.9.md @@ -0,0 +1,118 @@ +v1.4.9 Release Notes - , , 2020 +==================================== + +Fixes +----- + +**FAB-XXXX** + +Fix Description + + +Dependency updates +------------------ +Bump Go to XXXX. +Bump Fabric baseimage to XXXX. +Fabric v1.4.9 has been tested with CouchDB v2.3.1. + + +Changes, Known Issues, and Workarounds +-------------------------------------- + +**FAB-12134: Same chaincode source receiving fingerprint mismatch error** - +Chaincode installed in different ways may result in "chaincode fingerprint +mismatch data mismatch" error upon instantiation. This may happen when +installing chaincode by using different SDKs. To workaround the problem, +package the chaincode prior to installation and instantiation, by using +the "peer chaincode package" command. + + +Known Vulnerabilities +--------------------- + +**FAB-8664: Peer should detect and react when its org has been removed** +This is a relatively low severity problem, because it requires a significant +conspiracy of network admins, but it will be addressed in a future release. + + +Resolved Vulnerabilities +------------------------ +None. + + +Deprecations +------------ +The following functions are deprecated and are targeted for removal in a future release. + +**Support for automatically vendoring the chaincode shim into user chaincodes** + +The fabric-ccenv image which is used to build chaincode, currently includes +the github.com/hyperledger/fabric/core/chaincode/shim ("shim") package. +This is convenient, as it provides the ability to package chaincode +without the need to include the "shim". However, this may cause issues in future +releases (and/or when trying to use packages which are included by the "shim"). +In order to avoid any issues, users are advised to manually vendor the "shim" +package with their chaincode prior to using the peer CLI for packaging and/or +for installing chaincode. +For more details see FAB-5177. + +**Support for CAR chaincode package format** + +Support for packaging chaincode using the CAR format will be removed in +a future release. +For more details see FAB-14720. + +**Support for specifying orderer endpoints at the global level in channel configuration.** + +Utilize the new 'OrdererEndpoints' stanza within the channel configuration of +an organization instead. +For more details see FAB-7559. + +**Support for invoking system chaincodes from user chaincodes.** + +System chaincodes, for example QSCC, are intended to be invoked by +a client rather than by a user chaincode. Invoking from a user chaincode +may cause deadlocks. +For more details see FAB-15285. + +**Support for user chaincodes to utilize the chaincode shim's logger via NewLogger()** + +Chaincodes that used the shim's NewLogger() will need to shift to their own preferred +logging mechanism. +For more details see FAB-15366. + +**Support for peer's Admin service** + +The peer's Admin service exposes APIs such as GetLogSpec() and SetLogSpec(). +Instead of using these services, utilize the HTTP operations service that was +introduced in v1.4.0. +For more details see FAB-15390. + +**The 'Solo' consensus type is deprecated.** + +With the introduction of Raft-based ordering service in v1.4.1, it is possible +to deploy a single-node (non-production) or multi-node +Raft-based ordering service with no external dependencies. +For single-node (non-production) ordering services, utilize Raft-based ordering +service with a single node instead of Solo ordering service. +For more details see FAB-15754. + +**The 'Kafka' consensus type is deprecated** + +The 'Raft' consensus type was introduced in v1.4.1 and has become the preferred +production consensus type. There is a documented and tested migration path from +Kafka to Raft, and existing users should migrate to the newer Raft consensus type. +For compatibility with existing deployments, Kafka is still supported, +but may be removed entirely in a future release. +Additionally, the fabric-kafka and fabric-zookeeper docker images are no longer updated, maintained, or published. + +**fabric-couchdb docker image no longer updated, maintained, or published** + +The fabric-couchdb docker image will no longer be updated, maintained, or published. +Users can utilize the official CouchDB docker image maintained by the Apache CouchDB project instead. + + +Change log +---------- +For the full list of changes, refer to the release change log: +https://github.com/hyperledger/fabric/blob/release-1.4/CHANGELOG.md#v149