Skip to content

Releases: blockfrost/blockfrost-websocket-link

v2.2.0

05 Dec 14:55
7bf7d7f
Compare
Choose a tag to compare
v2.2.0 Pre-release
Pre-release

[2.2.0] - 2024-12-05

Added

  • GET_ADA_HANDLE, GET_PROTOCOL_PARAMETERS methods
  • DRep data in GET_ACCOUNT_INFO method
  • control metric/healthcheck interval with env variable METRICS_COLLECTOR_INTERVAL_MS
  • Transaction CBOR in SUBSCRIBE_ADDRESS, GET_TRANSACTION and GET_ACCOUNT_INFO
  • Message validation

Changed

  • More verbose healthcheck error log
  • Improved rate limiter

Fixed

  • Crash while fetching affected addresses for a block undergoing a rollback
  • Emit block event only after all data are retrieved making address subscriptions more reliable

What's Changed

New Contributors

Full Changelog: v2.1.0...v2.2.0

v2.1.0

10 Jun 16:07
14dbe29
Compare
Choose a tag to compare

Added

  • Token metadata in assets transformations

Fixed

  • Remove client from the list of clients on missed heartbeat

Changed

  • process exits after health check fails for more than HEALTHCHECK_FAIL_THRESHOLD_MS (default 60s)
  • Bump Blockfrost SDK (memory leak in deriveAddress) and other dependencies
  • Timeout for requests dispatched by blockfrost SDK set to 30s
  • Log errors while fetching fiat rates as a warnings rather than errors
  • (Internal) Refactored build step, entrypoint is now dist/server.js (previously dist/src/server.js)
  • (Internal) Upgrade codebase to ESM
  • (Internal) Switched from PNP to node-modules linker

Removed

  • ts-node-dev (yarn dev no longer auto reloads on code change)

What's Changed

Full Changelog: v2.0.0...v2.1.0

v2.0.0

05 Apr 17:04
2481af9
Compare
Choose a tag to compare

[2.0.0] - 2023-04-05

Added

  • report node.js memory usage on /metrics
  • GET_BALANCE_HISTORY - aggregated sent/received/sentToSelf lovelace amounts for given range and groupBy param
  • hostname field to getServerInfo response
  • report health check status in /status (is_healthy)

Fixed

  • use one global newBlock listener instead of one per each connection
  • logic in onBlock callback called on newBlock event
  • ping-pong between a server and a client to keep connection alive

Changed

  • throw error if any of the partial calls of GetAccountInfo fails
  • memoized address derivation in getAccountInfo method
  • transaction (as part of getAccountInfo or emitted as a notification for an address subscription) no longer includes blockInfo field. (block_hash, block_height, block_time are available directly in transaction object)
  • updated dependencies

v1.0.0

26 Oct 11:48
6ba74bc
Compare
Choose a tag to compare

Added

  • initial release