Skip to content

Commit 5b59831

Browse files
denyeartmanish-sethi
authored andcommitted
Release commit for v2.2.8
Update release notes and docs for v2.2.8. Signed-off-by: David Enyeart <[email protected]>
1 parent 5f30d58 commit 5b59831

File tree

5 files changed

+102
-6
lines changed

5 files changed

+102
-6
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
# - verify - runs unit tests for only the changed package tree
4646

4747
ALPINE_VER ?= 3.16
48-
BASE_VERSION = 2.2.7
48+
BASE_VERSION = 2.2.8
4949

5050
# 3rd party image version
5151
# These versions are also set in the runners in ./integration/runners/

docs/source/install.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ the binaries and images.
4747
4848
.. note:: If you want a specific release, pass a version identifier for Fabric and Fabric-CA docker images.
4949
The command below demonstrates how to download the latest production releases -
50-
**Fabric v2.2.7** and **Fabric CA v1.5.3**
50+
**Fabric v2.2.8** and **Fabric CA v1.5.3**
5151

5252
.. code:: bash
5353
5454
curl -sSL https://bit.ly/2ysbOFE | bash -s -- <fabric_version> <fabric-ca_version>
55-
curl -sSL https://bit.ly/2ysbOFE | bash -s -- 2.2.7 1.5.3
55+
curl -sSL https://bit.ly/2ysbOFE | bash -s -- 2.2.8 1.5.3
5656
5757
.. note:: If you get an error running the above curl command, you may
5858
have too old a version of curl that does not handle

docs/source/whatsnew.rst

+1
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ announced in each of the v2.x releases.
227227
* `Fabric v2.2.5 release notes <https://github.com/hyperledger/fabric/releases/tag/v2.2.5>`_.
228228
* `Fabric v2.2.6 release notes <https://github.com/hyperledger/fabric/releases/tag/v2.2.6>`_.
229229
* `Fabric v2.2.7 release notes <https://github.com/hyperledger/fabric/releases/tag/v2.2.7>`_.
230+
* `Fabric v2.2.8 release notes <https://github.com/hyperledger/fabric/releases/tag/v2.2.8>`_.
230231

231232
.. Licensed under Creative Commons Attribution 4.0 International License
232233
https://creativecommons.org/licenses/by/4.0/

release_notes/v2.2.8.md

