Releases: blockfrost/blockfrost-haskell
client-core-0.8.0.0
- Changes
BlockfrostErrorconstructor ofBlockfrostErrortype now contains
StatusfromNetwork.HTTP.Types.Status(HTTP status code and an explanation message).
PreviouslyBlockfrostError Text, nowBlockfrostError Status Text.BlockfrostFatalconstructor (HTTP 500) ofBlockfrostErrormerged intoBlockfrostErrorconstructor.Blockfrost.Client.Coremodule now exportsretriableError, for retry logic
implemented inblockfrost-clientpackage (usingControl.Retryfromretrypackage).
Full Changelog: client-core-0.7.0.0...client-core-0.8.0.0
client-0.13.0.0
-
Changes
-
Retry logic added
Client will retry most transient errors like connection timeouts,
up to 5 times with exponential backoff. This can be customized
viaclientConfigRetryPolicyfield ofClientConfig. SeeControl.Retry
for available options.-
type ClientConfig = (ClientEnv, Project)is nowdata ClientConfig = ClientConfig { clientConfigClientEnv :: ClientEnv , clientConfigProject :: Project , clientConfigRetryPolicy :: RetryPolicy , clientConfigRetryJudge :: RetryStatus -> BlockfrostError -> RetryAction }last two fields are populated with
defaultRetryPolicyanddefaultRetryJudge.
-
-
ipfsAdd- no longer throws
BlockfrostError "File not found" - no longer checks if the file exists
- no longer prints
"Uploading: <filename>"message to stdout
- no longer throws
-
-
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
- Changes
- Fix
MempoolUTxOInputaddressfield fromTexttoMaybe Text#83 #84 - Mempool API functions adjusted to not require passing in
Project#85- Previous
getMempoolTransactions prj def defis now simplygetMempoolTransactionsand a principled
variantgetMempoolTransactions'is provided accepting page and sort order parameters
(for exampleallPages $ \p -> getMempoolTransactions' p def). - Similar for
getMempoolTransactionsByAddress. getMempoolTransactionnow simply doesn't require passingProject
- Previous
- Fix
Full Changelog: client-0.11.0.0...client-0.12.0.0
client-0.11.0.0
api-0.14.0.0
client-0.10.0.0
What's Changed
Full Changelog: client-0.9.2.0...client-0.10.0.0
api-0.13.0.0
What's Changed
Full Changelog: api-0.12.2.0...api-0.13.0.0
client-0.9.2.0
api-0.12.2.0
client-0.9.1.0
What's Changed
Full Changelog: client-0.9.0.0...client-0.9.1.0