github hashgraph/hedera-json-rpc-relay v0.59.0

latest releases: v0.66.0, v0.66.0-rc1, v0.65.1...
3 months ago

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

Don't miss a new hedera-json-rpc-relay release

NewReleases is sending notifications on new releases.