github hashgraph/hedera-mirror-node v0.97.0

latest releases: v0.117.0, v0.117.0-rc1, v0.116.1...
9 months ago

This release sees some incremental changes to the REST API. The REST API now supports a RFC5988 compliant Link header in its response as an alternative to the links.nextin the response body. Either link can now be used for pagination, but the Link header provides a standard approach that's supported by more tools. The /api/v1/accounts/{id}?timestamp endpoint now shows historically accurate staking information in its response so that users can view their past pending rewards. The timestamp in the response of the /api/v1/tokens/{id}/balances endpoint is now more accurate by reflecting the max balance timestamp of the tokens in its response.

The helm chart was verified to be compatible with Kubernetes 1.28 and saw its dependencies all bumped to the latest release. The new rest-java module was converted from WebFlux to servlets with virtual threads. This should increase its scalability once we implement HIP-857 NFT allowance REST API in a future relase. Some internal refactoring of BatchEntityListener to BatchPublisher will enable future improvements to historical syncing and batch processing.

The /api/v1/contracts/call endpoint saw a lot of important bug fixes this release. Support for historical blocks should be complete with some remaining bugs ironed out. The supported operations documentation was updated to reflect this increased level of compatibility.

Upgrading

If you use the hedera-mirror-common chart then the prometheus operator CRDs need to be updated before upgrading:

kubectl apply --force-conflicts --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml
kubectl apply --force-conflicts --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagers.yaml
kubectl apply --force-conflicts --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_podmonitors.yaml
kubectl apply --force-conflicts --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_probes.yaml
kubectl apply --force-conflicts --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_prometheusagents.yaml
kubectl apply --force-conflicts --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_prometheuses.yaml
kubectl apply --force-conflicts --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml
kubectl apply --force-conflicts --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_scrapeconfigs.yaml
kubectl apply --force-conflicts --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml
kubectl apply --force-conflicts --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.70.0/example/prometheus-operator-crd/monitoring.coreos.com_thanosrulers.yaml

Enhancements

  • Replace responseContentType with responseHeaders in REST specs #7599
  • Fix failing selfdestruct estimate gas test #7593
  • Support RFC5988 next link #7569
  • Support Kubernetes 1.28 #7567
  • Increase importer cpu resources #7559
  • Add a simplified Rosetta CI workflow #7555
  • More spotless copyright fixes #7549
  • Refactor BatchEntityListener to BatchPublisher #7545
  • Historically accurate stake info /api/v1/accounts/{id}?timestamp #7544
  • Improve REST API SQL query logging #7526
  • HIP-584: Update web3 docs to cover historical support #7525
  • Bump copyright year to 2024 #7522
  • Remove transaction_hash_old table #7520
  • Apply Spotless format to all files #7519
  • Add test module to Gradle workflow #7506
  • Convert rest-java to servlet with virtual threads #7488
  • Improve temp schema script #7485
  • fix: Use balance timestamp in /tokens/{id}/balances #7483
  • Optimize list topic messages of specific topic id for v2 #7481

Bug Fixes

  • Fix HCS latency regression (0.97) #7612
  • Fix NullPointerException for estimate_gas when passing non-existent sender address #7594
  • Change error handling for invalid redirect ERC function cases #7591
  • Fix incorrect selfdestruct eth_call response for system accounts #7558
  • Fix database initialization error in rosetta image #7553
  • Ignore temp schema repeatable migration for rest test #7551
  • Fix eth_call with extcodehash on system account #7546
  • HIP-584 Historical: Set temp contract address on estimate contract create #7523
  • Fix null pointer error on create fungible token with inherit account key #7515
  • Increase default web3 rate limit #7513
  • Fix Spotless license update #7511
  • Fix incorrect string in k6 performance test report #7510
  • HIP-584 Historical: Fix historical total supply #7505
  • Replace TimePartitionService Cacheable annotation with caches #7501
  • Fix Rest API cache-control response header #7487
  • HIP-584 Historical: Fix historical NFT/Fungible token balance #7430

