Skip to content

Releases: hashgraph/hedera-json-rpc-relay

v0.48.1

31 May 14:35
v0.48.1
fbcd1e9
Compare
Choose a tag to compare

Patch release v0.48.1 introduces an enhancement with the addition of a Koa Server Request Timeout feature. This improvement ensures more robust handling of server requests by setting a timeout for Koa server requests. This enhancement aims to improve the overall performance and reliability of the server, preventing potential issues caused by prolonged or stalled requests.

Enhancements

  • feat: Add Koa Server Request Timeout #2504

Contributors

Thank you to all the contributors who worked on this release:

@Nana-EC @ebadiere

v0.48.1-rc1

31 May 19:47
v0.48.1-rc1
4ac0e8c
Compare
Choose a tag to compare
v0.48.1-rc1 Pre-release
Pre-release

Full Changelog: v0.48.0...v0.48.1-rc1

v0.48.0

23 May 21:28
v0.48.0
d0a8ceb
Compare
Choose a tag to compare

Overview

Release v0.48.0 introduces several improvements and fixes tailored to elevate the functionality and reliability of the Hedera JSON-RPC relay. Enhancements include updated error codes and the addition of constructValidLogSubscriptionFilter() for improved log subscription handling. WebSocket request support has been strengthened with refined validation logic, batch request capabilities, and the inclusion of web3_clientVersion. Metrics and rate-limiting mechanisms for batch requests have also been improved.

The release addresses various bug fixes, resolving issues related to inconsistent responses, malformed data, and compatibility problems with specific network configurations. Additionally, several dependencies have been upgraded to maintain compatibility and security.

