haskoin-store-data 3.0.0 → 3.0.1
raw patch · 3 files changed
+17/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +11/−0
- haskoin-store-data.cabal +1/−1
- src/Haskoin/Store/Data.hs +5/−3
CHANGELOG.md view
@@ -4,6 +4,17 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html) +## [3.0.1] - 2026-11-19++### Changed+- **The message of `BehindFleet` says what an operator sees:** "This+ server is not synchronized with the network", instead of "This server is+ behind the other servers of its fleet". A store answers it whenever it+ does not have the block to answer from, also when it runs alone, so the+ fleet was the wrong thing to name. The error code, `behind-fleet`, and+ the constructor stay as they were, for clients and load balancers that+ look for them.+ ## [3.0.0] - 2026-11-15 The context of libsecp256k1 (`Ctx`) is gone from the whole API. It is
haskoin-store-data.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: haskoin-store-data-version: 3.0.0+version: 3.0.1 synopsis: Data types and API client of Haskoin Store description: The types of the data that Haskoin Store serves (blocks, transactions, balances, unspent outputs, extended public keys, health checks, events and
src/Haskoin/Store/Data.hs view
@@ -2027,8 +2027,10 @@ ServerTimeout | -- | the request asks for too much (413) RequestTooLarge- | -- | the server is one of a fleet and does not have the block that the- -- fleet answers from; another server of the fleet does (503)+ | -- | the server is not synchronized with the network: it does not have+ -- the block that it would answer from yet (503). The name and the+ -- code, @behind-fleet@, are older than the message, and kept so that+ -- clients and load balancers that look for them still find them. BehindFleet deriving (Show, Eq, Ord, Generic, NFData) @@ -2073,7 +2075,7 @@ ] BehindFleet -> [ "error" .= String "behind-fleet",- "message" .= String "This server is behind the other servers of its fleet"+ "message" .= String "This server is not synchronized with the network" ] instance FromJSON Except where