Skip to content

Commit 898d49a

Browse files
committed
Prepare 4.0.0 pre-release
1 parent ee268a4 commit 898d49a

File tree

7 files changed

+49
-10
lines changed

7 files changed

+49
-10
lines changed

.ci/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ ENV CARDANO_ERA=Conway
1313
WORKDIR /app
1414
EXPOSE 8081
1515
HEALTHCHECK --interval=40s --timeout=10s --start-period=30s --retries=2 CMD [ "/bin/kuber-server" , "--healthcheck" ]
16-
ENTRYPOINT /bin/kuber-server
16+
ENTRYPOINT ["/bin/kuber-server"]

.ci/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ if [[ "$1" == cabal* ]] ; then
7070
execute-isolated "$@" # execute the cabal command
7171
else
7272
## default build
73-
execute-isolated 'cabal build exe:kuber-server && bash -e ./.ci/copy-libraries.sh'
73+
execute-isolated 'cabal build exe:kuber-server exe:kuber-hydra && bash -e ./.ci/copy-libraries.sh'
7474

7575
## build final docker image. by determining the git revision or passing the arguments to docker command.
7676

.ci/copy-libraries.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ function getVersion(){
5959

6060
#Get the library dependencies
6161
copyExecutable "$(findExecutable kuber-server)"
62+
copyExecutable "$(findExecutable kuber-hydra)"
6263
copyExecutable /bin/bash
6364
copyExecutable /bin/ls
6465
copyExecutable /bin/sh

CHANGELOG.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
## v4.0.0-rc1 : Hydra Integration
2+
This release introduces **kuber-hydra**, a dedicated module that adds full Hydra head
3+
support to Kuber. The new module exposes a set of **command** and **query** APIs for
4+
**committing**, **decommitting**, **closing**, **fan‑out**, **contesting**, and **querying** the state of a
5+
Hydra head, along with a **transaction‑builder** helper and APIs.
6+
7+
**Note :** `kuber-hydra` executable additionally exposes all layer1 endpoints making it versatile for both hydra and l1 interaction.
8+
9+
##### DependsOn
10+
- cardano-api:10.1
11+
12+
##### Tested with
13+
- hydra-node:0.22.0-65b4c1201e7533d4269d42e2ca1c8b53f999454f
14+
15+
### Changes: kuber-hydra
16+
- Added new module `kuber-hydra` with:
17+
- **Command endpoints** under `/api/hydra`:
18+
- **POST** /hydra/init
19+
- **POST** /hydra/abort
20+
- **POST** /hydra/commit
21+
- **POST** /hydra/decommit
22+
- **POST** /hydra/close
23+
- **POST** /hydra/contest
24+
- **POST** /hydra/fanout
25+
- **POST** /hydra/tx
26+
- **POST** /hydra/submit
27+
- **Query endpoints** under `/api/hydra/query`:
28+
- **GET** /hydra/query/utxo
29+
- **GET** /hydra/query/head
30+
- **GET** /hydra/query/protocol-parameters
31+
- **GET** /hydra/query/state
32+
- **GET** /hydra/query/commits
33+
- Implemented a Hydra transaction‑builder that:
34+
- Selects inputs/outputs
35+
- Handles optional signing keys
36+
- Filters UTxOs by txin and address
37+
- Updated Hydra‑specific documentation and added sequence diagrams illustrating
38+
typical Hydra head interactions.
39+
140
## v3.1.2 : Upgrade cardano-api to 10.x
241

342
### Changes
@@ -86,4 +125,3 @@ This stable release supports adds full support for new conway governance feature
86125
- `TxBuilder` is now parametrized on `era` suppporting `Babbage` and `Conway` eras, with `IsTxBuilderEra` constraint.
87126
- Kuber Offchain code required Local Node Socket. **WIP** support running kuber code by connecting to kuber server
88127
- Remove `ChainConnectInfo`and related classes. Instead, use `LocalNodeConnectInfo CardanoMode` directly.
89-

kuber-hydra/kuber-hydra.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ name: kuber-hydra
2020
-- PVP summary: +-+------- breaking API changes
2121
-- | | +----- non-breaking API additions
2222
-- | | | +--- code changes with no API change
23-
version: 0.1.0.0
23+
version: 4.0.0.1
2424

2525
-- A short (one-line) description of the package.
2626
-- synopsis:

kuber-server/kuber-server.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: kuber-server
3-
version: 3.1.2.0
3+
version: 4.0.0.1
44

55
-- A short (one-line) description of the package.
66
-- synopsis:

kuber.cabal

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: kuber
3-
version: 3.1.2.0
3+
version: 4.0.0.1
44

55
-- A short (one-line) description of the package.
66
-- synopsis:
@@ -93,10 +93,10 @@ library
9393
, transformers
9494
, unordered-containers
9595
, time
96-
, servant
97-
, servant-client
98-
, http-media
99-
, http-client
96+
, servant
97+
, servant-client
98+
, http-media
99+
, http-client
100100
, network-uri
101101
, http-types
102102
, http-client-tls

0 commit comments

Comments
 (0)