Skip to content

Commit f2469e3

Browse files
authored
Merge pull request #1210 from IntersectMBO/jordan/remove-legacy-certificate-type
Remove legacy Certificate type and Cardano.Api.Certificate module
2 parents 1b3393d + 089edd7 commit f2469e3

17 files changed

Lines changed: 217 additions & 875 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
project: cardano-api
2+
pr: 1210
3+
kind:
4+
- breaking
5+
description: |
6+
Remove the deprecated `data Certificate era` GADT, its `ShelleyRelatedCertificate`/`ConwayCertificate` constructors, all `make*Certificate` functions, all `*Requirements` GADTs, and the public `Cardano.Api.Certificate` module. Consumers should use the certificate API exposed via `Cardano.Api.Experimental.Certificate` (era-polymorphic, Conway onwards) or `Cardano.Api.Compatible.Certificate` (covers all Shelley-based eras).
7+
8+
Pool-related types (`PoolId`, `StakePoolParameters`, `StakePoolRelay`, `StakePoolMetadataReference`) and their conversion helpers remain in `Cardano.Api.Certificate.Internal` and are re-exported by `Cardano.Api.Experimental.Certificate`.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
project: cardano-wasm
2+
pr: 1210
3+
kind:
4+
- maintenance
5+
description: |
6+
Switch the `PoolId` import in `Cardano.Wasm.Api.Certificate.StakeCertificate` from `Cardano.Api` to `Cardano.Api.Experimental.Certificate` after the legacy `Cardano.Api.Certificate` re-export module was removed upstream.

cardano-api/cardano-api.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ library
7272
Cardano.Api.Address
7373
Cardano.Api.Block
7474
Cardano.Api.Byron
75-
Cardano.Api.Certificate
7675
Cardano.Api.Compatible
7776
Cardano.Api.Compatible.Certificate
7877
Cardano.Api.Compatible.Tx

0 commit comments

Comments
 (0)