Skip to content

Files

Latest commit

926859a · Mar 21, 2025

History

History
74 lines (43 loc) · 3.22 KB

CHANGELOG.md

File metadata and controls

74 lines (43 loc) · 3.22 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and we follow Semantic Versioning.

v5.0.0

Changed

  • Replaced cardano-serialization-lib (CSL) with cardano-data-lite (CDL) (#21)
    • fromCsl and toCsl functions renamed to fromCdl and toCdl respectively
  • PlutusScript.fromCdl (previously fromCsl) now accepts an additional Language parameter, since the corresponding CDL type doesn't preserve the language tag (#21)

Removed

  • AsCbor instance for PlutusScript. Please use the PlutusScript.encodeCbor and PlutusScript.decodeCbor functions instead (#21)
  • PointerAddress and the corresponding Address constructor (marked as deprecated in Conway) (#21)

v4.1.0

  • introduce Cardano.Types.Chain module with exported types: Chain, ChainTip, BlockHeaderHash
  • introduce Cardano.Types.DelegationsAndRewards module with exported types: DelegationsAndRewards
  • introduce Cardano.Types.EraSummaries module with exported types: EpochLength, EraSummaries, EraSummary, EraSummaryParameters, EraSummaryTime, RelativeTime, SafeZone, SlotLength

v4.0.0

Changed

  • Synchronized with @mlabs-haskell/cardano-serialization-lib-gc version v13.2.0.
  • Transaction.hash now internally converts a Transaction to FixedTransaction under the hood. Context: The previously used hash_transaction function has been removed from CSL as it could not guarantee the correctness of a transaction hash for transactions created by third-party tools.

v3.0.0

Changed

  • Synchronized with @mlabs-haskell/cardano-serialization-lib-gc version v12.0.0.
  • Renamed DrepVotingThresholds to DRepVotingThresholds.

v2.0.1

Added

More utils for end users:

  • Cardano.Types.Transaction: findUtxos
  • Cardano.Types.TransactionInput: pprintTransactionInput
  • Cardano.Types.TransactionUnspentOutput: filterUtxos, hasTransactionHash

Fixed

  • Do not add empty Withdrawals map to serialized TransactionBody (#11)

v2.0.0

Changed

  • Moved to Conway era and @mlabs-haskell/cardano-serialization-lib-gc version v12.0.0-alpha.31.
  • datum field of a Redeemer: use RedeemerDatum instead of PlutusData

Added

  • RedeemerDatum type (a tagged newtype over PlutusData)
  • Field access lenses for main domain types (Transaction, TransactionOutput, TransactionInput)

v1.0.1

Changed

  • Aeson instances for AssetName: encode as byte string instead of Plutus-compatible encoding. The instances have been moved to purescript-plutus-types (TokenName).

v1.0.0

First complete version of the library