Skip to content

Commit de71074

Browse files
committed
Release 0.21.0
1 parent 5c7080d commit de71074

File tree

15 files changed

+54
-50
lines changed

15 files changed

+54
-50
lines changed

CHANGELOG.md

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
As a minor extension, we also keep a semantic version for the `UNRELEASED`
99
changes.
1010

11-
## [0.21.0] - UNRELEASED
11+
## [0.21.0] - 2025-04-28
1212

13-
- New metric for counting the number of active peers: `hydra_head_peers_connected`
1413
- **BREAKING** Switch to using `etcd` internally to establish a reliable L2 network
1514
- New run-time dependency onto `etcd` binary
1615
- The peer network options to `hydra-node` (`--peer`) need to match across the Hydra network.
@@ -27,11 +26,16 @@ changes.
2726
ETCD_AUTO_COMPACTION_RETENTION=168h
2827
```
2928
30-
- Changed default contestation period to 600 seconds and deposit deadline to 3600 seconds.
31-
32-
- Introduce an option to publish hydra scripts using blockfrost.
29+
- **BREAKING** Enable multi-party, networked "offline" heads by providing an `--offline-head-seed` option to `hydra-node`.
30+
- Drop `hydra-node offline` as a sub-command. Use `--offline-head-seed` and `--initial-utxo` options to switch to offline mode.
3331
34-
- Remove checks that rely on hydra-node's local state and trust on-chain data when we observe decrement/recover transactions.
32+
- **BREAKING** API changes
33+
- API Server does **NOT** serve the event history by default any more. Clients need to add a query parameter `?history=yes` in order to obtain the history.
34+
- Remove `GetUTxO` client input and corresponding `GetUTxOResponse`. There is already a way to query the `UTxO` in the Head with `GET /snapshot/utxo` query.
35+
- Renamed 'CommitFinalized' field 'theDeposit' to 'depositTxId'.
36+
- We now store the `time` in `StateEvent` which is a breaking change to our persistence loading
37+
- Query parameter `?address=..` does **NOT** filter `TxValid` and `TxInvalid` server outputs anymore.
38+
- Removed the `transaction` from `TxValid` server outputs. Use `SnapshotConfirmed` to determine what transactions got confirmed intead!
3539
3640
- Fix a bug in increment observation where wrong deposited UTxO was picked up.
3741
@@ -41,38 +45,35 @@ changes.
4145
- A problematic transaction will now be ignored and not deemed a valid head protocol transaction.
4246
- An example was if the datum would contain CBOR instead of just hex encoded bytes.
4347
44-
- **BREAKING** Enable multi-party, networked "offline" heads by providing an `--offline-head-seed` option to `hydra-node`.
45-
- Drop `hydra-node offline` as a sub-command. Use `--offline-head-seed` and `--initial-utxo` options to switch to offline mode.
48+
- Fix a bug on HeadFannedOut as it should always display the observed fanned-out UTxO instead of local confirmed snapshot.
49+
50+
- API Additions
51+
- Add query (GET /snapshot/last-seen) to fetch the latest seen snapshot by a node and help identify non-cooperating peers.
52+
- Add command (POST /snapshot) to adopt the given snapshot as the latest confirmed.
53+
* add new `SideLoadSnapshot` client input.
54+
* add new `LocalStateCleared` state changed event.
55+
* add new `SnapshotSideLoaded` server output.
56+
* add new `SideLoadSnapshotFailed` logic error.
57+
58+
- Changed default contestation period to 600 seconds and deposit deadline to 3600 seconds.
4659
4760
- Add support for "withdraw zero trick" transactions:
4861
- Any transaction with a `Rewarding` redeemer for a `Withdrawal` of `0 lovelace`, will be validated as if there would be a corresponding stake `RewardAccount` already registered.
4962
- No need to register the script's stake address before.
5063
51-
- Stream historical data from disk in the hydra-node API server.
64+
- Remove checks that rely on hydra-node's local state and trust on-chain data when we observe decrement/recover transactions.
5265
53-
- Record used and free memory when running `bench-e2e` benchmark.
66+
- Publish scripts using blockfrost via new `hydra-node publish-scripts --blockfrost` option.
5467
55-
- Submit observations to a `hydra-explorer` via optional `--explorer` option.
56-
57-
- Add API query (GET /snapshot/last-seen) to fetch the latest seen snapshot by a node and help identify non-cooperating peers.
68+
- New metric for counting the number of active peers: `hydra_head_peers_connected`
5869
59-
- Bugfix: HeadFannedOut should always display the observed fanned-out UTxO instead of local confirmed snapshot.
70+
- Record used and free memory when running `bench-e2e` benchmark.
6071
61-
- **BREAKING** API changes
62-
- API Server does **NOT** serve the event history by default any more. Clients need to add a query parameter `?history=yes` in order to obtain the history.
63-
- Remove `GetUTxO` client input and corresponding `GetUTxOResponse`. There is already a way to query the `UTxO` in the Head with `GET /snapshot/utxo` query.
64-
- Renamed 'CommitFinalized' field 'theDeposit' to 'depositTxId'.
65-
- We now store the `time` in `StateEvent` which is a breaking change to our persistence loading
66-
- Query parameter `?address=..` does **NOT** filter `TxValid` and `TxInvalid` server outputs anymore.
67-
- Removed the `transaction` from `TxValid` server outputs. Use `SnapshotConfirmed` to determine what transactions got confirmed intead!
72+
- Submit observations to a `hydra-explorer` via optional `--explorer` option.
6873
6974
- Add a list of [clients](https://hydra.family/head-protocol/unstable/docs/clients) to the docs
7075
71-
- Add API command (POST /snapshot) which allows to adopt the given snapshot as the latest confirmed.
72-
* add new `SideLoadSnapshot` client input.
73-
* add new `LocalStateCleared` state changed event.
74-
* add new `SnapshotSideLoaded` server output.
75-
* add new `SideLoadSnapshotFailed` logic error.
76+
- Stream historical data from disk in the hydra-node API server.
7677
7778
## [0.20.0] - 2025-02-04
7879

demo/docker-compose.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121

2222
hydra-node-1:
2323
# NOTE: Make sure to use the same image in ./seed-devnet.sh
24-
image: ghcr.io/cardano-scaling/hydra-node:0.20.0
24+
image: ghcr.io/cardano-scaling/hydra-node:0.21.0
2525
build:
2626
context: ../
2727
target: hydra-node
@@ -58,7 +58,7 @@ services:
5858

5959
hydra-node-2:
6060
# NOTE: Make sure to use the same image in ./seed-devnet.sh
61-
image: ghcr.io/cardano-scaling/hydra-node:0.20.0
61+
image: ghcr.io/cardano-scaling/hydra-node:0.21.0
6262
build:
6363
context: ../
6464
target: hydra-node
@@ -95,7 +95,7 @@ services:
9595

9696
hydra-node-3:
9797
# NOTE: Make sure to use the same image in ./seed-devnet.sh
98-
image: ghcr.io/cardano-scaling/hydra-node:0.20.0
98+
image: ghcr.io/cardano-scaling/hydra-node:0.21.0
9999
build:
100100
context: ../
101101
target: hydra-node
@@ -131,7 +131,7 @@ services:
131131
restart: always
132132

133133
hydra-tui-1:
134-
image: ghcr.io/cardano-scaling/hydra-tui:0.20.0
134+
image: ghcr.io/cardano-scaling/hydra-tui:0.21.0
135135
build:
136136
context: ../
137137
target: hydra-tui
@@ -148,7 +148,7 @@ services:
148148
ipv4_address: 172.16.238.11
149149

150150
hydra-tui-2:
151-
image: ghcr.io/cardano-scaling/hydra-tui:0.20.0
151+
image: ghcr.io/cardano-scaling/hydra-tui:0.21.0
152152
build:
153153
context: ../
154154
target: hydra-tui
@@ -165,7 +165,7 @@ services:
165165
ipv4_address: 172.16.238.21
166166

167167
hydra-tui-3:
168-
image: ghcr.io/cardano-scaling/hydra-tui:0.20.0
168+
image: ghcr.io/cardano-scaling/hydra-tui:0.21.0
169169
build:
170170
context: ../
171171
target: hydra-tui

demo/seed-devnet.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function hnode() {
5555
docker run --rm -it \
5656
--pull always \
5757
-v ${SCRIPT_DIR}/devnet:/devnet \
58-
ghcr.io/cardano-scaling/hydra-node:0.20.0 -- ${@}
58+
ghcr.io/cardano-scaling/hydra-node:0.21.0 -- ${@}
5959
fi
6060
}
6161

docs/docs/tutorial/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ that you have a good version of jq with this command:
4545

4646
```shell
4747
mkdir -p bin
48-
hydra_version=0.20.0
48+
hydra_version=0.21.0
4949
cardano_node_version=10.1.4
5050
curl -L -O https://github.com/cardano-scaling/hydra/releases/download/${hydra_version}/hydra-x86_64-linux-${hydra_version}.zip
5151
unzip -d bin hydra-x86_64-linux-${hydra_version}.zip
@@ -61,7 +61,7 @@ chmod +x bin/*
6161

6262
```shell
6363
mkdir -p bin
64-
hydra_version=0.20.0
64+
hydra_version=0.21.0
6565
cardano_node_version=10.1.4
6666
curl -L -O https://github.com/cardano-scaling/hydra/releases/download/${hydra_version}/hydra-aarch64-darwin-${hydra_version}.zip
6767
unzip -d bin hydra-aarch64-darwin-${hydra_version}.zip
@@ -391,7 +391,7 @@ Start the `hydra-node` using these parameters:
391391
<TabItem value="alice" label="Alice">
392392

393393
```shell
394-
hydra_version=0.20.0
394+
hydra_version=0.21.0
395395
hydra-node \
396396
--node-id "alice-node" \
397397
--persistence-dir persistence-alice \
@@ -413,7 +413,7 @@ hydra-node \
413413
<TabItem value="bob" label="Bob">
414414

415415
```shell
416-
hydra_version=0.20.0
416+
hydra_version=0.21.0
417417
hydra-node \
418418
--node-id "bob-node" \
419419
--persistence-dir persistence-bob \

hydra-cardano-api/hydra-cardano-api.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 3.0
22
name: hydra-cardano-api
3-
version: 0.20.0
3+
version: 0.21.0
44
synopsis: A Haskell API for Cardano, tailored to the Hydra project.
55
author: IOG
66
copyright: 2022 IOG

hydra-chain-observer/hydra-chain-observer.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 3.0
22
name: hydra-chain-observer
3-
version: 0.20.1
3+
version: 0.21.0
44
synopsis: Hydra Chain Observer
55
author: IOG
66
copyright: 2023 IOG

hydra-cluster/hydra-cluster.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 3.0
22
name: hydra-cluster
3-
version: 0.20.0
3+
version: 0.21.0
44
synopsis:
55
Integration test suite using a local cluster of cardano and hydra nodes
66

hydra-node/json-schemas/api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
asyncapi: '2.3.0'
22
info:
33
title: Hydra Node API
4-
version: '0.20.0'
4+
version: '0.21.0'
55
description: |
66
WebSocket/HTTP API for administrating & interacting with Hydra Heads: multi-party isomorphic state-channels for Cardano.
77

hydra-plutus-extras/hydra-plutus-extras.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 3.0
22
name: hydra-plutus-extras
3-
version: 0.20.0
3+
version: 0.21.0
44
synopsis:
55
Several extras and extensions of plutus-tx and plutus-ledger-api
66

hydra-plutus/hydra-plutus.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.2
22
name: hydra-plutus
3-
version: 0.20.0
3+
version: 0.21.0
44
synopsis: Hydra Plutus Contracts
55
author: IOG
66
copyright: 2022 IOG

0 commit comments

Comments
 (0)