+95
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
v2.2.8 Release Notes - August 8, 2022
2+
=====================================
3+
4+
Improvements
5+
------------
6+
7+
**peer - Ability to override core.yaml chaincode.externalBuilders via environment variable**
8+
9+
Since chaincode.externalBuilders is an array, it previously was not possible to set via environment variable override.
10+
It is now possible to override chaincode.externalBuilders using an environment variable
11+
using the format CORE_CHAINCODE_EXTERNALBUILDERS=[{name: x, path: dir1}, {name: y, path: dir2}].
12+
13+
14+
Dependencies
15+
------------
16+
Fabric v2.2.8 has been tested with the following dependencies:
17+
* Go 1.18.2
18+
* CouchDB v3.2.2
19+
20+
Fabric docker images on dockerhub utilize Alpine 3.16.
21+
22+
Deprecations (existing)
23+
-----------------------
24+
25+
**FAB-15754: The 'Solo' consensus type is deprecated.**
26+
27+
The 'Solo' consensus type has always been marked non-production and should be in
28+
use only in test environments, however for compatibility it is still available,
29+
but may be removed entirely in a future release.
30+
31+
**FAB-16408: The 'Kafka' consensus type is deprecated.**
32+
33+
The 'Raft' consensus type was introduced in v1.4.1 and has become the preferred
34+
production consensus type. There is a documented and tested migration path from
35+
Kafka to Raft, and existing users should migrate to the newer Raft consensus type.
36+
For compatibility with existing deployments, Kafka is still supported,
37+
but may be removed entirely in a future release.
38+
Additionally, the fabric-kafka and fabric-zookeeper docker images are no longer updated, maintained, or published.
39+
40+
**Fabric CouchDB image is deprecated**
41+
42+
v2.2.0 added support for CouchDB 3.1.0 as the recommended and tested version of CouchDB.
43+
If prior versions are utilized, a Warning will appear in peer log.
44+
Note that CouchDB 3.1.0 requires that an admin username and password be set,
45+
while this was optional in CouchDB v2.x. See the
46+
[Fabric CouchDB documentation](https://hyperledger-fabric.readthedocs.io/en/v2.2.0/couchdb_as_state_database.html#couchdb-configuration)
47+
for configuration details.
48+
Also note that CouchDB 3.1.0 default max_document_size is reduced to 8MB. Set a higher value if needed in your environment.
49+
Finally, the fabric-couchdb docker image will not be updated to v3.1.0 and will no longer be updated, maintained, or published.
50+
Users can utilize the official CouchDB docker image maintained by the Apache CouchDB project instead.
51+
52+
**FAB-7559: Support for specifying orderer endpoints at the global level in channel configuration is deprecated.**
53+
54+
Utilize the new 'OrdererEndpoints' stanza within the channel configuration of an organization instead.
55+
Configuring orderer endpoints at the organization level accommodates
56+
scenarios where orderers are run by different organizations. Using
57+
this configuration ensures that only the TLS CA certificates of that organization
58+
are used for orderer communications, in contrast to the global channel level endpoints which
59+
would cause an aggregation of all orderer TLS CA certificates across
60+
all orderer organizations to be used for orderer communications.
61+
62+
**FAB-17428: Support for configtxgen flag `--outputAnchorPeersUpdate` is deprecated.**
63+
64+
The `--outputAnchorPeersUpdate` mechanism for updating anchor peers has always had
65+
limitations (for instance, it only works the first time anchor peers are updated).
66+
Instead, anchor peer updates should be performed through the normal config update flow.
67+
68+
**FAB-15406: The fabric-tools docker image is deprecated**
69+
70+
The fabric-tools docker image will not be published in future Fabric releases.
71+
Instead of using the fabric-tools docker image, users should utilize the
72+
published Fabric binaries. The Fabric binaries can be used to make client calls
73+
to Fabric runtime components, regardless of where the Fabric components are running.
74+
75+
**FAB-15317: Block dissemination via gossip is deprecated**
76+
77+
Block dissemination via gossip is deprecated and may be removed in a future release.
78+
Fabric peers can be configured to receive blocks directly from an ordering service
79+
node by using the following configuration:
80+
```
81+
peer.gossip.orgLeader: true
82+
peer.gossip.useLeaderElection: false
83+
peer.gossip.state.enabled: false
84+
peer.deliveryclient.blockGossipEnabled: false
85+
```
86+
87+
**FAB-15061: Legacy chaincode lifecycle is deprecated**
88+
89+
The legacy chaincode lifecycle from v1.x is deprecated and will be removed
90+
in a future release. To prepare for the eventual removal, utilize the v2.x
91+
chaincode lifecycle instead, by enabling V2_0 application capability on all
92+
channels, and redeploying all chaincodes using the v2.x lifecycle. The new
93+
chaincode lifecycle provides a more flexible and robust governance model
94+
for chaincodes. For more details see the
95+
[documentation for enabling the new lifecycle](https://hyperledger-fabric.readthedocs.io/en/release-2.2/enable_cc_lifecycle.html).

scripts/bootstrap.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77

88
# if version not passed in, default to latest released version
9-
VERSION=2.2.7
9+
VERSION=2.2.8
1010
# if ca version not passed in, default to latest released version
1111
CA_VERSION=1.5.3
1212
ARCH=$(echo "$(uname -s|tr '[:upper:]' '[:lower:]'|sed 's/mingw64_nt.*/windows/')-$(uname -m | sed 's/x86_64/amd64/g')")
@@ -21,8 +21,8 @@ printHelp() {
2121
echo "-s : bypass fabric-samples repo clone"
2222
echo "-b : bypass download of platform-specific binaries"
2323
echo
24-
echo "e.g. bootstrap.sh 2.2.7 1.5.3 -s"
25-
echo "will download docker images and binaries for Fabric v2.2.7 and Fabric CA v1.5.3"
24+
echo "e.g. bootstrap.sh 2.2.8 1.5.3 -s"
25+
echo "will download docker images and binaries for Fabric v2.2.8 and Fabric CA v1.5.3"
2626
}
2727

2828
# dockerPull() pulls docker images from fabric and chaincode repositories

0 commit comments

Comments
 (0)