In preparation for Hedera Node release 0.5.0, we're releasing v0.10.0 to support the latest version of HAPI. The changes include renaming Claims to LiveHash and new response codes. One important HAPI change is the addition of a topicRunningHashVersion
to the transaction record. This change was necessary as the way the topic running hash is calculated is changing with the release of 0.5.0. As a result, the Hedera Mirror Node added this new field to its database and a migration is ran to populate it with either the new or old version depending upon the release date of 0.5.0.
Unfortunately, this necessitated adding a required field hedera.mirror.topicRunningHashV2AddedTimestamp
to control this behavior and will fail on startup if this is not populated. This is just a temporary measure. Once Hedera Node 0.5.0 is released to testnet and mainnet we will update this so it's automatically populated with the known date.
Other changes include adding Google PubSub support to publish JSON representing the Transaction
and TransactionRecord
protobuf to a message queue for external consumption. We've also added REST API metrics and added Traefik as an API gateway for our helm chart.
Breaking changes
We've had to remove our event stream support. This area of the code was never enabled and was untested and was incurring technical debt without providing any benefit. If it becomes necessary in the future, we can re-add it within our newly refactored framework.
The new /api/v1/topics/:id
alpha REST API that was added in 0.9 has been changed to /api/v1/topics/:id/messages
. This change was made to align the API with the other topic message APIs as it refers to the messages entity and not the topic entity.
Enhancements
- Bump versions for v0.10.0 #730
- Port running hash version to V0.10 #727
- Prepare for v0.10.0-rc1 #708
- Add Traefik API gateway #693
- REST API swagger metrics #690
- Pubsub exporter for Mirror Node #686
- Push docker images on master and cleanup old images #683
- Non-fee transfers : move txn type check to implementation #681
- Add updateEntity() and updateTransaction() to TransactionHandler #680
- Store PostgreSQL passwords in a Kubernetes Secret #678
- Remove jdbc connection params not applicable on Postgres connection #671
- Remove Events #670
- HederaETL: PubSub exporter #665
- REST API Metrics #661
- Kubernetes: API Gateway #651
Bug Fixes
- Fix address book updates that span transactions #701
- Topic Message REST API Missing Path #699
- Fix topic messages REST route #698
- Fix Spring Cloud Kubernetes running locally #674
- Implement async rest api routes and centralized error handling #663
- REST API crashes when database error #631
Contributors
We'd like to thank all the contributors who worked on this release!