Releases: blockfrost/blockfrost-backend-ryo
Releases · blockfrost/blockfrost-backend-ryo
v6.3.1
[6.3.1] - 2026-03-04
Added
- Added configurable
statement_timeoutfor DB Sync queries. Configurable viadbSync.statementTimeoutin config orBLOCKFROST_CONFIG_DBSYNC_STATEMENT_TIMEOUTenv var (value in milliseconds). Defaults to no timeout (PostgreSQL server default) - Configurable slow request detection. When
server.slowRequestThresholdMs(or envBLOCKFROST_CONFIG_SERVER_SLOW_REQUEST_THRESHOLD_MS) is set, a warning is logged for any request that has not completed within the given number of milliseconds. Disabled by default - Configurable DB connectivity timeout for the
/healthendpoint. Whenserver.healthCheckDbTimeoutMs(or envBLOCKFROST_CONFIG_SERVER_HEALTH_CHECK_DB_TIMEOUT_MS) is set,/healthreturns{ is_healthy: false }instead of hanging if the DB connection takes longer than the configured value. Disabled by default - Configurable connection timeout for acquiring a DB connection from the pool. Set via
dbSync.connectionTimeoutMsin config orBLOCKFROST_CONFIG_DBSYNC_CONNECTION_TIMEOUT_MSenv var (value in milliseconds). Defaults to no timeout
Changed
- Nutlink:
- Nutlink metadata fetch errors are no longer reported to Sentry
- Improved error message and log level changed from error to warn
What's Changed
- chore: don't report nutlink metadata fetch errors to sentry, set log … by @slowbackspace in #305
- fix: prevent handle leak and add configurable statement_timeout for D… by @slowbackspace in #308
- chore: add dbSync.connectionTimeoutMs by @slowbackspace in #309
- fix: dev build by @slowbackspace in #310
- chore: log the reason for health check fail by @slowbackspace in #311
Full Changelog: v6.3.0...v6.3.1
v6.3.0
[6.3.0] - 2026-03-02
Added
tx_slot,block_heightandblock_timefields to/accounts/{stake_address}/delegations,/accounts/{stake_address}/registrations,/accounts/{stake_address}/withdrawals,/accounts/{stake_address}/mirsendpointstreasury_donationfield to/txs/{hash}endpoint
What's Changed
- feat: add tx_slot and block_time to /accounts/:sa/*, treasury_donation in /txs/:tx_hash by @slowbackspace in #306
Full Changelog: v6.2.0...v6.3.0
v6.2.0
[6.2.0] - 2026-02-12
Added
- New
registeredfield in/accounts/:stake_addressresponse indicating whether the stake address is currently registered
Fixed
pool_idin/accounts/:stake_addressnow correctly returnsnullif delegation occurred before the latest deregistration
What's Changed
- fix: active and pool_id in stake address by @slowbackspace in #301
- chore: pm2 instance limit configuration by @mkmks in #302
New Contributors
Full Changelog: v6.1.1...v6.2.0
v6.1.1
What's Changed
- chore: include pm2 instance number in databaseSyncApplicationName by @slowbackspace in #300
Full Changelog: v6.1.0...v6.1.1
v6.1.0
[6.1.0] - 2025-01-09
Changed
- Optimized
/accounts/:stake_address/addressesquery performance- Requires new index:
bf_idx_tx_out_sa_paycred_script_id(see README)
- Requires new index:
What's Changed
- ci: update blockfrost-tests and lint by @hlolli in #298
- chore: faster /accounts/:stake_address/addresses by @slowbackspace in #299
New Contributors
Full Changelog: v6.0.0...v6.1.0
v6.0.0
[6.0.0] - 2025-12-17
Added
- Built-in support for aggregating Prometheus metrics in PM2 cluster mode
- Integrated
fastify-metricsfor Prometheus metrics collection available at/prometheusendpoint - Added support for pm2-prom-module to enable cluster-wide metrics aggregation across all pm2 app instances
- Integrated
Changed
- Upgraded dependencies
- Drop support for Node < 20
- PostgreSQL database connection now uses customizable application name for better monitoring
- Default:
blockfrost-backend-ryo@<hostname> - Can be configured via
BLOCKFROST_CONFIG_APPLICATION_NAMEenvironment variable ordbSync.applicationNameconfig property
- Default:
/prometheusendpoint now integrates advanced metrics fromfastify-metrics
Fixed
rewards_sumcalculation in/accounts/:stake_addr
What's Changed
- chore: bump tests package by @vladimirvolek in #291
- Chore/upgrade deps by @slowbackspace in #292
- chore: set application_name for dbsync conn by @slowbackspace in #295
- feat: pm2 cluster-enabled prometheus metrics by @slowbackspace in #296
- chore: bump tests by @slowbackspace in #293
- fix: add refunds_sum to rewards_sum by @slowbackspace in #297
Full Changelog: v5.0.0...v6.0.0
v5.0.0
[5.0.0] - 2025-12-02
Added
- New endpoint:
/accounts/:stake_address/transactions- Returns transactions involving the specified stake address, with support for paging and filtering by block range.
Fixed
- Fixed issue where stale dRep metadata were returned when newer registrations had invalid metadata (
/governance/dreps/:drep_id/metadata)- Previously, queries would return outdated valid metadata instead of the latest registration with error information
- Now correctly returns the most recent registration with
errordetails if necessary - Error object structure:
{ "code": "HASH_MISMATCH" | "CONNECTION_ERROR" | "HTTP_RESPONSE_ERROR" | "DECODE_ERROR" | "SIZE_EXCEEDED" | "UNKNOWN_ERROR", "message": "Human-readable description of the error" }
- If metadata are available, the
errorfield is omitted
What's Changed
- feat: /accounts/:stake_cred/transactions by @slowbackspace in #285
- Use new tests and remove Sanchonet leftovers by @vladimirvolek in #288
- fix: stale drep metadata were returned when newer registrations had i… by @slowbackspace in #289
- chore: release 5.0.0 by @slowbackspace in #290
Full Changelog: v4.3.0...v5.0.0
v4.3.0
[4.3.0] - 2025-10-08
Added
- Included proposal reference fields in
/governance/drep/:drep_id/votes- Each vote now includes
proposal_idandproposal_tx_hashproposal_cert_index
- Each vote now includes
Fixed
/network/erasduplicate era on Preview testnet
What's Changed
- chore: release 4.2.0 by @slowbackspace in #280
- upgrade nixpkgs and nodejs by @cleverca22 in #281
- Revert "upgrade nixpkgs and nodejs" by @vladimirvolek in #282
- Upgrade nixpkgs and nodejs by @vladimirvolek in #283
- fix(network/eras): switch to epoch_param table by @sorki in #284
- feat: proposal ref in
/governance/drep/:drep_id/votesby @slowbackspace in #286 - chore: release 4.3.0 by @slowbackspace in #287
New Contributors
- @cleverca22 made their first contribution in #281
Full Changelog: v4.2.0...v4.3.0
v4.2.0
[4.2.0] - 2025-09-24
Added
-
Support for Governance Action Identifier (CIP-129)
- New endpoints for querying with Gov Action ID :
/governance/proposals/:gov_action_id - Proposal response now includes an
idfield containing the governance action identifier
- New endpoints for querying with Gov Action ID :
-
New
errorfield for off-chain metadata fetch failures/pools/extended,/pools/:pool_id/metadataand/governance/proposals/:gov_action_idresponses include anerrorobject in themetadatafield when off-chain metadata fetch fails
What's Changed
- chore: bump tests package by @vladimirvolek in #272
- feat: query gov proposal with gov_action id by @slowbackspace in #276
- Chore/offchain errors by @slowbackspace in #277
- chore: release 4.2.0 by @slowbackspace in #280
Full Changelog: v4.1.2...v4.2.0
v4.1.2
[4.1.2] - 2025-06-09
Fixed
- DReps updates with action
updatedwere incorrectly reported asderegisteredin/accounts/:drep_id/updates
What's Changed
- chore(readme): add indices to speed up dreps delegators endpoint by @slowbackspace in #269
- fix(dreps): report "update" actions by @slowbackspace in #270
- fix(dreps): report "update" actions by @slowbackspace in #271
Full Changelog: v4.1.1...v4.1.2