From 56c2b126ef097635d2b72f753978c2fa027fb123 Mon Sep 17 00:00:00 2001 From: David Enyeart Date: Fri, 23 Apr 2021 12:50:14 -0400 Subject: [PATCH] v1.4.12 release commit Updates docs and release notes for v1.4.12. Signed-off-by: David Enyeart --- CHANGELOG.md | 7 +++ Makefile | 4 +- docs/source/install.rst | 4 +- docs/source/whatsnew.rst | 1 + release_notes/v1.4.12.md | 122 +++++++++++++++++++++++++++++++++++++++ scripts/bootstrap.sh | 2 +- 6 files changed, 135 insertions(+), 5 deletions(-) create mode 100644 release_notes/v1.4.12.md diff --git a/CHANGELOG.md b/CHANGELOG.md index e58c2125cf8..f0a22a9552e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## v1.4.12 +Fri Apr 23 12:46:22 EDT 2021 + +* [d276ee1](https://github.com/hyperledger/fabric/commit/d276ee1) pkcs11: backport integration test to release-1.4 +* [c810dca](https://github.com/hyperledger/fabric/commit/c810dca) This commit upgrades goleveldb. This upgraded version includes a fix for the manifest file corruption issue [FAB-18304](https://jira.hyperledger.org/browse/FAB-18304). +* [16123fe](https://github.com/hyperledger/fabric/commit/16123fe) Update Docker Publish Script + ## v1.4.11 Wed Feb 24 23:51:43 EST 2021 diff --git a/Makefile b/Makefile index 13db83e77a2..73f7266747c 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.11 -PREV_VERSION = 1.4.10 +BASE_VERSION = 1.4.12 +PREV_VERSION = 1.4.11 CHAINTOOL_RELEASE=1.1.3 BASEIMAGE_RELEASE=0.4.22 diff --git a/docs/source/install.rst b/docs/source/install.rst index c10cb94d642..470fffe1b8e 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -48,12 +48,12 @@ the binaries and images. .. note:: If you want a specific release, pass a version identifier for Fabric, Fabric-ca and thirdparty Docker images. - The command below demonstrates how to download **Fabric v1.4.11** + The command below demonstrates how to download **Fabric v1.4.12** .. code:: bash curl -sSL http://bit.ly/2ysbOFE | bash -s -- - curl -sSL http://bit.ly/2ysbOFE | bash -s -- 1.4.11 1.4.9 0.4.22 + curl -sSL http://bit.ly/2ysbOFE | bash -s -- 1.4.12 1.4.9 0.4.22 .. note:: If you get an error running the above curl command, you may have too old a version of curl that does not handle diff --git a/docs/source/whatsnew.rst b/docs/source/whatsnew.rst index 6ff47e32ead..d69b95898d0 100644 --- a/docs/source/whatsnew.rst +++ b/docs/source/whatsnew.rst @@ -185,6 +185,7 @@ with a link to the full release change log. * `Fabric v1.4.9 release notes `_. * `Fabric v1.4.10 release notes `_. * `Fabric v1.4.11 release notes `_. +* `Fabric v1.4.12 release notes `_. * `Fabric CA v1.4.0 release notes `_. * `Fabric CA v1.4.1 release notes `_. * `Fabric CA v1.4.2 release notes `_. diff --git a/release_notes/v1.4.12.md b/release_notes/v1.4.12.md new file mode 100644 index 00000000000..5817c32ba69 --- /dev/null +++ b/release_notes/v1.4.12.md @@ -0,0 +1,122 @@ +v1.4.12 Release Notes - April 23, 2021 +====================================== + +Fixes +----- + +**FAB-18304: peer and orderer - Fix leveldb manifest corruption** + +This fix updates the version of goleveldb. The prior version of goleveldb had a bug which +could cause manifest corruption in crash scenarios, especially in disk full crash scenarios. +With a corrupted goleveldb database, the peer or orderer would fail to start with error +"panic: Error opening leveldb: leveldb: manifest corrupted". + + +Dependencies +------------ +Fabric v1.4.12 has been tested with the following dependencies: +* Go 1.14.12 +* Fabric baseimage 0.4.22 +* 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 (existing) +----------------------- +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. +Support removed in v2.0. 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. +Support removed in v2.0. For more details see FAB-14720. + +**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. +Support removed in v2.0. 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. +Support removed in v2.0. 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. +Support removed in v2.0. For more details see FAB-15390. + +**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. + +**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#v1412 diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index accc0a06a40..d8fa69d2a44 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -6,7 +6,7 @@ # # if version not passed in, default to latest released version -export VERSION=1.4.11 +export VERSION=1.4.12 # if ca version not passed in, default to latest released version export CA_VERSION=1.4.9 # current version of thirdparty images (couchdb, kafka and zookeeper) released