Documentation

  • Add a HAPI compatibility matrix #7575

Dependency Upgrades

  • Bump jsonpath from 2.8.0 to 2.9.0 #7597
  • Bump nodemon from 3.0.2 to 3.0.3 in /hedera-mirror-rest #7585
  • Bump @testcontainers/postgresql from 10.5.0 to 10.6.0 in /hedera-mirror-rest #7584
  • Bump @aws-sdk/client-s3 from 3.490.0 to 3.496.0 in /hedera-mirror-rest #7583
  • Bump org.msgpack:jackson-dataformat-msgpack from 0.9.7 to 0.9.8 #7580
  • Bump software.amazon.awssdk:bom from 2.23.3 to 2.23.7 #7579
  • Bump com.playtika.testcontainers:embedded-google-pubsub from 3.1.1 to 3.1.2 #7578
  • Bump org.springframework.boot:spring-boot-gradle-plugin from 3.2.1 to 3.2.2 #7577
  • Bump actions/cache from 3 to 4 #7576
  • Bump io.projectreactor:reactor-core-micrometer from 1.1.1 to 1.1.2 #7542
  • Bump org.msgpack:jackson-dataformat-msgpack from 0.9.6 to 0.9.7 #7541
  • Bump uk.org.webcompere:system-stubs-jupiter from 2.1.5 to 2.1.6 #7540
  • Bump io.grpc:grpc-bom from 1.60.1 to 1.61.0 #7539
  • Bump com.diffplug.spotless:spotless-plugin-gradle from 6.23.3 to 6.24.0 #7538
  • Bump software.amazon.awssdk:bom from 2.22.12 to 2.23.3 #7537
  • Bump protobufVersion from 3.25.1 to 3.25.2 #7536
  • Bump github.com/hashgraph/hedera-sdk-go/v2 from 2.34.0 to 2.34.1 in /hedera-mirror-rosetta #7535
  • Bump github.com/go-playground/validator/v10 from 10.16.0 to 10.17.0 in /hedera-mirror-rosetta #7534
  • Bump github.com/ethereum/go-ethereum from 1.13.8 to 1.13.10 in /hedera-mirror-rosetta #7533
  • Bump github.com/jackc/pgtype from 1.14.0 to 1.14.1 in /hedera-mirror-rosetta #7532
  • Bump supertest from 6.3.3 to 6.3.4 in /hedera-mirror-rest #7531
  • Bump eslint-plugin-jest from 27.6.1 to 27.6.3 in /hedera-mirror-rest #7530
  • Bump mathjs from 12.2.1 to 12.3.0 in /hedera-mirror-rest #7529
  • Bump @aws-sdk/client-s3 from 3.485.0 to 3.490.0 in /hedera-mirror-rest #7528
  • Bump @testcontainers/postgresql from 10.4.0 to 10.5.0 in /hedera-mirror-rest #7527
  • Bump org.json:json #7521
  • Bump follow-redirects from 1.15.2 to 1.15.4 in /hedera-mirror-rest #7507
  • Bump @aws-sdk/client-s3 from 3.484.0 to 3.485.0 in /hedera-mirror-rest #7496
  • Bump eslint-plugin-jest from 27.6.0 to 27.6.1 in /hedera-mirror-rest #7495
  • Bump gradle.plugin.io.snyk.gradle.plugin:snyk from 0.5 to 0.5.1 #7494
  • Bump com.graphql-java-generator:graphql-gradle-plugin3 from 2.3.2 to 2.4 #7493
  • Bump software.amazon.awssdk:bom from 2.22.9 to 2.22.12 #7492
  • Bump github.com/hashgraph/hedera-sdk-go/v2 from 2.33.0 to 2.34.0 in /hedera-mirror-rosetta #7490
  • Bump versions for v0.97.0-SNAPSHOT #7474

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.