Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release cardano-cli 10.2.0.0 #1002

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ if os(windows)
allow-newer: *:time

constraints: any.text source

-- Depending on C++ for just so slightly faster utf8 parsing is a bit annoying
-- especially as it brings in all kinds of complications for GHC.
package text
Expand Down
68 changes: 68 additions & 0 deletions cardano-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,74 @@
# Changelog for cardano-cli

## 10.2.0.0

- Augment of query spo-stake-distribution to include the DRep delegation choices of the Pool's rewards accounts
(breaking)
[PR 990](https://github.com/IntersectMBO/cardano-cli/pull/990)

- Implement the `query proposals` command
(feature, compatible)
[PR 984](https://github.com/IntersectMBO/cardano-cli/pull/984)

- More fine grained controls of eras for create-testnet-data. Forbid creating DReps and CC in babbage.

Remove the `create-testnet-data` altogether in eras earlier than Babbage
(breaking)
[PR 968](https://github.com/IntersectMBO/cardano-cli/pull/968)

- Update API to 10.4.0.0
(breaking)
[PR 988](https://github.com/IntersectMBO/cardano-cli/pull/988)

- Modified anchor-data checking to allow HTTP schema for testing purposes
(feature)
[PR 979](https://github.com/IntersectMBO/cardano-cli/pull/979)

- Minting script witness refactor
The type `ScriptWitnessFiles` makes it difficult to accommodate for specific changes to plutus scripts.
As a result we introduce `MintScriptWitnessWithPolicyId` as a first step towards deprecating `ScriptWitnessFiles`.
This paves the way to more readable code and allows us to introduce specific changes to the different script types i.e simple vs plutus.
(breaking, refactoring)
[PR 971](https://github.com/IntersectMBO/cardano-cli/pull/971)

- create-testnet-data: create byron genesis
(breaking, test)
[PR 974](https://github.com/IntersectMBO/cardano-cli/pull/974)

- `transaction build` now checks and fails if stake addresses used for deposit return or treasury withdrawals in proposals are NOT registered on-chain.
(feature)
[PR 963](https://github.com/IntersectMBO/cardano-cli/pull/963)

- transaction submit: print transaction hash, like this:

Transaction successfully submitted. Transaction hash is:
{"txhash":"456c614d5d547b7fe197a4d18fbb86e086cb9080594dabf9059adf08b00cf2bd"}

Previously it was:

Transaction successfully submitted.
(feature, breaking)
[PR 925](https://github.com/IntersectMBO/cardano-cli/pull/925)

- Add option --committee-keys to `create-testnet-data` to create the cold and hot credential for constitutional committee members
(compatible)
[PR 961](https://github.com/IntersectMBO/cardano-cli/pull/961)

- Added anchor data hash checks to `transaction build`
(feature)
[PR 951](https://github.com/IntersectMBO/cardano-cli/pull/951)

- Update cardano-api to [10.2.0.0](https://github.com/IntersectMBO/cardano-api/releases/tag/cardano-api-10.2.0.0)
(breaking)
[PR 967](https://github.com/IntersectMBO/cardano-cli/pull/967)

- Add the `debug check-node-configuration --node-configuration-file node-config.json` command
that reads `node-config.json` and checks that the hashes of genesis files are correct.
(feature)
[PR 923](https://github.com/IntersectMBO/cardano-cli/pull/923)

## 10.1.1.0

- Restore stable query cmds
(bugfix)
[PR 955](https://github.com/IntersectMBO/cardano-cli/pull/955)
Expand Down
3 changes: 2 additions & 1 deletion cardano-cli/cardano-cli.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.4
name: cardano-cli
version: 10.1.1.0
version: 10.2.0.0
synopsis: The Cardano command-line interface
description: The Cardano command-line interface.
copyright: 2020-2023 Input Output Global Inc (IOG).
Expand Down Expand Up @@ -222,6 +222,7 @@ library
containers,
contra-tracer,
cryptonite,
data-default <0.8,
deepseq,
directory,
exceptions,
Expand Down
3 changes: 3 additions & 0 deletions cardano-cli/src/Cardano/CLI/Orphans.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ import qualified Cardano.Api.Ledger as L
import Cardano.Api.Shelley (scriptDataToJsonDetailedSchema)

import Data.Aeson
import Data.Default ()

-- FIXME remove Data.Default () import. This is only to force usage of data-default < 0.8 and to work around unused pacakge warning.

-- TODO upstream this orphaned instance to the ledger
instance (L.EraTxOut ledgerera, L.EraGov ledgerera) => ToJSON (L.NewEpochState ledgerera) where
Expand Down
Loading