Releases: hashgraph/hedera-json-rpc-relay
v0.50.1
Overview
Patch release v0.50.1 addresses the issue of unexpected records being returned from eth_getLog requests with zero addresses. The update ensures that if the address parameter equals ZeroAddress, the call to the mirror node is skipped, and an empty array is returned immediately.
Enhancements
- fix: fixed unexpected returns for eth_getLog requests with zero address #2616
Contributors
Thank you to all the contributors who worked on this release:
@quiet-node
Full Changelog: v0.50.0...v0.50.1
v0.50.0
Overview
Release v0.50.0 brings a host of enhancements, bug fixes, and dependency upgrades to improve functionality and performance.
One key enhancement includes the addition of support for the OPERATOR_KEY_FORMAT configuration, allowing for a broader range of private key types: DER
, HEX_ECDSA
, and HEX_ED25519
. With this new support, the Relay can now be operated by an account using any of these private key formats.
The release also introduces new examples for Hardhat Viem and Golang Ethereum Client usage, highlighting Hedera's commitment to supporting a wide range of development tools and environments. These additions enrich the existing coverage in the Hedera JSON-RPC Relay repository for many other tools including examples for Foundry, Hardhat, Truffle, Subgraph, etc.. By providing these comprehensive examples, Hedera ensures that developers have the resources they need to efficiently integrate and leverage these tools, enhancing the versatility and applicability of the Hedera JSON-RPC Relay in diverse development scenarios.
Significant bug fixes address issues such as npm binary not being found, unit tests failing in CI, and correcting the transaction 'v' value.
Furthermore, this release updates various dependencies, ensuring better compatibility and security. These updates collectively enhance the reliability and usability of the Hedera JSON-RPC Relay.
What's Changed
Enhancements
- fix: filtered acceptance tests for release testing by @quiet-node in #2577
- feat: Added support for OPERATOR_KEY_FORMAT by @ebadiere in #2591
- fix: Added panels. by @ebadiere in #2567
- docs: added transport labels to open-rpc spec by @quiet-node in #2598
- feat: Hardhat Viem usage example. by @arianejasuwienas in #2556
- feat: Golang example by @arianejasuwienas in #2584
- feat: add release.yml for auto-generating release notes by @quiet-node in #2606
Bug Fixes
- fix: Adding the node install as now the npm binary is not found. by @ebadiere in #2562
- fix: 2561 release automation cannot find npm by @ebadiere in #2564
- fix: Updated release flows to setup-node and setup make before calling npm ci by @rbarkerSL in #2565
- fix: fixed condition to employ HFS in submitEthereumTransaction() by @quiet-node in #2566
- test: re-included eth_getCode and eth_sendRawTransaction in the release testing flow by @quiet-node in #2582
- fix: unit tests failing in CI by @konstantinabl in #2258
- fix: Set the correct txn v value. by @ebadiere in #2592
- fix: removed name field in JsonRpcError class by @quiet-node in #2590
Dependency Upgrades
- [Snyk] Upgrade @hashgraph/hedera-local from 2.23.0 to 2.24.0 by @swirlds-automation in #2554
- build(deps): bump braces from 3.0.2 to 3.0.3 by @dependabot in #2599
- build(deps): [Snyk] Upgrade @hashgraph/sdk from 2.44.0 to 2.45.0 by @swirlds-automation in #2574
New Contributors
- @arianejasuwienas made their first contribution in #2556
Full Changelog: v0.49.0...v0.50.0
v0.50.0-rc1
Full changelog: v0.49.0...v0.50.0-rc1
v0.49.0
We are pleased to announce the release of version 0.49.0, which introduces significant enhancements and updates, including:
-
Enabled over WebSockets
eth_newFilter
: This version adds support for the eth_newFilter method using WebSockets, enabling more robust filtering capabilities within your applications. -
WebSocket Release Tests: A comprehensive suite of release tests for WebSockets has been integrated, ensuring improved reliability and performance.
-
Enhanced Release Automation Workflow: The release automation process has been upgraded to utilize secure actions, enhancing the security and efficiency of deployment workflows.
-
Improved Request Handling: Requests containing both data and input fields are now handled more gracefully. Any additional parameters will be ignored rather than causing an error.
-
Standardized Error Codes: Error codes have been aligned with standard values where applicable, providing more consistent and predictable error handling.
-
Acceptance Batch 1 Test Fix: A fix has been applied to the tests in Acceptance Batch 1, ensuring more accurate and reliable test results.
These updates are designed to enhance the functionality, security, and stability of our platform. We encourage all users to upgrade to version 0.49.0 to take advantage of these improvements.
Enhancements
- feat: implemented eth_newFilter to WS server #2553
- Implement eth_newFilter method into WS server #2552
- Accept the requests with both "data" & "input" fields, ignore the extra parameter instead of throwing error #2547
- docs: added WS release test to acceptancetest:release command #2536
- PR Check for labels and tickets #2534
- ci: Pr label milestone check #2533
- acceptancetest:release does not contain WS release test #2528
- Align error codes with standard values where neccessary #2522
- fix: ws errors should conform to jsonrpc spec #2505
- build(deps): [Snyk] Upgrade lerna from 8.1.1 to 8.1.2 #2493
Bug Fixes
- fix: 2560 include workflow updates in release branch #2569
- fix: fixed condition to employ HFS in submitEthereumTransaction() #2566
- fix: Updated release flows to setup-node and setup make before calling npm ci #2565
- fix: 2561 release automation cannot find npm #2564
- eth_sendRawRequest fails when calldata size is in the range of [2568 bytes, 5217 bytes] #2563
- fix: Adding the node install as now the npm binary is not found. #2562
- The release automation cannot find the npm binary #2561
- fix: fixed requests throw error when both data and input fields are present in transaction object #2551
- eth_call mistakenly accepts tx.value as calldata when tx.data is undefined #2550
- eth_newFilter errors out when passing more than 1 address in the parameter #2548
- fix: Resolve issue with failing acceptance batch 1 test #2546
- Fix failing test in Acceptance Batch 1 #2545
- fix: Fix PR Label Check for False Positive Issues #2537
Dependency Upgrades
- build(deps): [Snyk] Upgrade: react, react-dom #2542
- doc: upgraded lerna from 8.1.1 to 8.1.2 #2539
- build(deps): [Snyk] Upgrade pnpm from 8.15.7 to 8.15.8 #2538
- ci: updated ci pipelines for security and best practices #2535
- Update CI pipelines for security and best practices #2531
- build(deps): [Snyk] Upgrade
@mui
/material from 5.15.15 to 5.15.16 #2526 - [Snyk] Upgrade: react, react-dom #2502
Contributors
Thank you to all the contributors who worked on this release:
@AlfredoG87, @Ivo-Yankov, @ebadiere, @quiet-node, @rbarkerSL, @swirlds-automation, and @ted-yeh-vc
v0.48.1
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:
v0.48.1-rc1
Full Changelog: v0.48.0...v0.48.1-rc1
v0.48.0
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
Full Changelog: v0.48.0-rc1...v0.48.0-rc2
v0.48.0-rc1
Full Changelog: v0.48.0-alpha0...v0.48.0-rc1