Skip to content

Commit

Permalink
Release 0.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
v0d1ch committed Feb 3, 2025
1 parent 599aa0c commit a22b272
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 35 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
As a minor extension, we also keep a semantic version for the `UNRELEASED`
changes.

## [0.20.0] - UNRELEASED
## [0.20.0] - 2025-02-04

- **BETA** hydra-node now supports incremental commits in beta mode. We would like to test out this feature
with the community members building on Hydra. This feature means you can commit funds to a Head while it is running.
Expand Down
12 changes: 6 additions & 6 deletions demo/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:

hydra-node-1:
# NOTE: Make sure to use the same image in ./seed-devnet.sh
image: ghcr.io/cardano-scaling/hydra-node:0.19.0
image: ghcr.io/cardano-scaling/hydra-node:0.20.0
build:
context: ../
target: hydra-node
Expand Down Expand Up @@ -58,7 +58,7 @@ services:

hydra-node-2:
# NOTE: Make sure to use the same image in ./seed-devnet.sh
image: ghcr.io/cardano-scaling/hydra-node:0.19.0
image: ghcr.io/cardano-scaling/hydra-node:0.20.0
build:
context: ../
target: hydra-node
Expand Down Expand Up @@ -95,7 +95,7 @@ services:

hydra-node-3:
# NOTE: Make sure to use the same image in ./seed-devnet.sh
image: ghcr.io/cardano-scaling/hydra-node:0.19.0
image: ghcr.io/cardano-scaling/hydra-node:0.20.0
build:
context: ../
target: hydra-node
Expand Down Expand Up @@ -131,7 +131,7 @@ services:
restart: always

hydra-tui-1:
image: ghcr.io/cardano-scaling/hydra-tui:0.19.0
image: ghcr.io/cardano-scaling/hydra-tui:0.20.0
build:
context: ../
target: hydra-tui
Expand All @@ -148,7 +148,7 @@ services:
ipv4_address: 172.16.238.11

hydra-tui-2:
image: ghcr.io/cardano-scaling/hydra-tui:0.19.0
image: ghcr.io/cardano-scaling/hydra-tui:0.20.0
build:
context: ../
target: hydra-tui
Expand All @@ -165,7 +165,7 @@ services:
ipv4_address: 172.16.238.21

hydra-tui-3:
image: ghcr.io/cardano-scaling/hydra-tui:0.19.0
image: ghcr.io/cardano-scaling/hydra-tui:0.20.0
build:
context: ../
target: hydra-tui
Expand Down
2 changes: 1 addition & 1 deletion demo/seed-devnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function hnode() {
docker run --rm -it \
--pull always \
-v ${SCRIPT_DIR}/devnet:/devnet \
ghcr.io/cardano-scaling/hydra-node:0.19.0 -- ${@}
ghcr.io/cardano-scaling/hydra-node:0.20.0 -- ${@}
fi
}

Expand Down
8 changes: 4 additions & 4 deletions docs/docs/tutorial/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ that you have a good version of jq with this command:

```shell
mkdir -p bin
hydra_version=0.19.0
hydra_version=0.20.0
cardano_node_version=10.1.2
curl -L -O https://github.com/cardano-scaling/hydra/releases/download/${hydra_version}/hydra-x86_64-linux-${hydra_version}.zip
unzip -d bin hydra-x86_64-linux-${hydra_version}.zip
Expand All @@ -61,7 +61,7 @@ chmod +x bin/*

```shell
mkdir -p bin
hydra_version=0.19.0
hydra_version=0.20.0
cardano_node_version=10.1.2
curl -L -O https://github.com/cardano-scaling/hydra/releases/download/${hydra_version}/hydra-aarch64-darwin-${hydra_version}.zip
unzip -d bin hydra-aarch64-darwin-${hydra_version}.zip
Expand Down Expand Up @@ -391,7 +391,7 @@ Start the `hydra-node` using these parameters:
<TabItem value="alice" label="Alice">

