Skip to content

Releases: blockfrost/blockfrost-haskell

client-core-0.8.0.0

15 Apr 11:05

Choose a tag to compare

  • Changes
    • BlockfrostError constructor of BlockfrostError type now contains
      Status from Network.HTTP.Types.Status (HTTP status code and an explanation message).
      Previously BlockfrostError Text, now BlockfrostError Status Text.
    • BlockfrostFatal constructor (HTTP 500) of BlockfrostError merged into BlockfrostError constructor.
    • Blockfrost.Client.Core module now exports retriableError, for retry logic
      implemented in blockfrost-client package (using Control.Retry from retry package).

Full Changelog: client-core-0.7.0.0...client-core-0.8.0.0

client-0.13.0.0

15 Apr 11:07

Choose a tag to compare

  • Changes

    • Retry logic added

      Client will retry most transient errors like connection timeouts,
      up to 5 times with exponential backoff. This can be customized
      via clientConfigRetryPolicy field of ClientConfig. See Control.Retry
      for available options.

      • type ClientConfig = (ClientEnv, Project) is now

        data ClientConfig =
          ClientConfig
            { clientConfigClientEnv   :: ClientEnv
            , clientConfigProject     :: Project
            , clientConfigRetryPolicy :: RetryPolicy
            , clientConfigRetryJudge  :: RetryStatus -> BlockfrostError -> RetryAction
            }
        

        last two fields are populated with defaultRetryPolicy and defaultRetryJudge.

    • ipfsAdd

      • no longer throws BlockfrostError "File not found"
      • no longer checks if the file exists
      • no longer prints "Uploading: <filename>" message to stdout
  • Released with client-core-0.8 - https://github.com/blockfrost/blockfrost-haskell/releases/tag/client-core-0.8.0.0

Full Changelog: client-0.12.0.0...client-0.13.0.0

client-0.12.0.0

15 Apr 11:03

Choose a tag to compare

  • Changes
    • Fix MempoolUTxOInput address field from Text to Maybe Text #83 #84
    • Mempool API functions adjusted to not require passing in Project #85
      • Previous getMempoolTransactions prj def def is now simply getMempoolTransactions and a principled
        variant getMempoolTransactions' is provided accepting page and sort order parameters
        (for example allPages $ \p -> getMempoolTransactions' p def).
      • Similar for getMempoolTransactionsByAddress.
      • getMempoolTransaction now simply doesn't require passing Project

Full Changelog: client-0.11.0.0...client-0.12.0.0

client-0.11.0.0

02 Dec 14:38

Choose a tag to compare

  • Changes
    • Add CustomURL to Env, to allow arbitrary Blockfrost instance #79
    • BlockfrostNotFound constructor of BlockfrostError is now BlockfrostNotFound Text
      containing path that resulted in 404 error #81
    • Drop Sanchonet Env #79

api-0.14.0.0

02 Dec 14:38

Choose a tag to compare

  • Changes
    • Add CustomURL to Env, to allow arbitrary Blockfrost instance #79
    • BlockfrostNotFound constructor of BlockfrostError is now BlockfrostNotFound Text
      containing path that resulted in 404 error #81
    • Drop Sanchonet Env #79

client-0.10.0.0

03 Jun 08:13

Choose a tag to compare

What's Changed

  • Additions
    • Governance support #77
    • AccountInfo extended with drepId field #77

Full Changelog: client-0.9.2.0...client-0.10.0.0

api-0.13.0.0

03 Jun 08:12

Choose a tag to compare

What's Changed

  • Additions
    • Governance support #77
    • AccountInfo extended with drepId field #77

Full Changelog: api-0.12.2.0...api-0.13.0.0

client-0.9.2.0

07 Apr 08:52

Choose a tag to compare

What's Changed

  • Avoid overlapping instances using newtype by @ch1bo in #72
  • Add block TXs CBOR support by @sorki in #73
  • Switch TxHashesCBOR to list of TxHashCBOR by @sorki in #75

New Contributors

  • @ch1bo made their first contribution in #72

Full Changelog: client-0.9.1.0...client-0.9.2.0

api-0.12.2.0

07 Apr 08:51

Choose a tag to compare

What's Changed

  • Avoid overlapping instances using newtype by @ch1bo in #72
  • Add block TXs CBOR support by @sorki in #73
  • Switch TxHashesCBOR to list of TxHashCBOR by @sorki in #75

New Contributors

  • @ch1bo made their first contribution in #72

Full Changelog: api-0.12.1.0...api-0.12.2.0

client-0.9.1.0

07 Apr 08:54

Choose a tag to compare

What's Changed

  • client: fix GET /txs/{hash}/cbor endpoint return type by @ffakenz in #65

Full Changelog: client-0.9.0.0...client-0.9.1.0