Skip to content

Commit

Permalink
Merge pull request #286 from input-output-hk/cardano-api-8.23.0.0
Browse files Browse the repository at this point in the history
New version `cardano-api-8.23.0.0`
  • Loading branch information
newhoggy authored Sep 29, 2023
2 parents 9b17a19 + 51cec0c commit 4990305
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 1 deletion.
85 changes: 85 additions & 0 deletions cardano-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,90 @@
# Changelog for cardano-api

# 8.23.0.0

- New `caseAlonzoOnlyOrBabbageEraOnwards` and `alonzoEraOnlyToAlonzoEraOnwards` functions
(feature, compatible)
[PR 282](https://github.com/input-output-hk/cardano-api/pull/282)

- Delete `AuxScriptsSupportedInEra`. Use `AllegraEraOnwards` instead.
(breaking, improvement)
[PR 273](https://github.com/input-output-hk/cardano-api/pull/273)

- - Rename `inShelleyBasedEraEonMaybe` to `forShelleyBasedEraInEonMaybe`
- Rename `inShelleyBasedEraEon` to `forShelleyBasedEraInEon`
- Rename `maybeEonInShelleyBasedEra` to `forShelleyBasedEraMaybeEon`
- Rename `eonInShelleyBasedEra` to `inEonForShelleyBasedEra`
- Rename `maybeEonInEra` to `forEraMaybeEon`
- Rename `inEraEonMaybe` to `forEraInEonMaybe`
- New `inEonForEraMaybe` function
- New `inEonForShelleyBasedEraMaybe` function
(feature, breaking)
[PR 281](https://github.com/input-output-hk/cardano-api/pull/281)

- Remove `CollateralSupportedInEra`. Use `AlonzoEraOnwards` instead.
Remove `collateralSupportedInEra`. Use `inEonForEra` instead.
(breaking)
[PR 271](https://github.com/input-output-hk/cardano-api/pull/271)

- Replace `TxScriptValiditySupportedInEra`. Use AlonzoEraOnwards instead.
Delete `txScriptValiditySupportedInCardanoEra`. Use `forEraInEra` instead.
Delete `txScriptValiditySupportedInShelleyBasedEra`. Use `forEraInEra` instead.
(breaking)
[PR 261](https://github.com/input-output-hk/cardano-api/pull/261)

- Delete `ValidityUpperBoundSupportedInEra`. Use `ShelleyBasedEra` instead.
Delete `ValidityNoUpperBoundSupportedInEra`. Use `ByronAndAllegraEraOnwards` instead.
New `caseByronAndAllegraEraOnwardsOrShelleyEraOnly` function.
New `ShelleyEraOnly` eon
New `ByronAndAllegraEraOnwards` eon
Delete `validityUpperBoundSupportedInEra`. Use `inEonForEra` instead.
Delete `validityNoUpperBoundSupportedInEra`. Use `inEonForEra` instead.
Delete `IsByronToAllegraEra`.
Delete `IsByronToMaryEra`.
Delete `IsByronToAlonzoEra`.
(breaking, improvement)
[PR 272](https://github.com/input-output-hk/cardano-api/pull/272)

- New `AnyEraInEon`.
Delete:
* AnyByronEraOnly
* AnyByronToAllegraEra
* AnyByronToMaryEra
* AnyByronToAlonzoEra
* AnyShelleyToAllegraEra
* AnyShelleyToMaryEra
* AnyShelleyToAlonzoEra
* AnyShelleyToBabbageEra
* AnyShelleyBasedEra
* AnyMaryEraOnwards
* AnyAlonzoEraOnly
* AnyAlonzoEraOnwards
* AnyBabbageEraOnwards
* AnyConwayEraOnwards
Use `AnyEraInEon` instead.
(feature, breaking)
[PR 280](https://github.com/input-output-hk/cardano-api/pull/280)

- Delete `ValidityLowerBoundSupportedInEra`. Use `AllegraEraOnwards` instead
Delete `validityLowerBoundSupportedInEra`. Use `inEonForEra` or equivalent instead
(breaking, improvement)
[PR 279](https://github.com/input-output-hk/cardano-api/pull/279)

- Delete `TxExtraKeyWitnessesSupportedInEra`. Use `AlonzoEraOnwards` instead.
Delete `extraKeyWitnessesSupportedInEra`. Use `inEonForEra` or related instead.
(breaking, improvement)
[PR 278](https://github.com/input-output-hk/cardano-api/pull/278)

- Delete `TxTotalAndReturnCollateralSupportedInEra`. Use `BabbageEraOnwards` instead.
Delete `totalAndReturnCollateralSupportedInEra`. Use `inEonForEra` or related instead.
(breaking, improvement)
[PR 275](https://github.com/input-output-hk/cardano-api/pull/275)

- Explicit pattern match on all ledger certificates constructors.
Remove `getIsCardanoEraConstraint`. Use `cardanoEraConstraints` instead.
(breaking, improvement)
[PR 277](https://github.com/input-output-hk/cardano-api/pull/277)

## 8.22.0.0

- A prior refactor accidentally defaulted to `isLeadingSlotsTPraos` regardless of the era
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.22.0.0
version: 8.23.0.0
synopsis: The cardano api
description: The cardano api.
category: Cardano,
Expand Down

0 comments on commit 4990305

Please sign in to comment.