This release contains another new REST API for our consensus service. You can now retrieve all topic messages in a particular topic, with additional filtering by sequence number and consensus timestamp. Here's an example:
GET /api/v1/topic/7?sequencenumber=gt:2×tamp=lte:1234567890.000000006&limit=2
{
"messages": [
{
"consensus_timestamp": "1234567890.000000003",
"topic_id": "0.0.7",
"message": "bWVzc2FnZQ==",
"running_hash": "cnVubmluZ19oYXNo",
"sequence_number": 3
},
{
"consensus_timestamp": "1234567890.000000004",
"topic_id": "0.0.7",
"message": "bWVzc2FnZQ==",
"running_hash": "cnVubmluZ19oYXNo",
"sequence_number": 4
}
],
"links": {
"next": "/api/v1/topic/7?sequencenumber=gt:2×tamp=lte:1234567890.000000006×tamp=gt:1234567890.000000004&limit=2"
}
}
The other big feature of this release is Kubernetes support. We've created a Helm chart that can be used to deploy a highly available Mirror Node with a single command. This feature is still under heavy development as we work towards converting our current deployments to this new approach.
Enhancements
- Prepare for v0.9.0 #685
- Bump version for v0.9.0-rc1 #662
- Add pod priority class #650
- Add Pod Priority Class #649
- Add getEntityId() to Transaction Handler #645
- Implement Topic Messages collection REST API endpoint #644
- Add TransactionBody to RecordItem #639
- Kubernetes #637
- Add rest api code coverage #629
- Updated HCS Acceptance tests for easy running by devops #626
- REST API code coverage #623
- Topic messages REST API #618
- Google Blockchain ETL Design #560
- Investigate requester pays buckets #357
- Kubernetes Deployment #346
Bug Fixes
- Fix NPE when parsing autoRenewAccount #682
- 0.9 cherry picks and v0.9.0-rc2 #676
- Fix NPE due to proxyAccountID #664
- Fix REST API packaging issues #648
- Extend timeout in subscribeverifysequence to retrieve messages #643
- Investigate ConsensusControllerTest.subscribeVerifySequence failures #640
- Fixing REST spec tests causing bigint overflow #636
- Store surefire logs in artifacts for debugging of failures #635
- Fix REST Monitor security vulnerabilities #633
- Fix REST security vulnerability #632
- Fix REST tests in CircleCI #630
- CircleCI tests sporadically fail #621
Contributors
We'd like to thank all the contributors who worked on this release!