blockfrost-api 0.14.0.0 → 0.15.0.0
raw patch · 3 files changed
+14/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
- Blockfrost.Types.Cardano.Mempool: MempoolUTxOInput :: Text -> Text -> Integer -> Bool -> Bool -> MempoolUTxOInput
+ Blockfrost.Types.Cardano.Mempool: MempoolUTxOInput :: Maybe Text -> Text -> Integer -> Bool -> Bool -> MempoolUTxOInput
- Blockfrost.Types.Cardano.Mempool: [_address] :: MempoolUTxOInput -> Text
+ Blockfrost.Types.Cardano.Mempool: [_address] :: MempoolUTxOInput -> Maybe Text
Files
- CHANGELOG.md +12/−1
- blockfrost-api.cabal +1/−1
- src/Blockfrost/Types/Cardano/Mempool.hs +1/−1
CHANGELOG.md view
@@ -1,9 +1,20 @@+# Version [0.15.0.0](https://github.com/blockfrost/blockfrost-haskell/compare/api-0.14.0.0...api-0.15.0.0) (2026-02-02)++* Changes+ * Fix `MempoolUTxOInput` `address` field from `Text` to `Maybe Text` [#83](https://github.com/blockfrost/blockfrost-haskell/issues/83) [#84](https://github.com/blockfrost/blockfrost-haskell/pull/84)+ * Mempool API functions adjusted to not require passing in `Project` [#85](https://github.com/blockfrost/blockfrost-haskell/pull/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`+ # Version [0.14.0.0](https://github.com/blockfrost/blockfrost-haskell/compare/api-0.13.0.0...api-0.14.0.0) (2025-12-02) * Changes * Add `CustomURL` to `Env`, to allow arbitrary Blockfrost instance [#79](https://github.com/blockfrost/blockfrost-haskell/pull/79) * `BlockfrostNotFound` constructor of `BlockfrostError` is now `BlockfrostNotFound Text`- containing path that resulted in 404 error [#80](https://github.com/blockfrost/blockfrost-haskell/pull/80)+ containing path that resulted in 404 error [#81](https://github.com/blockfrost/blockfrost-haskell/pull/81) * Drop `Sanchonet` `Env` [#79](https://github.com/blockfrost/blockfrost-haskell/pull/79) # Version [0.13.0.0](https://github.com/blockfrost/blockfrost-haskell/compare/api-0.12.2.0...api-0.13.0.0) (2025-06-03)
blockfrost-api.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: blockfrost-api-version: 0.14.0.0+version: 0.15.0.0 synopsis: API definitions for blockfrost.io description: Core types and Servant API description homepage: https://github.com/blockfrost/blockfrost-haskell
src/Blockfrost/Types/Cardano/Mempool.hs view
@@ -47,7 +47,7 @@ via CustomJSON '[FieldLabelModifier '[StripPrefix "_transaction", CamelToSnake]] TransactionInMempool data MempoolUTxOInput = MempoolUTxOInput- { _address :: Text -- ^ Address+ { _address :: Maybe Text -- ^ Address , _txHash :: Text -- ^ Transaction hash , _outputIndex :: Integer -- ^ Output index , _collateral :: Bool -- ^ True if the input is a collateral input