From 68024d5655e032f0d75cc00fb5bffb9578ae3a82 Mon Sep 17 00:00:00 2001 From: Sebastian Nagel Date: Wed, 22 Jun 2022 12:49:42 +0200 Subject: [PATCH] Release 0.6.0 --- CHANGELOG.md | 19 +++++++++---------- README.md | 1 - hydra-cardano-api/hydra-cardano-api.cabal | 2 +- hydra-node/hydra-node.cabal | 2 +- hydra-node/json-schemas/api.yaml | 2 +- hydra-plutus/hydra-plutus.cabal | 6 ++++-- hydra-prelude/hydra-prelude.cabal | 2 +- hydra-test-utils/hydra-test-utils.cabal | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5b43562d63..f80f713fd5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,12 +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.6.0] - Unreleased - -#### Fixed - -- Head contract check UTxO hash upon closing the head [#338](https://github.com/input-output-hk/hydra-poc/pull/338). This prevents closing the head with arbitrary UTxO. -- Clients can fanout a Head closed without any off-chain transactions (eg. with initial snapshot) [#395](https://github.com/input-output-hk/hydra-poc/issues/395) +## [0.6.0] - 2022-06-22 #### Added @@ -23,16 +18,20 @@ changes. - Transactions can now be submitted as raw CBOR-serialized object, base16 encoded, using the `NewTx` client input. This also supports the text-envelope format from cardano-cli out of the box. See the [api Reference](https://hydra.family/head-protocol/api-reference#operation-publish-/-message). -- New `ReadyToFanout` server output on the client API. +- **BREAKING** The `hydra-node` does not finalize Heads automatically anymore. + + Instead clients do get a new `ReadyToFanout` server output after the contestation period and + + Clients can use the `Fanout` client input command to deliberately finalize a Head when it is closed and the contestation period passed. - Remaining contestation period is included in `HeadIsClosed` and displayed in `hydra-tui`. #### Changed - **BREAKING**: The starting state of a Head is renamed to `IdleState`, which is visible in the log API. -- **BREAKING** The `hydra-node` does not finalize Heads automatically anymore. - + Instead clients do get a new `ReadyToFanout` server output after the contestation period and - + Clients can use the `Fanout` client input command to deliberately finalize a Head when it is closed and the contestation period passed. + +#### Fixed + +- Head script to check UTxO hash upon closing the head correctly [#338](https://github.com/input-output-hk/hydra-poc/pull/338). Previously it was possible to close the head with arbitrary UTxO. +- Clients can fanout a Head closed without any off-chain transactions (eg. with initial snapshot) [#395](https://github.com/input-output-hk/hydra-poc/issues/395) ## [0.5.0] - 2022-05-06 diff --git a/README.md b/README.md index 7ccb6d9cce3..009e9f68a05 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,6 @@ More information (including a demo) available on [user manual 📖](https://hydr Proof of concept: - [x] Coordinated Hydra Head protocol - [x] Single Head per hydra-node -- [x] Stubbed chain using external process - [x] Network statically configured, direct TCP connections - [x] WebSocket, message-based API Server - [x] Terminal user interface client diff --git a/hydra-cardano-api/hydra-cardano-api.cabal b/hydra-cardano-api/hydra-cardano-api.cabal index c49a132744a..d4a6a12f6cd 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.5.0 +version: 0.6.0 synopsis: A Haskell API for Cardano, tailored to the Hydra project. author: IOG copyright: 2022 IOG diff --git a/hydra-node/hydra-node.cabal b/hydra-node/hydra-node.cabal index 16a6a3d2004..1f305354361 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.5.0 +version: 0.6.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 f8c3360d2c3..39d71fa7c50 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.5.0' + version: '0.6.0' description: | WebSocket API for administrating Hydra heads: multi-party isomorphic state-channels for Cardano. diff --git a/hydra-plutus/hydra-plutus.cabal b/hydra-plutus/hydra-plutus.cabal index 33298146daa..ae6bbb963cd 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.5.0 +version: 0.6.0 synopsis: Hydra Plutus Contracts author: IOG copyright: 2022 IOG @@ -124,14 +124,16 @@ test-suite tests other-modules: Hydra.Data.ContestationPeriodSpec Spec + build-depends: , base , hspec , hspec-core - , hydra-prelude , hydra-plutus + , hydra-prelude , hydra-test-utils , QuickCheck + build-tool-depends: hspec-discover:hspec-discover -any executable inspect-script diff --git a/hydra-prelude/hydra-prelude.cabal b/hydra-prelude/hydra-prelude.cabal index 3ccb0f14329..8210be71d03 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.5.0 +version: 0.6.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 69e88b14490..4dcf6cc7995 100644 --- a/hydra-test-utils/hydra-test-utils.cabal +++ b/hydra-test-utils/hydra-test-utils.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: hydra-test-utils -version: 0.5.0 +version: 0.6.0 synopsis: Hydra utilities for testing, aka. "Test Prelude" author: IOG copyright: 2022 IOG