```shell
hydra_version=0.19.0
hydra_version=0.20.0
hydra-node \
--node-id "alice-node" \
--persistence-dir persistence-alice \
Expand All @@ -414,7 +414,7 @@ hydra-node \
<TabItem value="bob" label="Bob">

```shell
hydra_version=0.19.0
hydra_version=0.20.0
hydra-node \
--node-id "bob-node" \
--persistence-dir persistence-bob \
Expand Down
2 changes: 1 addition & 1 deletion hydra-chain-observer/hydra-chain-observer.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: hydra-chain-observer
version: 0.19.0
version: 0.20.0
synopsis: Hydra Chain Observer
author: IOG
copyright: 2023 IOG
Expand Down
2 changes: 1 addition & 1 deletion hydra-node/json-schemas/api.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
asyncapi: '2.3.0'
info:
title: Hydra Node API
version: '0.19.0'
version: '0.20.0'
description: |
WebSocket/HTTP API for administrating & interacting with Hydra Heads: multi-party isomorphic state-channels for Cardano.
Expand Down
2 changes: 1 addition & 1 deletion hydra-plutus-extras/hydra-plutus-extras.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: hydra-plutus-extras
version: 0.19.0
version: 0.20.0
synopsis:
Several extras and extensions of plutus-tx and plutus-ledger-api

