Skip to content

Commit af0b647

Browse files
authored
Release commit for v2.5.12 (#5173)
Release commit for v2.5.12. Signed-off-by: David Enyeart <[email protected]>
1 parent 5aeda4f commit af0b647

File tree

7 files changed

+124
-14
lines changed

7 files changed

+124
-14
lines changed

Makefile

+1-1
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 ?= 22.04
50-
FABRIC_VER ?= 2.5.11
50+
FABRIC_VER ?= 2.5.12
5151

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

docs/source/install.md

+4-4
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.11')
47-
-c, --ca-version: Fabric CA Version (default: '1.5.14')
46+
-f, --fabric-version: FabricVersion (default: '2.5.12')
47+
-c, --ca-version: Fabric CA Version (default: '1.5.15')
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.11 binaries, run this command
73+
For example, to download the v2.5.12 binaries, run this command
7474

7575
```bash
76-
./install-fabric.sh --fabric-version 2.5.11 binary
76+
./install-fabric.sh --fabric-version 2.5.12 binary
7777
```
7878

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

docs/source/whatsnew.rst

+1
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ Specifically, take a look at the changes and deprecations.
345345
* `Fabric v2.5.9 release notes <https://github.com/hyperledger/fabric/releases/tag/v2.5.9>`_.
346346
* `Fabric v2.5.10 release notes <https://github.com/hyperledger/fabric/releases/tag/v2.5.10>`_.
347347
* `Fabric v2.5.11 release notes <https://github.com/hyperledger/fabric/releases/tag/v2.5.11>`_.
348+
* `Fabric v2.5.12 release notes <https://github.com/hyperledger/fabric/releases/tag/v2.5.12>`_.
348349

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

fabric

-1
This file was deleted.

release_notes/v2.5.12.md

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

scripts/bootstrap.sh

+4-4
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.11
9+
VERSION=2.5.12
1010
# if ca version not passed in, default to latest released version
11-
CA_VERSION=1.5.14
11+
CA_VERSION=1.5.15
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.11 1.5.14 -s"
25-
echo "will download docker images and binaries for Fabric v2.5.11 and Fabric CA v1.5.14"
24+
echo "e.g. bootstrap.sh 2.5.12 1.5.15 -s"
25+
echo "will download docker images and binaries for Fabric v2.5.12 and Fabric CA v1.5.15"
2626
}
2727

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

scripts/install-fabric.sh

+4-4
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.11"
25-
_arg_ca_version="1.5.14"
24+
_arg_fabric_version="2.5.12"
25+
_arg_ca_version="1.5.15"
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.11')"
54-
printf '\t%s\n' "-c, --ca-version: Fabric CA Version (default: '1.5.14')"
53+
printf '\t%s\n' "-f, --fabric-version: FabricVersion (default: '2.5.12')"
54+
printf '\t%s\n' "-c, --ca-version: Fabric CA Version (default: '1.5.15')"
5555
}
5656

5757

0 commit comments

Comments
 (0)