Releases: blockfrost/blockfrost-websocket-link
Releases · blockfrost/blockfrost-websocket-link
v2.2.0
[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
andGET_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
- chore: upgrade eslint by @slowbackspace in #241
- chore: rm yarn cache from git by @slowbackspace in #242
- chore(readme): improve config options by @slowbackspace in #243
- fix: don't crash on 404 error while fetching affected addresses by @slowbackspace in #244
- chore: more verbose healthcheck error log by @slowbackspace in #246
- chore: control metric/healthcheck interval with env METRICS_COLLECTOR… by @slowbackspace in #247
- feat: add optional CBOR transaction representation to SUBSCRIBE_ADDRESS by @iccicci in #245
- fix: emit block event only after affected addresses are retrieved by @slowbackspace in #249
- feat: drepId in GET_ACCOUNT_INFO by @slowbackspace in #239
- test: first iteration of integration tests by @bslabiak in #250
- Feat/improve on message error by @iccicci in #252
- refactor: optimize message validator by @iccicci in #256
- fix: message validation by @iccicci in #257
- test: remove sleep from UNSUBSCRIBE_BLOCK e2e test by @iccicci in #258
- chore: improve the documentation by @iccicci in #248
- refactor: enforce client send parameters type by @iccicci in #262
- Feat/get adahandle by @iccicci in #261
- refactor: increase readability by @iccicci in #264
- refactor: remove pLimiter code repetition by @iccicci in #266
- chore: add curly eslint rule by @iccicci in #273
- test: improve GET_SERVER_INFO e2e test to resist to server version upgrades by @iccicci in #274
- refactor: remove transformTransactionData code repetition by @iccicci in #267
- feat: make fetchTransactionData able to fetch CBOR as well by @iccicci in #268
- test: add e2e tests for SUBSCRIBE/UNSUBSCRIBE_ADDRESS by @bslabiak in #277
- feat: add GET_PROTOCOL_PARAMETERS by @iccicci in #272
- refactor: rework #245 taking advantage from #268 by @iccicci in #269
- feat: add optional CBOR representation to GET_TRANSACTION by @iccicci in #270
- feat: add optional CBOR representation to GET_ACCOUNT_INFO by @iccicci in #271
- Refactor/limiter by @iccicci in #278
- release: 2.2.0 by @slowbackspace in #279
New Contributors
Full Changelog: v2.1.0...v2.2.0
v2.1.0
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
(previouslydist/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
- exit process after healthcheck fails for prolonged period by @slowbackspace in #222
- chore: bump sdk by @slowbackspace in #223
- chore: bump deps and ESM migration by @slowbackspace in #224
- Prune list of stale subscriptions by @slowbackspace in #227
- nodejs 20 by @slowbackspace in #228
- fix(nix): specify dist files and bump pkgs by @1000101 in #229
- fix: yarn supported archs by @vladimirvolek in #230
- chore: log errors while fetching fiat rates as a warnings by @slowbackspace in #231
- Token metadata expose by @vladimirvolek in #233
- release: 2.1.0 by @vladimirvolek in #235
Full Changelog: v2.0.0...v2.1.0
v2.0.0
[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 paramhostname
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 onnewBlock
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 includesblockInfo
field. (block_hash
,block_height
,block_time
are available directly in transaction object) - updated dependencies
v1.0.0
Added
- initial release