Skip to content

Commit

Permalink
New version cardano-api-8.21.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
newhoggy authored and smelc committed Sep 25, 2023
1 parent ddd7627 commit e5fb696
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 1 deletion.
75 changes: 75 additions & 0 deletions cardano-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,80 @@
# Changelog for cardano-api

## 8.21.0.0

- - cardano-api-internal: ProposeNewCommittee: `StakeKey` -> `CommitteeColdKey`
(breaking, improvement)
[PR 264](https://github.com/input-output-hk/cardano-api/pull/264)

- - Organise eon re-exports from `Cardano.Api`.
- Export `MaryEraOnwards`
(feature, compatible)
[PR 265](https://github.com/input-output-hk/cardano-api/pull/265)

- - Delete `AdaSupportedInEra`. Use `ByronToAllegraEra` instead.
- Delete `MultiAssetSupportedInEra`. Use `MaryEraOnwards` instead.
- Delete function `multiAssetSupportedInEra`. Use `caseByronToAllegraOrMaryEraOnwards` instead.
- New `ByronToAllegraEra` eon.
- New `MaryEraOnwards` eon.
- New functions:
- `caseByronToAllegraOrMaryEraOnwards`
- `caseShelleyToAllegraOrMaryEraOnwards`
- `caseShelleyToMaryOrAlonzoEraOnwards`
- `shelleyToAllegraEraToByronToAllegraEra`
(breaking, improvement)
[PR 254](https://github.com/input-output-hk/cardano-api/pull/254)

- Delete unused eon type classes:
- `IsAlonzoEraOnly`
- `IsAlonzoEraOnwards`
- `IsBabbageEraOnwards`
- `IsByronEraOnly`
- `IsCardanoEra`
- `IsConwayEraOnwards`
- `IsShelleyToAllegraEra`
- `IsShelleyToAlonzoEra`
- `IsShelleyToBabbageEra`
- `IsShelleyToMaryEra`
(breaking)
[PR 256](https://github.com/input-output-hk/cardano-api/pull/256)

- Export `ByronEraOnly`
(feature)
[PR 255](https://github.com/input-output-hk/cardano-api/pull/255)

- Update to the pre-commit script, so that it fails on hlint errors
(improvement)
[PR 253](https://github.com/input-output-hk/cardano-api/pull/253)

- Delete `TxFeesExplicitInEra` and `TxFeesImplicitInEra`
New `ByronEraOnly` feature
Move `ShelleyBasedEra` into its own module as it is a legitimate feature
(breaking, improvement)
[PR 244](https://github.com/input-output-hk/cardano-api/pull/244)

- - Rename `FeatureInEra` to `Eon`
- Rename the following modules:
- `Cardano.Api.Feature.AlonzoEraOnly -> Cardano.Api.Eon.AlonzoEraOnly`
- `Cardano.Api.Feature.AlonzoEraOnwards -> Cardano.Api.Eon.AlonzoEraOnwards`
- `Cardano.Api.Feature.BabbageEraOnwards -> Cardano.Api.Eon.BabbageEraOnwards`
- `Cardano.Api.Feature.ConwayEraOnwards -> Cardano.Api.Eon.ConwayEraOnwards`
- `Cardano.Api.Feature.ShelleyToAllegraEra -> Cardano.Api.Eon.ShelleyToAllegraEra`
- `Cardano.Api.Feature.ShelleyToAlonzoEra -> Cardano.Api.Eon.ShelleyToAlonzoEra`
- `Cardano.Api.Feature.ShelleyToBabbageEra -> Cardano.Api.Eon.ShelleyToBabbageEra`
- `Cardano.Api.Feature.ShelleyToMaryEra -> Cardano.Api.Eon.ShelleyToMaryEra`
- Rename the following functions:
- `inEraFeature` to `inEonEra`
- `inEraFeature` to `eraInEon`
- Rename the following functions (conservatively replacing "feature" with "eon" until we have a better naming convention):
- `inEraFeatureMaybe -> inEraEonMaybe`
- `maybeFeatureInEra -> maybeEonInEra`
- `featureInShelleyBasedEra -> eonInShelleyBasedEra`
- `inShelleyBasedEraFeature -> inShelleyBasedEraEon`
- `inShelleyBasedEraFeatureMaybe -> inShelleyBasedEraEonMaybe`
- `maybeFeatureInShelleyBasedEra -> maybeEonInShelleyBasedEra`
(breaking, improvement)
[PR 247](https://github.com/input-output-hk/cardano-api/pull/247)

## 8.20.2.0

- Add JSON instance for `Hash GenesisKey`
Expand Down
2 changes: 1 addition & 1 deletion cardano-api/cardano-api.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 3.4

name: cardano-api
version: 8.20.2.0
version: 8.21.0.0
synopsis: The cardano api
description: The cardano api.
category: Cardano,
Expand Down

0 comments on commit e5fb696

Please sign in to comment.