blockfrost-api 0.13.0.0 → 0.14.0.0
raw patch · 3 files changed
+11/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
- Blockfrost.Auth: Sanchonet :: Env
- Blockfrost.Env: Sanchonet :: Env
+ Blockfrost.Auth: CustomURL :: String -> Env
+ Blockfrost.Env: CustomURL :: String -> Env
Files
- CHANGELOG.md +8/−0
- blockfrost-api.cabal +1/−1
- src/Blockfrost/Env.hs +2/−2
CHANGELOG.md view
@@ -1,3 +1,11 @@+# 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)+ * 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) * Additions
blockfrost-api.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: blockfrost-api-version: 0.13.0.0+version: 0.14.0.0 synopsis: API definitions for blockfrost.io description: Core types and Servant API description homepage: https://github.com/blockfrost/blockfrost-haskell
src/Blockfrost/Env.hs view
@@ -20,8 +20,8 @@ | Testnet | Preprod | Preview- | Sanchonet | Localhost+ | CustomURL String -- ^ Full URL to custom Blockfrost instance deriving (Eq, Read, Show, Ord, Generic) -- | Try parsing @Env@ from @Text@@@ -31,4 +31,4 @@ Nothing -> Left $ "Unknown environment: `" <> tEnv <> "`"- <> " expecting one of `ipfs`, `mainnet`, `testnet`, `preprod`, `preview`, `sanchonet`, `localhost`"+ <> " expecting one of `ipfs`, `mainnet`, `testnet`, `preprod`, `preview`, `localhost`"