github hashgraph/hedera-mirror-node v0.21.0

latest releases: v0.117.0-rc1, v0.116.1, v0.116.0...
3 years ago

This release continues our focus on the Hedera Token Service (HTS) by adding three new token REST APIs. A token discovery REST API /api/v1/tokens shows available tokens on the network. A token REST API /api/v1/tokens/${tokenId} shows details for a particular token on the network. A token supply distribution REST API /api/v1/tokens/${tokenId}/balances shows token distribution across accounts. These APIs have already made their way to previewnet so check them out!

Continuing our HTS theme, we enhanced our testing frameworks with token support. Our acceptance tests can send HTS transactions to HAPI and wait for those transactions to show up via the mirror node REST API. Additionally, our performance tests can simulate a HTS load to test how the system responds to HTS transactions.

We improved our existing REST APIs by adding a way to filter by transaction type. When searching for transactions or showing the transactions for a particular account you can now filter via an optional transactionType query parameter. This feature can be used with the transactions API in the format /api/v1/transactions?transactionType=tokentransfers while the format for the accounts API is /api/v1/accounts/0.0.8?transactionType=TOKENTRANSFERS.

We improved our Kubernetes support with AlertManager integration. There are now custom PrometheusRule alerts for each component that trigger notifications based upon Prometheus metrics. A custom Grafana dashboard was created that shows currently firing alerts.

Enhancements

  • Bump versions for 0.21.0 #1224
  • Bump version for v0.21.0-rc1 #1161
  • Add transaction type filter to REST API #1139
  • HTS e2e Performance Tests #1134
  • Acceptance Tests should support initial Token Scenarios added in v0.20.0 #1132
  • Updated Acceptance test to support base HTS scenarios #1131
  • Add support for alerts in Kubernetes #1130
  • HTS: Token REST API #1125
  • HTS: Token supply distribution REST API #1113
  • HTS: REST Token Discovery API #1110
  • HTS: Stability and performance testing #1108
  • HTS: Token REST API #1106
  • HTS: Token supply distribution REST API #1104
  • HTS: Token discovery REST API #1103
  • Kubernetes: Alerts #658

Bug Fixes

  • Bump v0.21.0-rc2 with missing columns to token info REST API #1173
  • modified_timestamp and name are missing from token info REST API response #1172
  • Port Fix NPE parsing token transactions to master #1158
  • Address code scanning results #1111

Documentation

  • Minor updates to HTS doc post REST implementation #1138

Dependency Upgrades

  • Bump software.amazon.awssdk:bom from 2.15.7 to 2.15.9 #1148
  • Bump commons-io from 2.7 to 2.8.0 #1147
  • Bump jackson-dataformat-msgpack from 0.8.20 to 0.8.21 #1146
  • Bump pretty-quick from 3.0.2 to 3.1.0 in /hedera-mirror-rest #1145
  • Bump aws-sdk from 2.761.0 to 2.773.0 in /hedera-mirror-rest #1144
  • Bump jest-junit from 11.1.0 to 12.0.0 in /hedera-mirror-rest #1143
  • Bump nodemon from 2.0.4 to 2.0.5 in /hedera-mirror-rest #1142
  • Bump codecov from 3.7.2 to 3.8.0 in /hedera-mirror-rest #1141
  • Bump nodemon from 2.0.4 to 2.0.5 in /hedera-mirror-rest/monitoring/monitor_apis #1140
  • Bump jib-maven-plugin from 2.5.2 to 2.6.0 #1124
  • Bump software.amazon.awssdk:bom from 2.13.11 to 2.15.7 #1123
  • Bump embedded.testcontainers.version from 1.82 to 1.83 #1121
  • Bump mathjs from 7.3.0 to 7.5.1 in /hedera-mirror-rest/monitoring/monitor_apis #1120
  • Bump pg from 8.3.3 to 8.4.1 in /hedera-mirror-rest #1119
  • Bump jest from 26.4.2 to 26.5.3 in /hedera-mirror-rest/monitoring/monitor_apis #1118
  • Bump sinon from 9.1.0 to 9.2.0 in /hedera-mirror-rest #1116
  • Bump jest from 26.4.2 to 26.5.3 in /hedera-mirror-rest #1115
  • Bump eslint-plugin-jest from 24.0.2 to 24.1.0 in /hedera-mirror-rest #1114

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.