Skip to content

Commit da502c2

Browse files
authored
Release ouroboros-consensus-0.24 and ouroboros-consensus-cardano-0.23 (#1440)
Companion CHaP PR: IntersectMBO/cardano-haskell-packages#1045
2 parents b0a9ee2 + 0bc9c16 commit da502c2

19 files changed

+62
-78
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Ouroboros Consensus
22

3-
[![consensus](https://img.shields.io/badge/ouroboros--consensus-0.23.0.0-blue)](https://chap.intersectmbo.org/package/ouroboros-consensus-0.23.0.0/)
4-
[![diffusion](https://img.shields.io/badge/ouroboros--consensus--diffusion-0.21.0.0-blue)](https://chap.intersectmbo.org/package/ouroboros-consensus-diffusion-0.21.0.0/)
3+
[![consensus](https://img.shields.io/badge/ouroboros--consensus-0.24.0.0-blue)](https://chap.intersectmbo.org/package/ouroboros-consensus-0.24.0.0/)
4+
[![diffusion](https://img.shields.io/badge/ouroboros--consensus--diffusion-0.21.0.1-blue)](https://chap.intersectmbo.org/package/ouroboros-consensus-diffusion-0.21.0.1/)
55
[![protocol](https://img.shields.io/badge/ouroboros--consensus--protocol-0.11.0.0-blue)](https://chap.intersectmbo.org/package/ouroboros-consensus-protocol-0.11.0.0/)
6-
[![cardano](https://img.shields.io/badge/ouroboros--consensus--cardano-0.22.0.0-blue)](https://chap.intersectmbo.org/package/ouroboros-consensus-cardano-0.22.0.0/)
7-
[![sop-extras](https://img.shields.io/badge/sop--extras-0.2.2.0-blue)](https://chap.intersectmbo.org/package/sop-extras-0.2.2.0/)
6+
[![cardano](https://img.shields.io/badge/ouroboros--consensus--cardano-0.23.0.0-blue)](https://chap.intersectmbo.org/package/ouroboros-consensus-cardano-0.23.0.0/)
7+
[![sop-extras](https://img.shields.io/badge/sop--extras-0.3.0.0-blue)](https://chap.intersectmbo.org/package/sop-extras-0.3.0.0/)
88
[![strict-sop-core](https://img.shields.io/badge/strict--sop--core-0.1.3.0-blue)](https://chap.intersectmbo.org/package/strict-sop-core-0.1.3.0/)
99

1010

ouroboros-consensus-cardano/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
# Changelog entries
44

5+
<a id='changelog-0.23.0.0'></a>
6+
## 0.23.0.0 -- 2025-04-03
7+
8+
### Breaking
9+
10+
- Define `blockQueryIsSupportedOnVersion` for Byron and Shelley.
11+
- For Shelley, this is just a relocation of the now gone `querySupportedVersion` function.
12+
- Update now that `ImmutableEraParams` was split out
13+
514
<a id='changelog-0.22.0.0'></a>
615
## 0.22.0.0 -- 2025-03-25
716

ouroboros-consensus-cardano/changelog.d/20241218_095046_nick.frisby_annotate_headers_with_time.md

-23
This file was deleted.

ouroboros-consensus-cardano/changelog.d/js-index.md

-1
This file was deleted.

ouroboros-consensus-cardano/changelog.d/js-query-version.md

-4
This file was deleted.

ouroboros-consensus-cardano/ouroboros-consensus-cardano.cabal

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 3.0
22
name: ouroboros-consensus-cardano
3-
version: 0.22.0.0
3+
version: 0.23.0.0
44
synopsis:
55
The instantation of the Ouroboros consensus layer used by Cardano
66

@@ -154,13 +154,13 @@ library
154154
microlens,
155155
mtl,
156156
nothunks,
157-
ouroboros-consensus ^>=0.23,
157+
ouroboros-consensus ^>=0.24,
158158
ouroboros-consensus-protocol ^>=0.11,
159159
ouroboros-network-api ^>=0.13,
160160
serialise ^>=0.2,
161161
small-steps,
162162
sop-core ^>=0.5,
163-
sop-extras ^>=0.2,
163+
sop-extras ^>=0.3,
164164
strict-sop-core ^>=0.1,
165165
text,
166166
these ^>=1.2,
@@ -199,7 +199,7 @@ library unstable-byronspec
199199
containers >=0.5 && <0.8,
200200
mtl,
201201
nothunks,
202-
ouroboros-consensus ^>=0.23,
202+
ouroboros-consensus ^>=0.24,
203203
serialise ^>=0.2,
204204
small-steps,
205205
transformers,
@@ -556,7 +556,7 @@ library unstable-cardano-tools
556556
network,
557557
network-mux,
558558
nothunks,
559-
ouroboros-consensus ^>=0.23,
559+
ouroboros-consensus ^>=0.24,
560560
ouroboros-consensus-cardano,
561561
ouroboros-consensus-diffusion ^>=0.21,
562562
ouroboros-consensus-protocol:unstable-protocol-testlib,

ouroboros-consensus-diffusion/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
# Changelog entries
44

5+
<a id='changelog-0.21.0.1'></a>
6+
## 0.21.0.1 -- 2025-04-03
7+
8+
### Patch
9+
10+
- Tighten lower bounds on `ouroboros-consensus` for the sake of
11+
testlibs.
12+
513
<a id='changelog-0.21.0.0'></a>
614
## 0.21.0.0 -- 2025-03-25
715

ouroboros-consensus-diffusion/changelog.d/js-query-version.md

-1
This file was deleted.

ouroboros-consensus-diffusion/ouroboros-consensus-diffusion.cabal

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 3.0
22
name: ouroboros-consensus-diffusion
3-
version: 0.21.0.0
3+
version: 0.21.0.1
44
synopsis: Integration for the Ouroboros Network layer
55
description:
66
Top level integration for consensus & network layers of the Ouroboros blockchain protocol.
@@ -91,7 +91,7 @@ library
9191
io-classes ^>=1.5,
9292
mtl,
9393
network-mux ^>=0.7,
94-
ouroboros-consensus ^>=0.23,
94+
ouroboros-consensus ^>=0.24,
9595
ouroboros-network ^>=0.20.1,
9696
ouroboros-network-api ^>=0.13,
9797
ouroboros-network-framework ^>=0.17,
@@ -156,7 +156,7 @@ library unstable-diffusion-testlib
156156
resource-registry,
157157
si-timers,
158158
sop-core ^>=0.5,
159-
sop-extras ^>=0.2,
159+
sop-extras ^>=0.3,
160160
strict-sop-core ^>=0.1,
161161
strict-stm,
162162
text,

ouroboros-consensus-protocol/ouroboros-consensus-protocol.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ library
7676
containers,
7777
mtl,
7878
nothunks,
79-
ouroboros-consensus ^>=0.23,
79+
ouroboros-consensus >=0.23 && <0.25,
8080
serialise,
8181
text,
8282

ouroboros-consensus/CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
# Changelog entries
44

5+
<a id='changelog-0.24.0.0'></a>
6+
## 0.24.0.0 -- 2025-04-03
7+
8+
### Non-Breaking
9+
10+
- Define some functions in terms of SOP combinators leveraging the recent
11+
simplification of `Index` in `sop-extras` package.
12+
13+
### Breaking
14+
15+
- Add method `blockQueryIsSupportedOnVersion` to `BlockSupportsLedgerQuery`.
16+
- Export new function `querySupportedVersions`.
17+
- Split out `ImmutableEraParams` so that the test blocks don't have to
18+
instantiate the `SingleEraBlock` omnibus.
19+
- Remove the `NoThunks Bimap` orphan instance (it's now upstream in
20+
the `resource-registry` library).
21+
522
<a id='changelog-0.23.0.0'></a>
623
## 0.23.0.0 -- 2025-03-25
724

ouroboros-consensus/changelog.d/20241218_095010_nick.frisby_annotate_headers_with_time.md

-19
This file was deleted.

ouroboros-consensus/changelog.d/js-index.md

-4
This file was deleted.

ouroboros-consensus/changelog.d/js-query-version.md

-4
This file was deleted.

ouroboros-consensus/ouroboros-consensus.cabal

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 3.0
22
name: ouroboros-consensus
3-
version: 0.23.0.0
3+
version: 0.24.0.0
44
synopsis: Consensus layer for the Ouroboros blockchain protocol
55
description: Consensus layer for the Ouroboros blockchain protocol.
66
license: Apache-2.0
@@ -308,7 +308,7 @@ library
308308
si-timers ^>=1.5,
309309
small-steps ^>=1.1,
310310
sop-core ^>=0.5,
311-
sop-extras ^>=0.2,
311+
sop-extras ^>=0.3,
312312
streaming,
313313
strict >=0.1 && <0.6,
314314
strict-checked-vars ^>=0.2,

scripts/ci/check-changelogs.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,10 @@ if [ "${RELEASE_LABEL}" = "true" ]; then
7070
echo "This PR is said to be a release. Checking that changelog.d directories are in fact empty"
7171
for p in "${packages[@]}"; do
7272
if [ 1 = $(ls -1 $p/changelog.d | wc -l) ]; then
73-
printf "\t- %s OK" "$p"
73+
printf "\t- %s OK\n" "$p"
7474
else
75-
printf "\t- %s ERROR: There are fragments remaining in changelog.d!"
75+
printf "\t- %s ERROR: There are fragments remaining in changelog.d:\n" "$p"
76+
ls -1 $p/changelog.d
7677
exit 1
7778
fi
7879
done

sop-extras/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
# Changelog entries
44

5+
<a id='changelog-0.3.0.0'></a>
6+
## 0.3.0.0 -- 2025-04-03
7+
8+
### Breaking
9+
10+
- Refactor `Index` to use `NS ((:~:) x) xs`. Pattern synonyms `IZ` and `IS` are
11+
provided, making this change transparent for users. Some functions need
12+
additional constraints, hence the breaking nature of this change.
13+
514
<a id='changelog-0.2.2.0'></a>
615
## 0.2.2.0 -- 2025-03-25
716

sop-extras/changelog.d/js-index.md

-4
This file was deleted.

sop-extras/sop-extras.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description:
55
This package provides some more constructs that are not present on the
66
@sop-core@ package but built upon the same foundations.
77

8-
version: 0.2.2.0
8+
version: 0.3.0.0
99
license: Apache-2.0
1010
license-files:
1111
LICENSE

0 commit comments

Comments
 (0)