Skip to content

Commit 4072367

Browse files
committed
Release commit for v2.5.5
Add docs and release notes for v2.5.5 release. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
1 parent 93bef10 commit 4072367

6 files changed

Lines changed: 116 additions & 13 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
UBUNTU_VER ?= 20.04
50-
FABRIC_VER ?= 2.5.4
50+
FABRIC_VER ?= 2.5.5
5151

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

docs/source/install.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ Run the script with the `-h` option to see the options:
4343
./install-fabric.sh -h
4444
Usage: ./install-fabric.sh [-f|--fabric-version <arg>] [-c|--ca-version <arg>] <comp-1> [<comp-2>] ... [<comp-n>] ...
4545
<comp>: Component to install one or more of d[ocker]|b[inary]|s[amples]. If none specified, all will be installed
46-
-f, --fabric-version: FabricVersion (default: '2.5.4')
47-
-c, --ca-version: Fabric CA Version (default: '1.5.6')
46+
-f, --fabric-version: FabricVersion (default: '2.5.5')
47+
-c, --ca-version: Fabric CA Version (default: '1.5.7')
4848
```
4949

5050
## Choosing which components
@@ -70,10 +70,10 @@ If no arguments are supplied, then the arguments `docker binary samples` are ass
7070

7171
By default the latest version of the components are used; these can be altered by using the options `--fabric-version` and `-ca-version`. `-f` and `-c` are the respective short forms.
7272

73-
For example, to download the v2.5.4 binaries, run this command
73+
For example, to download the v2.5.5 binaries, run this command
7474

7575
```bash
76-
./install-fabric.sh --fabric-version 2.5.4 binary
76+
./install-fabric.sh --fabric-version 2.5.5 binary
7777
```
7878

7979
You have completed installing Fabric samples, Docker images, and binaries to your system.

docs/source/whatsnew.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ Specifically, take a look at the changes and deprecations.
338338
* `Fabric v2.5.2 release notes <https://github.com/hyperledger/fabric/releases/tag/v2.5.2>`_.
339339
* `Fabric v2.5.3 release notes <https://github.com/hyperledger/fabric/releases/tag/v2.5.3>`_.
340340
* `Fabric v2.5.4 release notes <https://github.com/hyperledger/fabric/releases/tag/v2.5.4>`_.
341+
* `Fabric v2.5.5 release notes <https://github.com/hyperledger/fabric/releases/tag/v2.5.5>`_.
341342

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

release_notes/v2.5.5.md

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

scripts/bootstrap.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
#
77

88
# if version not passed in, default to latest released version
9-
VERSION=2.5.4
9+
VERSION=2.5.5
1010
# if ca version not passed in, default to latest released version
11-
CA_VERSION=1.5.6
11+
CA_VERSION=1.5.7
1212
ARCH=$(echo "$(uname -s|tr '[:upper:]' '[:lower:]'|sed 's/mingw64_nt.*/windows/')-$(uname -m |sed 's/x86_64/amd64/g')" |sed 's/darwin-arm64/darwin-amd64/g')
1313
MARCH=$(uname -m)
1414

@@ -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.5.4 1.5.6 -s"
25-
echo "will download docker images and binaries for Fabric v2.5.4 and Fabric CA v1.5.6"
24+
echo "e.g. bootstrap.sh 2.5.5 1.5.7 -s"
25+
echo "will download docker images and binaries for Fabric v2.5.5 and Fabric CA v1.5.7"
2626
}
2727

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

scripts/install-fabric.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ _arg_comp=('' )
2121

2222
# if version not passed in, default to latest released version
2323
# if ca version not passed in, default to latest released version
24-
_arg_fabric_version="2.5.4"
25-
_arg_ca_version="1.5.6"
24+
_arg_fabric_version="2.5.5"
25+
_arg_ca_version="1.5.7"
2626

2727
REGISTRY=${FABRIC_DOCKER_REGISTRY:-docker.io/hyperledger}
2828
ARCH=$(echo "$(uname -s|tr '[:upper:]' '[:lower:]'|sed 's/mingw64_nt.*/windows/')-$(uname -m |sed 's/x86_64/amd64/g')")
@@ -50,8 +50,8 @@ print_help()
5050
{
5151
printf 'Usage: %s [-f|--fabric-version <arg>] [-c|--ca-version <arg>] <comp-1> [<comp-2>] ... [<comp-n>] ...\n' "$0"
5252
printf '\t%s\n' "<comp> Component to install, one or more of docker | binary | samples | podman First letter of component also accepted; If none specified docker | binary | samples is assumed"
53-
printf '\t%s\n' "-f, --fabric-version: FabricVersion (default: '2.5.4')"
54-
printf '\t%s\n' "-c, --ca-version: Fabric CA Version (default: '1.5.6')"
53+
printf '\t%s\n' "-f, --fabric-version: FabricVersion (default: '2.5.5')"
54+
printf '\t%s\n' "-c, --ca-version: Fabric CA Version (default: '1.5.7')"
5555
}
5656

5757

0 commit comments

Comments
 (0)