Skip to content

Commit

Permalink
Release 0.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
v0d1ch committed May 20, 2024
1 parent 414c111 commit dce6041
Show file tree
Hide file tree
Showing 15 changed files with 39 additions and 35 deletions.
20 changes: 10 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,33 @@ 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.17.0] - UNRELEASED
## [0.17.0] - 2024-05-20

- **BREAKING** Change `hydra-node` API `/commit` endpoint for committing from scripts:o
- **BREAKING** Change `hydra-node` API `/commit` endpoint for committing from scripts [#1380](https://github.com/input-output-hk/hydra/pull/1380):
- Instead of the custom `witness` extension of `UTxO`, the endpoint now accepts a _blueprint_ transaction together with the `UTxO` which is spent in this transaction.
- Usage is still the same for commiting "normal" `UTxO` owned by public key addresses.
- Spending from a script `UTxO` now needs the `blueprintTx` request type, which also unlocks more involved use-cases, where the commit transaction should also satisfy script spending constraints (like additional signers, validity ranges etc.)

- Update navigation and re-organized documentation website https://hydra.family
- _DEPRECATED_ the `GetUTxO` client input and `GetUTxOResponse` server output. Use `GET /snapshot/utxo` instead.

- Update navigation and re-organized documentation website https://hydra.family [#1440](https://github.com/input-output-hk/hydra/pull/1440)
- Updated logos
- Removed localization as it got outdated and on-demand site translation tools exist.

- Add `GET /snapshot/utxo` API endpoint to query confirmed UTxO set on demand.
- Add `GET /snapshot/utxo` API endpoint to query confirmed UTxO set on demand. [#1398](https://github.com/input-output-hk/hydra/pull/1398)
- Always responds with the last confirmed UTxO

- Set [CORS](https://fetch.spec.whatwg.org/#http-cors-protocol) headers on `hydra-node` API to allow requests from any origin `*`.

- _DEPRECATED_ the `GetUTxO` client input and `GetUTxOResponse` server output. Use `GET /snapshot/utxo` instead.
- Set [CORS](https://fetch.spec.whatwg.org/#http-cors-protocol) headers on `hydra-node` API to allow requests from any origin `*`. [#1434](https://github.com/input-output-hk/hydra/pull/1434)

- `hydra-node` logs will now report `NetworkEvents` to distinguish between `ConnectivityEvent`s and `ReceivedMessage`s on the network.
- `hydra-node` logs will now report `NetworkEvents` to distinguish between `ConnectivityEvent`s and `ReceivedMessage`s on the network. [#1396](https://github.com/input-output-hk/hydra/pull/1396)

- Hydra now uses a versioned protocol for handshaking. In the event of a node
attempting to connect using a different version of the networking protocol, a
`HandshakeFailure` event will be recorded in the logs and sent as a server
output on the API.
output on the API. [#1381](https://github.com/input-output-hk/hydra/pull/1381)

- Make `hydra-cluster --devnet` more configurable
- Now it is idle by default again and a `--busy` will make it busy respending the same UTxO.
- Now it is idle by default again and a `--busy` will make it busy respending the same UTxO. [#1420](https://github.com/input-output-hk/hydra/pull/1420)

## [0.16.0] - 2024-04-03

Expand Down
12 changes: 6 additions & 6 deletions demo/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:

hydra-node-1:
# NOTE: Make sure to use the same image in ./seed-devnet.sh
image: ghcr.io/input-output-hk/hydra-node:0.16.0
image: ghcr.io/input-output-hk/hydra-node:0.17.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/input-output-hk/hydra-node:0.16.0
image: ghcr.io/input-output-hk/hydra-node:0.17.0
build:
context: ../
target: hydra-node
Expand Down Expand Up @@ -93,7 +93,7 @@ services:

hydra-node-3:
# NOTE: Make sure to use the same image in ./seed-devnet.sh
image: ghcr.io/input-output-hk/hydra-node:0.16.0
image: ghcr.io/input-output-hk/hydra-node:0.17.0
build:
context: ../
target: hydra-node
Expand Down Expand Up @@ -127,7 +127,7 @@ services:
restart: always

hydra-tui-1:
image: ghcr.io/input-output-hk/hydra-tui:0.16.0
image: ghcr.io/input-output-hk/hydra-tui:0.17.0
build:
context: ../
target: hydra-tui
Expand All @@ -144,7 +144,7 @@ services:
ipv4_address: 172.16.238.11

hydra-tui-2:
image: ghcr.io/input-output-hk/hydra-tui:0.16.0
image: ghcr.io/input-output-hk/hydra-tui:0.17.0
build:
context: ../
target: hydra-tui
Expand All @@ -161,7 +161,7 @@ services:
ipv4_address: 172.16.238.21

hydra-tui-3:
image: ghcr.io/input-output-hk/hydra-tui:0.16.0
image: ghcr.io/input-output-hk/hydra-tui:0.17.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 @@ -49,7 +49,7 @@ function hnode() {
docker run --rm -it \
--pull always \
-v ${SCRIPT_DIR}/devnet:/devnet \
ghcr.io/input-output-hk/hydra-node:0.16.0 -- ${@}
ghcr.io/input-output-hk/hydra-node:0.17.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 @@ -37,7 +37,7 @@ components of the Cardano ecosystem, putting them in a `bin/` directory:

```shell
mkdir -p bin
version=0.16.0
version=0.17.0
curl -L -O https://github.com/input-output-hk/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/input-output-hk/cardano-node/releases/download/8.9.0/cardano-node-8.9.0-linux.tar.gz \
Expand All @@ -52,7 +52,7 @@ chmod +x bin/*

```shell
mkdir -p bin
version=0.16.0
version=0.17.0
curl -L -O https://github.com/input-output-hk/hydra/releases/download/${version}/hydra-aarch64-darwin-${version}.zip
unzip -d bin hydra-aarch64-darwin-${version}.zip
curl -L -o - https://github.com/input-output-hk/cardano-node/releases/download/8.9.0/cardano-node-8.9.0-macos.tar.gz \
Expand Down Expand Up @@ -388,7 +388,7 @@ Let's start the `hydra-node` with all these parameters now:
<TabItem value="alice" label="Alice">

```shell
version=0.16.0
version=0.17.0
hydra-node \
--node-id "alice-node" \
--persistence-dir persistence-alice \
Expand All @@ -411,7 +411,7 @@ hydra-node \
<TabItem value="bob" label="Bob">

```shell
version=0.16.0
version=0.17.0
hydra-node \
--node-id "bob-node" \
--persistence-dir persistence-bob \
Expand Down
2 changes: 1 addition & 1 deletion hydra-cardano-api/hydra-cardano-api.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: hydra-cardano-api
version: 0.16.0
version: 0.17.0
synopsis: A Haskell API for Cardano, tailored to the Hydra project.
author: IOG
copyright: 2022 IOG
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: 2.2
name: hydra-chain-observer
version: 0.16.0
version: 0.17.0
synopsis: Hydra Chain Observer
author: IOG
copyright: 2023 IOG
Expand Down
2 changes: 1 addition & 1 deletion hydra-cluster/hydra-cluster.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: hydra-cluster
version: 0.16.0
version: 0.17.0
synopsis:
Integration test suite using a local cluster of cardano and hydra nodes

Expand Down
2 changes: 1 addition & 1 deletion hydra-explorer/hydra-explorer.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: hydra-explorer
version: 0.16.0
version: 0.17.0
synopsis: Hydra Explorer
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.16.0'
version: '0.17.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.16.0
version: 0.17.0
synopsis:
Several extras and extensions of plutus-tx and plutus-ledger-api

Expand Down
2 changes: 1 addition & 1 deletion hydra-plutus/hydra-plutus.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: hydra-plutus
version: 0.16.0
version: 0.17.0
synopsis: Hydra Plutus Contracts
author: IOG
copyright: 2022 IOG
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.16.0
version: 0.17.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.16.0
version: 0.17.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.16.0
version: 0.17.0
synopsis: TUI for managing a Hydra node
description: TUI for managing a Hydra node
author: IOG
Expand Down
12 changes: 8 additions & 4 deletions networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,25 @@
"0.13.0": "989e3ab136a2cdd3132a99975e76e02f62bcb03ba64ddbb5d2dfddffca8d390d",
"0.14.0": "3ac58d3f9f35d8f2cb38d39639232c10cfe0b986728f672d26ffced944d74560",
"0.15.0": "7d998b617526d827dd69a495f5d5dc2c5e293b86a62ad61cb2fb5f2503cd87f0",
"0.16.0": "2d52e5787b198daeb280f9de63e5dec126b1843b050e85b1642ff8e47cb6de73"
"0.16.0": "2d52e5787b198daeb280f9de63e5dec126b1843b050e85b1642ff8e47cb6de73",
"0.17.0": "0d2eca8c8daf23061f5ba24a8f3113afba52a2e26318dc78c5583d9fc86b7b85"
},
"preprod": {
"0.13.0": "f917dcd1fa2653e33d6d0ca5a067468595b546120c3085fab60848c34f92c265",
"0.14.0": "d8ba8c488f52228b200df48fe28305bc311d0507da2c2420b10835bf00d21948",
"0.15.0": "8ce483e2d4b81f9254392afda1f85d1e123165665593228c39064691903f431a",
"0.16.0": "6264cee4d5eab3fb58ab67f3899ecbcc0d7e72732a2d9c1c5d638115db6ca711"
"0.16.0": "6264cee4d5eab3fb58ab67f3899ecbcc0d7e72732a2d9c1c5d638115db6ca711",
"0.17.0": "c7b9db4986611d0ce7ff8546ef5d42af68566783a40604c372182342c4124e7d"
},
"preview": {
"0.13.0": "1e00c627ec4b2ad0b4aa68068d3818ca0e41338c87e5504cda118c4050a98763",
"0.14.0": "64deee72cd424d957ea0fddf71508429ecb65fea83a041fe9b708fc2ca973a8e",
"0.15.0": "c21b70a719112f76d318abcfee95499a27556ef4a18b1c62bc38e4b9c07ae3a6",
"0.16.0": "1f34e4ee2404a5e4fc8ef970b7b8717af34c1a5a22107b82cde79c5d11da93b9"
"0.16.0": "1f34e4ee2404a5e4fc8ef970b7b8717af34c1a5a22107b82cde79c5d11da93b9",
"0.17.0": "6d3f02bc648c1b62bb90fc221a8476fc47d4faaea4a293b00e58ac40c3377b85"
},
"sanchonet": {
"0.16.0": "af37f4f6bf7459d2ae1d6b2a1a2e4049465b62a8ebc308f3d6d6af68240a4419"
"0.16.0": "af37f4f6bf7459d2ae1d6b2a1a2e4049465b62a8ebc308f3d6d6af68240a4419",
"0.17.0": ""
}
}

0 comments on commit dce6041

Please sign in to comment.