Expand Down
2 changes: 1 addition & 1 deletion hydra-prelude/hydra-prelude.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: hydra-prelude
version: 0.19.0
version: 0.20.0
synopsis: Custom Hydra Prelude used across other Hydra packages.
author: IOG
copyright: 2022 IOG
Expand Down
2 changes: 1 addition & 1 deletion hydra-test-utils/hydra-test-utils.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: hydra-test-utils
version: 0.19.0
version: 0.20.0
synopsis: Hydra utilities for testing, aka. "Test Prelude"
author: IOG
copyright: 2022 IOG
Expand Down
2 changes: 1 addition & 1 deletion hydra-tui/hydra-tui.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: hydra-tui
version: 0.19.0
version: 0.20.0
synopsis: TUI for managing a Hydra node
description: TUI for managing a Hydra node
author: IOG
Expand Down
2 changes: 1 addition & 1 deletion hydra-tx/hydra-tx.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: hydra-tx
version: 0.19.0
version: 0.20.0
synopsis: Hydra transaction library
author: IOG
copyright: 2024 IOG
Expand Down
9 changes: 6 additions & 3 deletions networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"0.17.0": "0d2eca8c8daf23061f5ba24a8f3113afba52a2e26318dc78c5583d9fc86b7b85",
"0.18.0": "747c39eb53a4092fd46e10b417beef9781bf336a4fc1fd439e7492fe3876a1ba",
"0.18.1": "747c39eb53a4092fd46e10b417beef9781bf336a4fc1fd439e7492fe3876a1ba",
"0.19.0": "ab1d9f8cca896bca06b70df74860deecf20774e03d8562aecaed37525f6ebead"
"0.19.0": "ab1d9f8cca896bca06b70df74860deecf20774e03d8562aecaed37525f6ebead",
"0.20.0": "4f6db33d2e6940672e4a8061efd4dc999ac3e76c9d203961fabe1e15ed1aaf73,543d03edfbc54208338abc06c6f5b1bbd840b0169dffd010df8f2f54600ba1f9,8d833996cfe92b3bee45eb5fbef4eb7f8ed2e71772c396a3d0db5c21b3429476"
},
"preprod": {
"0.13.0": "f917dcd1fa2653e33d6d0ca5a067468595b546120c3085fab60848c34f92c265",
Expand All @@ -17,7 +18,8 @@
"0.17.0": "c7b9db4986611d0ce7ff8546ef5d42af68566783a40604c372182342c4124e7d",
"0.18.0": "976b28bc716490fbaa4e17d7bf33b04f27fcfafef58c436c4f2644adeeb48829",
"0.18.1": "976b28bc716490fbaa4e17d7bf33b04f27fcfafef58c436c4f2644adeeb48829",
"0.19.0": "03f8deb122fbbd98af8eb58ef56feda37728ec957d39586b78198a0cf624412a"
"0.19.0": "03f8deb122fbbd98af8eb58ef56feda37728ec957d39586b78198a0cf624412a",
"0.20.0": "5237b67923bf67e6691a09117c45fdc26c27911a8e2469d6a063a78da1c7c60a,5ed4032823e295b542d0cde0c5e531ca17c9834947400c05a50549607dbc3fa5,128af7ef4fd3fa8d1eda5cb1628aa2a1e8846d7685d91e0c6dae50b7d5f263b2"
},
"preview": {
"0.13.0": "1e00c627ec4b2ad0b4aa68068d3818ca0e41338c87e5504cda118c4050a98763",
Expand All @@ -28,7 +30,8 @@
"0.18.0": "19d25f489ffa66ba3568342657fe441f47a417d4e31585b5f0278ebe619ecf41",
"0.18.1": "19d25f489ffa66ba3568342657fe441f47a417d4e31585b5f0278ebe619ecf41",
"0.19.0": "0fd2468a66a0b1cb944cff9512ecfa25cdd2799cb48b07210c449a5ecace267d",
"0.19.0-634-g2b465027ef": "6c06bc2757864b01333e50afba21f878118357fb339020a4521652a173ce1823,5512de76c3053e8b7f4cf033894a87ce42a612628ec640c46b94c8361ff30a25,7e1a4983ef974af4dd0026f9876d6c82d4f6256f5007a4bdbdd064e62f5fa926"
"0.19.0-634-g2b465027ef": "6c06bc2757864b01333e50afba21f878118357fb339020a4521652a173ce1823,5512de76c3053e8b7f4cf033894a87ce42a612628ec640c46b94c8361ff30a25,7e1a4983ef974af4dd0026f9876d6c82d4f6256f5007a4bdbdd064e62f5fa926",
"0.20.0": "b7b88533de303beefae2d8bb93fe1a1cd5e4fa3c4439c8198c83addfe79ecbdc,da1cc0eef366031e96323b6620f57bc166cf743c74ce76b6c3a02c8f634a7d20,6665f1dfdf9b9eb72a0dd6bb73e9e15567e188132b011e7cf6914c39907ac484"
},
"sanchonet": {
"0.16.0": "af37f4f6bf7459d2ae1d6b2a1a2e4049465b62a8ebc308f3d6d6af68240a4419"
Expand Down
17 changes: 4 additions & 13 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,11 @@ prepare_release() {
update_api_version "$version"
update_demo_version "$version"
update_tutorial_version "$version"
update_explorer_version "$version"

find . -name '*-e' -exec rm '{}' \; # cleanup BSD sed mess

git add .

git commit -m "Release $version"

git tag -as "$version" -F <(changelog "$version")
Expand Down Expand Up @@ -117,7 +116,7 @@ check_on_master() {

check_version_is_valid() {
local version="$1"

echo $version | grep -E '^[0-9]*\.[0-9]*\.[0-9]*$' >/dev/null \
|| exit_err "Invalid format for version: $version"

Expand Down Expand Up @@ -164,7 +163,7 @@ check_networks_is_up_to_date() {
update_cabal_version() {
local version="$1" ; shift
local cabal_files=hydra-*/*.cabal

for file in $cabal_files
do
sed -i"" -e "s,\(^version: *\)[^ ]*,\1$version," $file
Expand Down Expand Up @@ -192,14 +191,6 @@ update_demo_version() {
)
}

update_explorer_version() {
local version="$1"
(
cd .github/workflows/explorer
sed -i"" -e "s,\(ghcr.io/cardano-scaling/hydra-[^:]*\):[^[:space:]]*,\1:$version," docker-compose.yaml
)
}

changelog() {
local version="$1"
sed -e '/^## *\['"$version"'\]/ , /^## *\[.*\]/ !d' CHANGELOG.md | sed '$d' | sed -e 's/^\#* //'
Expand Down

0 comments on commit a22b272

Please sign in to comment.