Skip to content

Releases: blockfrost/blockfrost-haskell

v0.7.0.0

11 Oct 05:49
Compare
Choose a tag to compare

blockfrost-api

Breaking

  • Added ScriptHashList newtype instead of overlapping instance for [ScriptHash] which is used as a result of _listScripts in ScriptsAPI #31

Additional

  • Relax lens upper bound to allow 5.1, 5.2 #30

blockfrost-client

Breaking

  • listScript and listScripts' now return ScriptHashList newtype
    instead of [ScriptHash] due to overlapping instance conflicts #31

Full Changelog: v0.6.0.0...v0.7.0.0

v0.6.0.0

31 Aug 16:54
Compare
Choose a tag to compare

Vasil HF

blockfrost-api

  • Additions

    • AccountReward now contains additional type field refering to RewardType
    • AssetTransaction grows blockTime field
    • PoolInfo grows blocksEpoch field with number of blocks minted in the current epoch
    • Vasil related
      • ScriptDatumCBOR type and _getScriptDatumCBOR route
      • Both UtxoInput and UtxoOutput now has
        • inlineDatum field with Maybe InlineDatum type
        • referenceScriptHash field with Maybe ScriptHash type
      • UtxoInput now has reference field indicating that input is a reference input
      • UtxoOutput now has collateral field when UTXO is a collateral output
      • AddressUtxo now also has inlineDatum and referenceScriptHash fields
    • CostModels data type which is now returned as part of ProtocolParameters
    • Block now has opCert and opCertCounter fields
    • Preprod and Preview environments
  • Changes

    • ValidationPurpose type moved from Blockfrost.Types.Cardano.Transactions to Blockfrost.Types.Shared.ValidationPurpose
    • dataHash field of AddressUtxo changes type from Maybe Text to Maybe DatumHash
    • datumHash field of TransactionRedeemer is now deprecated in favor of redeemerDataHash field
    • datumHash field of ScriptRedeemer is now deprecated in favor of redeemerDataHash field
      • and also changes type from Text to DataHash
    • ScriptType
      • Plutus type is now PlutusV1
      • adds PlutusV2
    • ProtocolParameters
      • coinsPerUtxoWord is now deprecated, prefer coinsPerUtxoSize
      • coinsPerUtxoSize is now
        • Cost per UTxO word for Alonzo.
        • Cost per UTxO byte for Babbage and later.
      • extraEntropy field changes type from Maybe Value to Maybe Text
    • ProtocolParams
      • types of following fields changed from Double to Rational
        • a0
        • rho
        • tau
        • decentralisationParam
        • priceMem
        • priceStep
    • PoolInfo
      • type of marginCost field changes from Double to Rational
    • Genesis
      • type of activeSlotsCoefficient field changes from Double to Rational

blockfrost-client

  • Additions
    • getScriptDatumCBOR query for /scripts/datum/{datum-hash}/cbor endpoint

blockfrost-client-core

  • Additions

    • HTTP Error 425
      • BlockfrostMempoolFullOrPinQueueFull to BlockfrostError
        • related to /tx/submit endpoint
        • or to IPFS pinning /ipfs/pin/add/{IPFS_path} endpoint
    • Preprod and Preview environments
  • Changes

    • Order of results returned by allPages is now the same as returned by the API. Was unintentionally reversed before.

v0.5.0.0

06 Jun 09:41
47b2fa9
Compare
Choose a tag to compare

What's Changed

  • Fix haddock comment by @Unisay in #21
  • Leave out pool_ids when calling getEpochStakeByPool. Fixes #22 by @zopa in #23

New Contributors

Full Changelog: v0.4.0.1...v0.5.0.0

v0.4.0.1

05 Apr 13:40
fbd6fdc
Compare
Choose a tag to compare

Maintenance release allowing servant 0.19.

v0.4

09 Mar 13:48
4761225
Compare
Choose a tag to compare
  • blockfrost-api changes
    • AccountInfo
      • activeEpoch field type changed from Integer to Maybe Integer
    • UtxoInput
      • txHash field type changed from Text to TxHash newtype
    • TxMetaJSON and TxMetaCBOR
      • txHash field type changed from Text to TxHash newtype
  • blockfrost-client-core now re-exports nextPage helper
  • blockfrost-client now requires blockfrost-api 0.4.x

v0.3.1

17 Feb 13:33
edfd43a
Compare
Choose a tag to compare
  • blockfrost-api additions

    • /blocks/${hash_or_number}/addresses endpoint (Affected addresses in a block)
    • blockTime field to AddressTransaction
    • Ord instances for Address, AssetId, BlockHash, Epoch, Slot, TxHash
    • Enum, Real, Integral for Slot and Epoch
  • blockfrost-client additions

    • getBlockAffectedAddresses for /blocks/${hash_or_number}/addresses endpoint (Affected addresses in a block)

Tagless

07 Feb 10:46
e0e451e
Compare
Choose a tag to compare

Tagless client #11 and miscellaneous fixes #12

v0.2.1

15 Nov 12:18
5f38357
Compare
Choose a tag to compare

Additions of account associated addresses and assets. Thanks to @nhenin!

Full Changelog: v0.2.0.0...v0.2.1.0

Alonzo

29 Oct 12:18
c3812a1
Compare
Choose a tag to compare

Blockfrost 1.30 compatible.

Initial release

14 Sep 12:31
Compare
Choose a tag to compare

Packages now available on Hackage.