github hashgraph/hedera-mirror-node v0.95.0

latest releases: v0.119.0-rc1, v0.118.0, v0.117.1...
10 months ago

This release saw the Java components upgraded to use Java 21. In a future release, we will explore the new language features in 21 like virtual threads to unlock additional scalability. Some technical debt items were tackled including removing redundant test configuration by creating a common test hierarchy. Explicit @Autowired annotations on test constructors were removed, reducing boilerplate. Finally, various classes were renamed to align to our naming standards including the removal of the Mirror prefix from classes that were not used across modules.

HIP-584 EVM archive node for historical blocks saw some major additions including initial support for historical blocks. EVM Configuration is now loaded based upon block number instead of always utilizing the latest EVM. This ensures that /api/v1/contracts/call simulates the execution as it would've been on consensus nodes at that point in time. Database queries were adapted to work with timestamp filters to allow for returning historical block information.

Our distributed database effort saw some notable improvements including upgrading the version of Citus to 12.1. PostgreSQL 16 support was tested confirming compatibility with both regular PostgreSQL and Citus. Both /api/v1/topics/{id}/messages/{sequenceNumber} and /api/v1/topics/{id}/messages saw optimizations implemented when used with Citus.

Upgrading

If you're compiling locally, ensure you have upgraded to Java 21 in your terminal and IDE. For MacOS, we recommend using SDKMAN! to manage Java versions so that upgrading is as simple as sdk install java 21-tem. If you're using a custom Dockerfile ensure it is also updated to Java 21. We recommend Eclipse Temurin as the base image for our Java components.

Enhancements

  • Increase parser transaction timeout to 120s #7421
  • Fix integration test console warning about Stream of unknown length #7392
  • HIP-584 Historical: Sync evm configurations with hedera-services #7385
  • Rename MirrorProperties to ImporterProperties #7381
  • Rename Mirror prefixed classes #7380
  • Remove @Autowired from test constructors #7376
  • Rename IntegrationTest to ImporterIntegrationTest #7375
  • Optimize balance timestamp range when a closed range is provided in the request #7366
  • Add a common integration test hierarchy #7350
  • Update to Citus 12.1 and PostgreSQL 16 #7347
  • Add topic message lookup to topic and sequence requests #7344
  • HIP-584 Historical: Load EVM Configuration based on block number #7314
  • Upgrade to Java 21 #7294
  • HIP-584 Historical: Extend historical DB queries #7269
  • HIP-584 Historical: Adapt DB Accessors to work with timestamp filters #7242
  • HIP-584 Historical: DB queries for historical crypto and token allowances #7209
  • Topic message optimization #7206

Bug Fixes

  • Upgrade Rosetta image to Java 21 (0.95) #7438
  • Fix monitor retry logic #7420
  • Fix acceptance test main-class #7395
  • Remove entityStakeQuery from accounts REST API #7391
  • Disable entity history tracking during errata migration #7390
  • Fix incorrect pending reward calculation #7388
  • Update config limit max test #7373
  • update migration to exclude entries with null hash #7372
  • Fix REST API closing db connections on SIGTERM #7370
  • Fix flaky acceptance tests #7367
  • Topic messages list query - Bug fix V2 #7349
  • Update contract state endpoint to support slot parameter in any order #7346
  • Fix multiple bean definition errors in web3 #7340
  • Fix flaky NotifyingTopicListenerTest #7338

Dependency Upgrades

  • Bump golang.org/x/crypto from 0.16.0 to 0.17.0 in /hedera-mirror-rosetta #7417
  • Bump eslint-plugin-security from 1.7.1 to 2.1.0 in /hedera-mirror-rest #7413
  • Bump @aws-sdk/client-s3 from 3.470.0 to 3.474.0 in /hedera-mirror-rest #7412
  • Bump @testcontainers/postgresql from 10.3.2 to 10.4.0 in /hedera-mirror-rest #7410
  • Bump com.playtika.testcontainers:embedded-google-pubsub from 3.1.0 to 3.1.1 #7409
  • Bump io.projectreactor:reactor-core-micrometer from 1.1.0 to 1.1.1 #7408
  • Bump io.cucumber:cucumber-bom from 7.14.1 to 7.15.0 #7407
  • Bump software.amazon.awssdk:bom from 2.21.42 to 2.22.0 #7406
  • Bump com.esaulpaugh:headlong from 10.0.1 to 10.0.2 #7404
  • Bump vertxVersion from 4.5.0 to 4.5.1 #7402
  • Bump com.google.cloud:spring-cloud-gcp-dependencies from 4.8.4 to 5.0.0 #7401
  • Bump actions/upload-artifact from 3 to 4 #7400
  • Bump actions/setup-python from 4 to 5 #7364
  • Bump google-github-actions/setup-gcloud from 1 to 2 #7363
  • Bump github.com/spf13/viper from 1.17.0 to 1.18.1 in /hedera-mirror-rosetta #7362
  • Bump github.com/hashgraph/hedera-sdk-go/v2 from 2.32.0 to 2.33.0 in /hedera-mirror-rosetta #7361
  • Bump mathjs from 12.1.0 to 12.2.0 in /hedera-mirror-rest #7360
  • Bump @aws-sdk/client-s3 from 3.465.0 to 3.470.0 in /hedera-mirror-rest #7359
  • Bump extensionless from 1.8.5 to 1.9.6 in /hedera-mirror-rest/check-state-proof #7358
  • Bump io.grpc:grpc-bom from 1.59.1 to 1.60.0 #7356
  • Bump org.springframework.cloud:spring-cloud-dependencies from 2023.0.0-RC1 to 2023.0.0 #7355
  • Bump software.amazon.awssdk:bom from 2.21.37 to 2.21.42 #7354
  • Bump org.gradle:test-retry-gradle-plugin from 1.5.7 to 1.5.8 #7352
  • Bump net.java.dev.jna:jna from 5.13.0 to 5.14.0 #7351
  • Bump versions for v0.95.0-SNAPSHOT #7335

Contributors

We'd like to thank all the contributors who worked on this release!

Don't miss a new hedera-mirror-node release

NewReleases is sending notifications on new releases.