From 1ae6839e43caf0695208620852f78fb34603037a Mon Sep 17 00:00:00 2001 From: Sasha Bogicevic Date: Fri, 9 Aug 2024 09:11:30 +0200 Subject: [PATCH] Release 0.18.0 Signed-off-by: Sasha Bogicevic --- .github/workflows/explorer/docker-compose.yaml | 2 +- CHANGELOG.md | 12 ++++++------ demo/docker-compose.yaml | 12 ++++++------ demo/seed-devnet.sh | 2 +- docs/docs/tutorial/index.md | 16 ++++++++-------- hydra-cardano-api/hydra-cardano-api.cabal | 2 +- hydra-chain-observer/hydra-chain-observer.cabal | 2 +- hydra-cluster/hydra-cluster.cabal | 2 +- hydra-explorer/hydra-explorer.cabal | 2 +- hydra-node/hydra-node.cabal | 2 +- hydra-node/json-schemas/api.yaml | 2 +- hydra-plutus-extras/hydra-plutus-extras.cabal | 2 +- hydra-plutus/hydra-plutus.cabal | 2 +- hydra-prelude/hydra-prelude.cabal | 2 +- hydra-test-utils/hydra-test-utils.cabal | 2 +- networks.json | 12 ++++++++---- 16 files changed, 40 insertions(+), 36 deletions(-) diff --git a/.github/workflows/explorer/docker-compose.yaml b/.github/workflows/explorer/docker-compose.yaml index 52fa1ba88bc..40a308ad524 100644 --- a/.github/workflows/explorer/docker-compose.yaml +++ b/.github/workflows/explorer/docker-compose.yaml @@ -17,7 +17,7 @@ services: restart: always hydra-explorer: - image: ghcr.io/cardano-scaling/hydra-explorer:0.17.0 + image: ghcr.io/cardano-scaling/hydra-explorer:0.18.0 volumes: - /srv/var/cardano/state-preview:/data ports: diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cd7e4a0261..067945f8b50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,26 +8,26 @@ 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.18.0] - Unreleased +## [0.18.0] - 2024-08-08 - Tested with `cardano-node 9.1.0` and `cardano-cli 9.2.1.0`. -- Fixed fee calculation of the internal wallet when the network switches to `Conway`. This allows heads to be opened in `Babbage` and closed/finalized in `Conway`. +- Fixed fee calculation of the internal wallet when the network switches to `Conway`. This allows heads to be opened in `Babbage` and closed/finalized in `Conway`. [1553](https://github.com/cardano-scaling/hydra/pull/1553) - **BREAKING** Changes to the `hydra-node` API `/commit` endpoint [#1463](https://github.com/cardano-scaling/hydra/pull/1463): - Removed the check that prevented committing UTxOs from an internal `hydra-node` wallet. - `SpendingNodeUtxoForbidden` error was removed. -- Add capability to move UTxO out of an open Head to the Cardano main chain: +- Add capability to move UTxO out of an open Head to the Cardano main chain: [1344](https://github.com/cardano-scaling/hydra/pull/1344) - Submitting a decommit transaction to `POST /decommit` or as `Decommit` command through websocket, requests removal of this transactions' outputs from the head. - When successful, `DecommitApproved` and `DecommitFinalized` indicate that all outputs are made available on the layer one. - Invalid transactions are explained through a `DecommitInvalid` server output. -- Change `--start-chain-from` to always use the newer point when also a head state is known. +- Change `--start-chain-from` to always use the newer point when also a head state is known. [1471](https://github.com/cardano-scaling/hydra/pull/1471) -- Moved several pages from "core concepts" into the user manual and developer docs to futher improve user journey. +- Moved several pages from "core concepts" into the user manual and developer docs to futher improve user journey. [1486](https://github.com/cardano-scaling/hydra/pull/1486) -- Offline mode of `hydra-node` uses `--node-id` to derive an artificial offline `headId`. +- Offline mode of `hydra-node` uses `--node-id` to derive an artificial offline `headId`. [1551](https://github.com/cardano-scaling/hydra/pull/1551) ## [0.17.0] - 2024-05-20 diff --git a/demo/docker-compose.yaml b/demo/docker-compose.yaml index ec77768921d..380a7f83f0a 100644 --- a/demo/docker-compose.yaml +++ b/demo/docker-compose.yaml @@ -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:unstable + image: ghcr.io/cardano-scaling/hydra-node:0.18.0 build: context: ../ target: hydra-node @@ -56,7 +56,7 @@ services: hydra-node-2: # NOTE: Make sure to use the same image in ./seed-devnet.sh - image: ghcr.io/cardano-scaling/hydra-node:unstable + image: ghcr.io/cardano-scaling/hydra-node:0.18.0 build: context: ../ target: hydra-node @@ -91,7 +91,7 @@ services: hydra-node-3: # NOTE: Make sure to use the same image in ./seed-devnet.sh - image: ghcr.io/cardano-scaling/hydra-node:unstable + image: ghcr.io/cardano-scaling/hydra-node:0.18.0 build: context: ../ target: hydra-node @@ -125,7 +125,7 @@ services: restart: always hydra-tui-1: - image: ghcr.io/cardano-scaling/hydra-tui:0.17.0 + image: ghcr.io/cardano-scaling/hydra-tui:0.18.0 build: context: ../ target: hydra-tui @@ -142,7 +142,7 @@ services: ipv4_address: 172.16.238.11 hydra-tui-2: - image: ghcr.io/cardano-scaling/hydra-tui:0.17.0 + image: ghcr.io/cardano-scaling/hydra-tui:0.18.0 build: context: ../ target: hydra-tui @@ -159,7 +159,7 @@ services: ipv4_address: 172.16.238.21 hydra-tui-3: - image: ghcr.io/cardano-scaling/hydra-tui:0.17.0 + image: ghcr.io/cardano-scaling/hydra-tui:0.18.0 build: context: ../ target: hydra-tui diff --git a/demo/seed-devnet.sh b/demo/seed-devnet.sh index e49ed363792..1c63ccb7cc6 100755 --- a/demo/seed-devnet.sh +++ b/demo/seed-devnet.sh @@ -51,7 +51,7 @@ function hnode() { docker run --rm -it \ --pull always \ -v ${SCRIPT_DIR}/devnet:/devnet \ - ghcr.io/cardano-scaling/hydra-node:unstable -- ${@} + ghcr.io/cardano-scaling/hydra-node:0.18.0 -- ${@} fi } diff --git a/docs/docs/tutorial/index.md b/docs/docs/tutorial/index.md index 08a7d76621a..509788bb7d5 100644 --- a/docs/docs/tutorial/index.md +++ b/docs/docs/tutorial/index.md @@ -31,9 +31,9 @@ After ensuring the tools above are available, begin by downloading pre-built bin ```shell mkdir -p bin -version=0.17.0 -mithril_version=2423.0 -node_version=9.0.0 +version=0.18.0 +mithril_version=2428.0 +node_version=9.1.0 curl -L -O https://github.com/cardano-scaling/hydra/releases/download/${version}/hydra-x86_64-linux-${version}.zip unzip -d bin hydra-x86_64-linux-${version}.zip curl -L -O https://github.com/IntersectMBO/cardano-node/releases/download/${node_version}/cardano-node-${node_version}-linux.tar.gz @@ -49,9 +49,9 @@ chmod +x bin/* ```shell mkdir -p bin -version=0.17.0 -mithril_version=2423.0 -node_version=9.0.0 +version=0.18.0 +mithril_version=2428.0 +node_version=9.1.0 curl -L -O https://github.com/cardano-scaling/hydra/releases/download/${version}/hydra-aarch64-darwin-${version}.zip unzip -d bin hydra-aarch64-darwin-${version}.zip curl -L -O https://github.com/IntersectMBO/cardano-node/releases/download/${node_version}/cardano-node-${node_version}-macos.tar.gz @@ -381,7 +381,7 @@ Start the `hydra-node` using these parameters: ```shell -version=0.17.0 +version=0.18.0 hydra-node \ --node-id "alice-node" \ --persistence-dir persistence-alice \ @@ -404,7 +404,7 @@ hydra-node \ ```shell -version=0.17.0 +version=0.18.0 hydra-node \ --node-id "bob-node" \ --persistence-dir persistence-bob \ diff --git a/hydra-cardano-api/hydra-cardano-api.cabal b/hydra-cardano-api/hydra-cardano-api.cabal index 6d67438afbe..12f17695c5e 100644 --- a/hydra-cardano-api/hydra-cardano-api.cabal +++ b/hydra-cardano-api/hydra-cardano-api.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: hydra-cardano-api -version: 0.17.0 +version: 0.18.0 synopsis: A Haskell API for Cardano, tailored to the Hydra project. author: IOG copyright: 2022 IOG diff --git a/hydra-chain-observer/hydra-chain-observer.cabal b/hydra-chain-observer/hydra-chain-observer.cabal index 541e88aab36..0e31691d2b5 100644 --- a/hydra-chain-observer/hydra-chain-observer.cabal +++ b/hydra-chain-observer/hydra-chain-observer.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: hydra-chain-observer -version: 0.17.0 +version: 0.18.0 synopsis: Hydra Chain Observer author: IOG copyright: 2023 IOG diff --git a/hydra-cluster/hydra-cluster.cabal b/hydra-cluster/hydra-cluster.cabal index 545e317b9ae..576d568690f 100644 --- a/hydra-cluster/hydra-cluster.cabal +++ b/hydra-cluster/hydra-cluster.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: hydra-cluster -version: 0.17.0 +version: 0.18.0 synopsis: Integration test suite using a local cluster of cardano and hydra nodes diff --git a/hydra-explorer/hydra-explorer.cabal b/hydra-explorer/hydra-explorer.cabal index 36269a22d1e..b1ffddd831e 100644 --- a/hydra-explorer/hydra-explorer.cabal +++ b/hydra-explorer/hydra-explorer.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: hydra-explorer -version: 0.17.0 +version: 0.18.0 synopsis: Hydra Explorer author: IOG copyright: 2023 IOG diff --git a/hydra-node/hydra-node.cabal b/hydra-node/hydra-node.cabal index 0f0831aa027..d5b527eb7a2 100644 --- a/hydra-node/hydra-node.cabal +++ b/hydra-node/hydra-node.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: hydra-node -version: 0.17.0 +version: 0.18.0 synopsis: The Hydra node author: IOG copyright: 2022 IOG diff --git a/hydra-node/json-schemas/api.yaml b/hydra-node/json-schemas/api.yaml index e75aee56841..112a69d7a66 100644 --- a/hydra-node/json-schemas/api.yaml +++ b/hydra-node/json-schemas/api.yaml @@ -1,7 +1,7 @@ asyncapi: '2.3.0' info: title: Hydra Node API - version: '0.17.0' + version: '0.18.0' description: | WebSocket/HTTP API for administrating & interacting with Hydra Heads: multi-party isomorphic state-channels for Cardano. diff --git a/hydra-plutus-extras/hydra-plutus-extras.cabal b/hydra-plutus-extras/hydra-plutus-extras.cabal index 8a338975809..3063f8d3348 100644 --- a/hydra-plutus-extras/hydra-plutus-extras.cabal +++ b/hydra-plutus-extras/hydra-plutus-extras.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: hydra-plutus-extras -version: 0.17.0 +version: 0.18.0 synopsis: Several extras and extensions of plutus-tx and plutus-ledger-api diff --git a/hydra-plutus/hydra-plutus.cabal b/hydra-plutus/hydra-plutus.cabal index 654da0c2b8d..c6b1cb7e1ba 100644 --- a/hydra-plutus/hydra-plutus.cabal +++ b/hydra-plutus/hydra-plutus.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: hydra-plutus -version: 0.17.0 +version: 0.18.0 synopsis: Hydra Plutus Contracts author: IOG copyright: 2022 IOG diff --git a/hydra-prelude/hydra-prelude.cabal b/hydra-prelude/hydra-prelude.cabal index 2d2ac0350f0..5a7ad83c6a0 100644 --- a/hydra-prelude/hydra-prelude.cabal +++ b/hydra-prelude/hydra-prelude.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: hydra-prelude -version: 0.17.0 +version: 0.18.0 synopsis: Custom Hydra Prelude used across other Hydra packages. author: IOG copyright: 2022 IOG diff --git a/hydra-test-utils/hydra-test-utils.cabal b/hydra-test-utils/hydra-test-utils.cabal index 7159083b463..6cb06f5bcec 100644 --- a/hydra-test-utils/hydra-test-utils.cabal +++ b/hydra-test-utils/hydra-test-utils.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: hydra-test-utils -version: 0.17.0 +version: 0.18.0 synopsis: Hydra utilities for testing, aka. "Test Prelude" author: IOG copyright: 2022 IOG diff --git a/networks.json b/networks.json index 7c583f4869b..97ba2bd6900 100644 --- a/networks.json +++ b/networks.json @@ -4,24 +4,28 @@ "0.14.0": "3ac58d3f9f35d8f2cb38d39639232c10cfe0b986728f672d26ffced944d74560", "0.15.0": "7d998b617526d827dd69a495f5d5dc2c5e293b86a62ad61cb2fb5f2503cd87f0", "0.16.0": "2d52e5787b198daeb280f9de63e5dec126b1843b050e85b1642ff8e47cb6de73", - "0.17.0": "0d2eca8c8daf23061f5ba24a8f3113afba52a2e26318dc78c5583d9fc86b7b85" + "0.17.0": "0d2eca8c8daf23061f5ba24a8f3113afba52a2e26318dc78c5583d9fc86b7b85", + "0.18.0": "747c39eb53a4092fd46e10b417beef9781bf336a4fc1fd439e7492fe3876a1ba" }, "preprod": { "0.13.0": "f917dcd1fa2653e33d6d0ca5a067468595b546120c3085fab60848c34f92c265", "0.14.0": "d8ba8c488f52228b200df48fe28305bc311d0507da2c2420b10835bf00d21948", "0.15.0": "8ce483e2d4b81f9254392afda1f85d1e123165665593228c39064691903f431a", "0.16.0": "6264cee4d5eab3fb58ab67f3899ecbcc0d7e72732a2d9c1c5d638115db6ca711", - "0.17.0": "c7b9db4986611d0ce7ff8546ef5d42af68566783a40604c372182342c4124e7d" + "0.17.0": "c7b9db4986611d0ce7ff8546ef5d42af68566783a40604c372182342c4124e7d", + "0.18.0": "976b28bc716490fbaa4e17d7bf33b04f27fcfafef58c436c4f2644adeeb48829" }, "preview": { "0.13.0": "1e00c627ec4b2ad0b4aa68068d3818ca0e41338c87e5504cda118c4050a98763", "0.14.0": "64deee72cd424d957ea0fddf71508429ecb65fea83a041fe9b708fc2ca973a8e", "0.15.0": "c21b70a719112f76d318abcfee95499a27556ef4a18b1c62bc38e4b9c07ae3a6", "0.16.0": "1f34e4ee2404a5e4fc8ef970b7b8717af34c1a5a22107b82cde79c5d11da93b9", - "0.17.0": "6d3f02bc648c1b62bb90fc221a8476fc47d4faaea4a293b00e58ac40c3377b85" + "0.17.0": "6d3f02bc648c1b62bb90fc221a8476fc47d4faaea4a293b00e58ac40c3377b85", + "0.18.0": "19d25f489ffa66ba3568342657fe441f47a417d4e31585b5f0278ebe619ecf41" }, "sanchonet": { "0.16.0": "af37f4f6bf7459d2ae1d6b2a1a2e4049465b62a8ebc308f3d6d6af68240a4419", - "0.17.0": "" + "0.17.0": "", + "0.18.0": "" } }