Skip to content

Commit c72efd2

Browse files
authored
Release commit for v2.4.8 (#3955)
Update docs and release notes for v2.4.8. Signed-off-by: David Enyeart <enyeart@us.ibm.com> Signed-off-by: David Enyeart <enyeart@us.ibm.com>
1 parent 85ed6f5 commit c72efd2

6 files changed

Lines changed: 123 additions & 8 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
# - verify - runs unit tests for only the changed package tree
4848

4949
ALPINE_VER ?= 3.16
50-
BASE_VERSION = 2.4.7
50+
BASE_VERSION = 2.4.8
5151

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

docs/source/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ To view the help and available commands for the download script, please use the
4646
curl -sSL https://bit.ly/2ysbOFE | bash -s -- -h
4747
```
4848

49-
To download a specific release, pass a version identifier for Fabric and Fabric CA Docker images. The command below demonstrates how to download the latest production releases - `Fabric v2.4.7` and `Fabric CA v1.5.5` 
49+
To download a specific release, pass a version identifier for Fabric and Fabric CA Docker images. The command below demonstrates how to download the latest production releases - `Fabric v2.4.8` and `Fabric CA v1.5.5` 
5050

5151
```shell
5252
curl -sSL https://bit.ly/2ysbOFE | bash -s -- <fabric_version> <fabric-ca_version>
53-
curl -sSL https://bit.ly/2ysbOFE | bash -s -- 2.4.7 1.5.5
53+
curl -sSL https://bit.ly/2ysbOFE | bash -s -- 2.4.8 1.5.5
5454
```
5555

5656
## Notes

docs/source/whatsnew.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ announced in each of the v2.x releases.
341341
* `Fabric v2.4.5 release notes <https://github.com/hyperledger/fabric/releases/tag/v2.4.5>`_.
342342
* `Fabric v2.4.6 release notes <https://github.com/hyperledger/fabric/releases/tag/v2.4.6>`_.
343343
* `Fabric v2.4.7 release notes <https://github.com/hyperledger/fabric/releases/tag/v2.4.7>`_.
344+
* `Fabric v2.4.8 release notes <https://github.com/hyperledger/fabric/releases/tag/v2.4.8>`_.
344345

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

release_notes/v2.4.8.md

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
v2.4.8 Release Notes - January 26, 2023
2+
=======================================
3+
4+
Fixes
5+
-----
6+
7+
**Peer gateway service now retries failed submissions to ordering service nodes**
8+
9+
The peer gateway service is designed to reduce the burden of client application development including delegation of error handling and retries to the peer gateway service so that client applications can focus on business functionality.
10+
When peer gateway service receives a 500 error from an ordering service node upon transaction submission, it will now retry the submission on the other ordering service nodes.
11+
12+
**Peer gateway service broadcastTimeout for submissions to ordering service nodes**
13+
14+
If an ordering service node didn't respond to a peer gateway service transaction submission, then the submit call would timeout without allowing other ordering nodes to be tried.
15+
A new peer local configuration `peer.gateway.broadcastTimeout` has been added to specify the timeout when submitting to individual ordering service nodes before the overall submit timeout expires.
16+
A similar configuration `peer.gateway.endorsementTimeout` already exists for calls to endorser peers.
17+
18+
**Peer gateway service now applies orderer endpoint overrides**
19+
20+
The peer local configuration in `peer.deliverclient.addressOverrides` allows endpoint addresses and TLS root certs for ordering nodes to be overridden.
21+
Orderer endpoint overrides are useful when orderer nodes have been updated but a peer has not yet processed the relevant configuration transaction.
22+
The peer gateway service now applies these overrides when connecting to orderer nodes for transaction submit.
23+
24+
25+
Dependencies
26+
------------
27+
Fabric v2.4.8 has been tested with the following dependencies:
28+
* Go 1.18.10
29+
* CouchDB v3.2.2
30+
31+
Fabric docker images on dockerhub utilize Alpine 3.16.
32+
33+
34+
Deprecations (existing)
35+
-----------------------
36+
37+
**Ordering service system channel is deprecated**
38+
39+
v2.3 introduced the ability to manage an ordering service without a system channel.
40+
Managing an ordering service without a system channel has privacy, scalability,
41+
and operational benefits. The use of a system channel is deprecated and may be removed in a future release.
42+
For information about removal of the system channel, see the [Create a channel without system channel documentation](https://hyperledger-fabric.readthedocs.io/en/release-2.3/create_channel/create_channel_participation.html).
43+
44+
**FAB-15754: The 'Solo' consensus type is deprecated.**
45+
46+
The 'Solo' consensus type has always been marked non-production and should be in
47+
use only in test environments, however for compatibility it is still available,
48+
but may be removed entirely in a future release.
49+
50+
**FAB-16408: The 'Kafka' consensus type is deprecated.**
51+
52+
The 'Raft' consensus type was introduced in v1.4.1 and has become the preferred
53+
production consensus type. There is a documented and tested migration path from
54+
Kafka to Raft, and existing users should migrate to the newer Raft consensus type.
55+
For compatibility with existing deployments, Kafka is still supported,
56+
but may be removed entirely in a future release.
57+
Additionally, the fabric-kafka and fabric-zookeeper docker images are no longer updated, maintained, or published.
58+
59+
**Fabric CouchDB image is deprecated**
60+
61+
v2.2.0 added support for CouchDB 3.1.0 as the recommended and tested version of CouchDB.
62+
If prior versions are utilized, a Warning will appear in peer log.
63+
Note that CouchDB 3.1.0 requires that an admin username and password be set,
64+
while this was optional in CouchDB v2.x. See the
65+
[Fabric CouchDB documentation](https://hyperledger-fabric.readthedocs.io/en/v2.2.0/couchdb_as_state_database.html#couchdb-configuration)
66+
for configuration details.
67+
Also note that CouchDB 3.1.0 default max_document_size is reduced to 8MB. Set a higher value if needed in your environment.
68+
Finally, the fabric-couchdb docker image will not be updated to v3.1.0 and will no longer be updated, maintained, or published.
69+
Users can utilize the official CouchDB docker image maintained by the Apache CouchDB project instead.
70+
71+
**FAB-7559: Support for specifying orderer endpoints at the global level in channel configuration is deprecated.**
72+
73+
Utilize the new 'OrdererEndpoints' stanza within the channel configuration of an organization instead.
74+
Configuring orderer endpoints at the organization level accommodates
75+
scenarios where orderers are run by different organizations. Using
76+
this configuration ensures that only the TLS CA certificates of that organization
77+
are used for orderer communications, in contrast to the global channel level endpoints which
78+
would cause an aggregation of all orderer TLS CA certificates across
79+
all orderer organizations to be used for orderer communications.
80+
81+
**FAB-17428: Support for configtxgen flag `--outputAnchorPeersUpdate` is deprecated.**
82+
83+
The `--outputAnchorPeersUpdate` mechanism for updating anchor peers has always had
84+
limitations (for instance, it only works the first time anchor peers are updated).
85+
Instead, anchor peer updates should be performed through the normal config update flow.
86+
87+
**FAB-15406: The fabric-tools docker image is deprecated**
88+
89+
The fabric-tools docker image will not be published in future Fabric releases.
90+
Instead of using the fabric-tools docker image, users should utilize the
91+
published Fabric binaries. The Fabric binaries can be used to make client calls
92+
to Fabric runtime components, regardless of where the Fabric components are running.
93+
94+
**FAB-15317: Block dissemination via gossip is deprecated**
95+
96+
Block dissemination via gossip is deprecated and may be removed in a future release.
97+
Fabric peers can be configured to receive blocks directly from an ordering service
98+
node and not gossip blocks by using the following configuration:
99+
```
100+
peer.gossip.orgLeader: true
101+
peer.gossip.useLeaderElection: false
102+
peer.gossip.state.enabled: false
103+
peer.deliveryclient.blockGossipEnabled: false
104+
```
105+
106+
**FAB-15061: Legacy chaincode lifecycle is deprecated**
107+
108+
The legacy chaincode lifecycle from v1.x is deprecated and will be removed
109+
in a future release. To prepare for the eventual removal, utilize the v2.x
110+
chaincode lifecycle instead, by enabling V2_0 application capability on all
111+
channels, and redeploying all chaincodes using the v2.x lifecycle. The new
112+
chaincode lifecycle provides a more flexible and robust governance model
113+
for chaincodes. For more details see the
114+
[documentation for enabling the new lifecycle](https://hyperledger-fabric.readthedocs.io/en/release-2.2/enable_cc_lifecycle.html).

scripts/bootstrap.sh

Lines changed: 3 additions & 3 deletions
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.4.7
9+
VERSION=2.4.8
1010
# if ca version not passed in, default to latest released version
1111
CA_VERSION=1.5.5
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.4.7 1.5.5 -s"
25-
echo "will download docker images and binaries for Fabric v2.4.7 and Fabric CA v1.5.5"
24+
echo "e.g. bootstrap.sh 2.4.8 1.5.5 -s"
25+
echo "will download docker images and binaries for Fabric v2.4.8 and Fabric CA v1.5.5"
2626
}
2727

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

scripts/install-fabric.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ _arg_comp=('' )
2323

2424
# if version not passed in, default to latest released version
2525
# if ca version not passed in, default to latest released version
26-
_arg_fabric_version="2.4.7"
26+
_arg_fabric_version="2.4.8"
2727
_arg_ca_version="1.5.5"
2828

2929
ARCH=$(echo "$(uname -s|tr '[:upper:]' '[:lower:]'|sed 's/mingw64_nt.*/windows/')-$(uname -m | sed 's/x86_64/amd64/g')")
@@ -51,7 +51,7 @@ print_help()
5151
{
5252
printf 'Usage: %s [-f|--fabric-version <arg>] [-c|--ca-version <arg>] <comp-1> [<comp-2>] ... [<comp-n>] ...\n' "$0"
5353
printf '\t%s\n' "<comp>: Component to install one or more of d[ocker]|b[inary]|s[amples]. If none specified, all will be installed"
54-
printf '\t%s\n' "-f, --fabric-version: FabricVersion (default: '2.4.7')"
54+
printf '\t%s\n' "-f, --fabric-version: FabricVersion (default: '2.4.8')"
5555
printf '\t%s\n' "-c, --ca-version: Fabric CA Version (default: '1.5.5')"
5656
}
5757

0 commit comments

Comments
 (0)