Enhancements

  • fix: updated CONTRACT_REVERT error code to the value 3 #2523
  • feat: added constructValidLogSubscriptionFilter() to discard any unexpected parameters for logs subcription filter object #2521
  • Ignore invalid params for eth_subscribe:logs #2520
  • fix: added support for undefined params requests in WS server (#2463) #2494
  • fix: removed RESOURCE\_NOT\_FOUND error in eth_getStorageAt when response is null #2492
  • fix: removed chainId field for legacy EIP155 transactions (#2468) #2489
  • feat: improved metrics and added rate limit for the batch request feature in ws server (#2474) #2487
  • fix: Added the web3_clientVersion to the websocket server. #2486
  • chore: relocated WS_BATCH_REQUESTS_ENABLED & WS_BATCH_REQUESTS_MAX_SIZE in configuration.md #2482
  • feat: added support for batch request feature to WS server (#2461) #2475
  • feat: enhanced ws server validating logic on json rpc message object and supported methods (#2470) #2471
  • refactor: removed specific handlers for jsonrpc methods but added a shared method #2469
  • Change JSON-RPC error code response for onchain revert #2457
  • feat: added CI build test #2456
  • fix: removed method attribute in WS response object #2444
  • chore: added a debug level log to expose contract call response for eth_call requests (#2441) #2442
  • ci: removed networkTag for API Batch 1 and Websocket Batch 2 CI tasks (#2402) #2427
  • CI Automated Test for Docker image Build #1871
  • refactor: Updating the configmap setup to take any ENV that is in the .Values.c… #1732

Bug Fixes

  • fix: Applied fix using trimPrecedingZeros. #2499
  • fix: fixing Field HEDERA_NETWORK on configMap helm chart template, when is not a string but a json. #2498
  • Chart deploy, when providing HEDERA_NETWORK value as json, result is malformed #2497
  • fix: Populate null values #2495
  • Inconsistent response between ethereum rpc and hedera #2491
  • fix: Added web3_clientVersion to the websocker server and fixed typos. #2485
  • fix: Added web3_clientVersion to the websocker server and fixed typos. #2484
  • fix: Populate null values in transactions. #2467
  • Leading zeros in Hex values causing incompatibilities with Hex Parsing #2465
  • Some Methods fail to send a response when called with WS endpoint #2463
  • web3_clientVersion returns null with websocket endpoint #2462
  • Cannot send batch requests via WS endpoints #2461
  • fix: Test fix for nonce values on networks other thant local node. #2460
  • 2458 should deploy contract #2459
  • The test @release should deploy a contract fails on testnet. #2458
  • Error from GoEthClient when calling getBlockByNumber on certain specific blocks #2451
  • fix: fixed setting WS_NEW_HEADS_ENABLED true as default logic at Relay level #2449

Dependency Upgrades

  • chore: [Snyk] Upgrade web3 from 4.7.0 to 4.8.0 #2488
  • [Snyk] Upgrade @hashgraph/sdk from 2.43.0 to 2.44.0 #2479
  • [Snyk] Upgrade pnpm from 8.15.5 to 8.15.7 #2478
  • build(deps): bump ejs from 3.1.9 to 3.1.10 #2448
  • build(deps): bump ejs from 3.1.8 to 3.1.10 in /dapp-example #2447
  • build(deps): bump ejs and @graphprotocol/graph-cli in /tools/subgraph-example #2446
  • chore: [Snyk] Upgrade @emotion/styled from 11.11.0 to 11.11.5 #2425
  • chore: [Snyk] Upgrade @mui/material from 5.15.14 to 5.15.15 #2424

Contributors

Thank you to all the contributors who worked on this release:

@AlfredoG87, @dependabot[bot], @ebadiere, @quiet-node, @rustyShacklefurd, @simsonraj, and @swirlds-automation

Full Changelog: v0.47.0...v0.48.0

v0.48.0-rc2

31 May 19:47
v0.48.0-rc2
33e4d2e
Compare
Choose a tag to compare
v0.48.0-rc2 Pre-release
Pre-release

v0.48.0-rc1

31 May 19:47
v0.48.0-rc1
3677110
Compare
Choose a tag to compare
v0.48.0-rc1 Pre-release
Pre-release

v0.48.0-alpha0

31 May 17:34
v0.48.0-alpha0
993857a
Compare
Choose a tag to compare

v0.47.0

07 May 17:36
v0.47.0
19c265e
Compare
Choose a tag to compare

Release v0.47.0 adds resource metrics to the webSocketServer. It also adds support for the Deterministic Deployment Proxy contract that can deploy any contract at a deterministic location using the CREATE2 opcode. This is required for Foundry. It also includes bug fixes for tests and CI, as well as including the correct gas params in the response for Type 0x2 transactions. The WebSocket documentation updates are around the newHeads feature.

Enhancements

  • fix: Re-submitting the memory handling #2395
  • feat: Added resource metrics. #2381
  • fix: added ability to send back to clients the reason on closing at max connection limit (#2362) #2363
  • WS server limiter close connection at max limit without sending the reason back to clients #2362
  • Foundry Create2 Support #2287

Bug Fixes

  • Type 0x2 transactions missing gas params in the response #2404
  • fix: Removed debugger settings. #2398
  • Remove debugger settings in the tsconfig files. #2397
  • fix: Re-enable tests. #2386
  • Re-enabled eth_estimateGas tests. #2384
  • fix: detect "JavaScript heap out of memory" errors and fail job. #2263
  • Relay tests have a "JavaScript heap out of Memory" error and the CI job does not fail. This needs to be detected and handled. #2262

Documentation

  • feat: Websocket documentation updates. #2396
  • Feat: Updated with newHeads descriptions. #2220

Dependency Upgrades

  • chore: Revert synk PR #2408. Docker image won't build. (#2428) #2430
  • Cherry pick docker snyk fix #2429
  • chore: Revert synk PR #2408. Docker image won't build. #2428
  • chore: bumped hedera-local to 2.23.0 #2412
  • [Snyk] Security upgrade node from 18.18.2-bullseye-slim to 18.20.2-bullseye-slim #2408
  • [Snyk] Upgrade @hashgraph/hedera-local from 2.19.2 to 2.20.0 #2368
  • chore: Remove specific version of NX dependency override. is working now. #2365
  • NX Dependency Override - remove whenever possible #1636

Contributors

Thank you to all the contributors who worked on this release:

@AlfredoG87, @ebadiere, @quiet-node, and @swirlds-automation

v0.46.3

26 Apr 04:59
v0.46.3
f4463e9
Compare
Choose a tag to compare

What's Changed

  • chore: cherry-pick of: fix: Use Transaction1559 type to create synthetic transactions. (#2405) by @AlfredoG87 in #2417

Full Changelog: v0.46.2...v0.46.3

v0.46.2

25 Apr 23:04
v0.46.2
e6f86a5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.46.1...v0.46.2

v0.46.1

23 Apr 18:06
v0.46.1
6108b5a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.46.0...v0.46.1