Releases: hashgraph/hedera-json-rpc-relay
v0.60.0-rc2
v0.60.0-rc2
v0.60.0-rc1
v0.60.0-rc1
v0.59.20-node-alpha
v0.59.20-node-alpha
v0.59.6-alpha-node-v20
v0.59.6-alpha-node-v20
v0.59.5
v0.59.5
v0.59.4
v0.59.4
v0.59.2
v0.59.2
v0.59.1
v0.59.1
v0.59.0
We're pleased to announce the release of version 0.59.0
of the Hedera JSON RPC Relay, packed with powerful features designed to streamline your development process and enhance your application's performance.
Introducing the New ConfigService
Unified Configuration Management: The new ConfigService
consolidates all configuration settings into a single, manageable service, making it easier than ever to configure your application.
Automatic Validation: The ConfigService
automatically validates all defined environment variables at startup, ensuring that your application runs with the correct settings every time.
Sensitive Data Protection: The service intelligently masks sensitive values, preventing accidental exposure of confidential information in logs or error messages.
Enhanced HBAR Rate Limiter Spending Plans
Flexible Configuration Options: You now have the freedom to load HBAR Rate Limiter spending plans from either a dedicated config file or directly via the HBAR_SPENDING_PLAN_CONFIG
environment variable. This flexibility allows you to choose the method that best fits your development and deployment workflows.
Simplified Rate Limiting: Managing spending plans has never been easier. The updated system simplifies rate limiting configuration, helping you prevent unexpected costs and maintain optimal application performance.
Improved Testing and Conformity
Robust Feature Testing: We've added comprehensive tests around the new ConfigService and HBAR Rate Limiter features. This ensures reliability and stability, giving you confidence that these systems will perform as expected in production.
Enhanced Conformity Checks: Additional conformity tests have been implemented to maintain consistency across different environments, helping you avoid integration issues and focus on building great features.
Enhancements
- feat: Added ability to load spending plans from environment variable.… #3201
- Add the ability for spending plans to be defined using environment variables. #3152
- feat: add env masking for values starting with known secrets prefixes #3148
- test: added e2e test for EXTENDED and PRIVILEGED tier users #3147
- feat: Updated dashboards due to on going HBar Rate Limiter work. #3146
- The HBar Rate Limiter panel in the dashboard needs to be updated to track the
eth_sendRawTransaction
counter #3145 - Add env masking for values starting with known secrets prefixes #3143
- fix: Protect preconfigured spending plans from being deleted automatically in
LRUCache
#3140 - feat: add additional tests for unexpected fail appends failures during contract creation via
eth_sendRawTransaction
#3139 - feat: Added spending plans for testing on testnet. #3136
- feat: State the default log level in the documentation. #3133
- chore: update codeowners #3128
- feat: Adding the testnet spending plan and script to create alias acc… #3116
- feat: Added NodeId to the logging just before the transaction is exec… #3106
- chore: add another batch of conformity tests #3101
- chore: Implement custom LRU cache with protected keys #3097
- [HBAR Rate Limit Redesign] Implement custom LRU cache with protected keys #3096
- feat: Moving connection reset metrics from HAPIService into MetricsService. #3095
- [HBAR Rate Limit Redesign] Create e2e tests for privileged spending plan limit #3067
- [HBAR Rate Limit Redesign] Create e2e tests for extended spending plan limit #3066
- feat: capture env variables into sigleton and reusable constants #3047
- All environment variables required by the relay should be initially loaded and validated. #3023
- [HBAR Rate Limit Redesign] Set proper daily limits for subscription tiers #2895
- Create first batch of additional conformity tests #2725
- Add additional tests for FileAppend in eth_sendRawTransaction #2711
- Update relay codeowners to hedera-smart-contracts-product #2687
Bug Fixes
- fix: 3198 cherry pick npm package version #3200
- fix: Capture the npm_package_version #3198
- The version from the npm package is not getting read by the config service. #3197
- ci(bug): Update permissions in JSON rpc relay for GITHUB_TOKEN (#3183) #3186
- fix: 03182 updatetoken permissions cherry pick #3185
- fix: 3152 spendingplan as env var acceptance test fix #3184
- ci(bug): Update permissions in JSON rpc relay for GITHUB_TOKEN #3183
- ci (bug): issue with pushing docker image #3182
- fix: Inconsistent handling of failed EVM transactions #3158
- fix: Spelling fix in the logged messages. #3131
- Sp.
WRONT_NONCE
in logging. #3130 - Inconsistent Handling of Failed EVM Transactions in JSON-RPC Relay #3115
- [WS Regression] eth_newFilter is failing #3114
Dependency Upgrades
- build(deps): bump secp256k1 from 4.0.3 to 4.0.4 in /tools/hardhat-example #3159
- build(dep): [Snyk] Upgrade
@graphprotocol
/graph-cli from 0.84.0 to 0.85.0 #3157 - build: (deps) [Snyk] Upgrade ethers from 6.13.2 to 6.13.3 #3149
- build(deps): bump http-proxy-middleware from 2.0.6 to 2.0.7 in /dapp-example #3144
- build(deps): [Snyk] Upgrade ethers from 6.13.2 to 6.13.3 #3138
- build(deps): bump secp256k1 from 4.0.3 to 4.0.4 in /tools/hardhat-viem-example #3137
- build: (deps)[Snyk] Upgrade
@graphprotocol
/graph-cli from 0.82.0 to 0.84.0 #3123
Contributors
Thank you to all the contributors who worked on this release:
@dependabot[bot], @ebadiere, @nadezhdapopovaa, @natanasow, @quiet-node, @rbarkerSL, @san-est, @swirlds-automation, and @victor-yanev
v0.58.0
Overview
The Hedera JSON RPC Relay v0.58.0 release introduces significant enhancements and fixes, continuing the team's ongoing efforts to improve the Hbar Limiter. Notable new features in this release include the ability to configure the server host for the Relay server, providing greater flexibility in deployment settings. Additionally, this release includes new examples and documentation for integrating Brownie and Wagmi with Hedera, streamlining developer workflows and expanding use case possibilities.
Alongside these enhancements, v0.58.0 addresses several important bug fixes and dependency upgrades. Key issues such as bugged metrics and improper error handling in eth_call
have been resolved, ensuring a smoother and more stable experience. Various libraries and dependencies, including web3
, express
, and @hashgraph/sdk
, have also been upgraded to their latest versions to maintain compatibility and improve performance.
What's Changed
Enhancements
- feat: add
eth_call
,eth_getLogs
andeth_estimateGas
coverage to conformity tests by @natanasow in #2953 - feat: makes ip address of request available in application layer by @konstantinabl in #2939
- feat: enabled configurable server host for the Relay server by @quiet-node in #3073
- refactor: configurations of
HbarLimitService
by @victor-yanev in #3014 - fix: SDKClient timeouts are not getting logged with requestIds. by @ebadiere in #3061
- feat: change units of the value in eth gettransactionbyhash result by @nadezhdapopovaa in #3080
- feat: Brownie example and description by @arianejasuwienas in #3070
- feat: Wagmi example usage with Hedera by @arianejasuwienas in #3000
- test: add helper method for overriding env variables by @victor-yanev in #3022
- feat: implement configuration to pre-populate the cache with spending plans by @victor-yanev in #3058
Bug Fixes
- feat: eth_call revert error message is too long, and should not be a REVERT but a BAD Request Response by @natanasow in #3088
- fix: bugged metrics and wrong env vars by @victor-yanev in #3090
- fix: included only transfer amounts that are charged to the operator in getTransferAmountSumForAccount() by @quiet-node in #3103
- fix: added newFilter to paramRearrangementMap for WS server by @quiet-node in #3117
Dependency Upgrades
- build(deps): bump rollup from 2.79.1 to 2.79.2 in /dapp-example by @dependabot in #3037
- fix: Skip issue matching check for thirdparty build dependency librar… by @ebadiere in #2990
- build(deps): bump body-parser and express in /tools/truffle-example by @dependabot in #2958
- build(deps): [Snyk] Upgrade @hashgraph/sdk from 2.50.0 to 2.51.0 by @swirlds-automation in #3069
- build(dep): [Snyk] Upgrade @graphprotocol/graph-cli from 0.81.0 to 0.82.0 by @swirlds-automation in #3076
- build(deps): bump cookie and express in /tools/truffle-example by @dependabot in #3078
- build: (deps) [Snyk] Upgrade web3 from 4.12.1 to 4.13.0 by @swirlds-automation in #3085
New Contributors
- @nadezhdapopovaa made their first contribution in #3080
- @beeradb made their first contribution in #3060
Full Changelog: v0.57.2...v0.58.0-rc1