Releases: hiero-ledger/hiero-mirror-node
v0.29.0-rc2
Replace null character on insert (0.29) (#1717) - Fix failing on insert of tokens with null character (0x0000) in symbol or name - Bump versions to v0.29.0-rc2 Signed-off-by: Steven Sheehy <[email protected]>
v0.29.0-rc1
Fix publish image for rosetta (#1702) - Remove hedera-mirror-rosetta from CircleCI publish_images - Add publish_image job to github action workflow rosetta-api.yml - Remove the slash in rosetta deploy.sh Signed-off-by: Xin Li <[email protected]>
v0.28.2
Backports a couple REST API fixes to 0.28 and fixes an issue parsing scheduled transactions that have been executed.
Enhancements
- Bump version for v0.28.2 #1681
Bug Fixes
- Allow transaction.node_account_id to be null #1683
- Add support to transactions REST API for finding transactions with only token transfers (0.28) #1680
- Filter dissociated accounts when querying tokens with account ID (0.28) #1678
Contributors
We'd like to thank all the contributors who worked on this release!
v0.28.1
v0.28.0
This releases finalizes support for scheduled transactions and HAPI protobuf v0.12. Two new schedule specific REST APIs were added including /api/v1/schedules
and /api/v1/schedules/:id
. The former lists all schedules with various filtering options available and the latter returns a specific schedule by its schedule ID.
GET /api/v1/schedules?account.id=0.0.1024&schedule.id=gte:4000&order=desc&limit=10
{
"schedules": [
{
"admin_key": {
"_type": "ProtobufEncoded",
"key": "7b2233222c2233222c2233227d"
},
"consensus_timestamp": "1234567890.000030003",
"creator_account_id": "0.0.1024",
"executed_timestamp": null,
"memo": "Created per governing council decision dated 02/03/21",
"payer_account_id": "0.0.1024",
"schedule_id": "0.0.4000",
"signatures": [
{
"consensus_timestamp": "1234567890.000030001",
"public_key_prefix": "CQkJ",
"signature": "CQkJ"
}
],
"transaction_body": "AQECAgMD"
}
],
"links": {
"next": null
}
}
In HAPI v0.12, new memo fields were added to all entity types bringing parity across all services. Mirror node now supports the new fields including for update operations where the memo field can be set to null
, empty string or a non-empty string to keep, clear or replace the existing memo, respectively.
Historically, the importer application has always downloaded stream files and saved to the filesystem in one thread then read those files and ingested them into the database in another thread. This has sometimes caused the database and filesystem to get out of sync and require manual intervention to fix. It also makes the importer stateful and as a result could not support running multiple instances for high availability.
With this release, we've removed the need for importer to read and write to the filesystem. Instead, the downloader and parser threads now communicate via an in-memory queue. To accomplish this, we also had to remove the t_application_status
table in favor of calculating the last successful file directly from the stream file tables. In addition to fixing the aforementioned issues, the removal of the filesystem has resulted in a 5% latency improvement.
Other changes include adding an index
field to record_file
table to simulate a blockchain index and updating our Google Marketplace to v0.27. Also, we added support for the v5 stream files to the check-state-proof
client app.
Enhancements
- Bump versions for v0.28.0 #1650
- Bump versions for v0.28.0-beta2 #1622
- Bump versions for v0.28.0-beta1 #1611
- Add block index to record file #1595
- Add Schedules List API Support #1593
- Rest get schedule api #1576
- Update Acceptance Tests to Use SDK v2 #1573
- Increase downloader threads from 13 to 15 (master) #1569
- Support new entity memo fields #1567
- Upgrade Google Marketplace with support for v0.27 #1565
- Add support for ScheduleCreateTransaction memo field #1556
- Add v5 stream file support to check-state-proof #1555
- Remove filesystem dependency #1554
- Support new entity memo fields #1553
- Add v5 stream file support to check-state-proof #1549
- Add block index to record file #1548
- Support v0.12 scheduled transaction proto fields #1508
- Scheduled transactions get REST API #1471
- Scheduled transactions list REST API #1470
- Upgrade Google Marketplace #1174
- Recover when database and filesystem out of sync #918
- Update balance parser code to conform to new parser design #573
- Fetch last processed record (and event) file hash from t_record_files #109
Bug Fixes
- Fix failure when building hedera-mirror-rest docker image #1591
- Rosetta CLI validation failures #1585
- Fix RedisTopicListenerTest.startTimeBefore #1574
- Fix ConfigurableTransactionGeneratorTest.receiptPercent #1570
- hedera-mirror-monitor test case ConfigurableTransactionGeneratorTest.receiptPercent failed #1566
- Fix MirrorDateRangePropertiesProcessorIntegrationTest #1552
- RedisTopicListenerTest.startTimeBefore failed test #1543
- MirrorDateRangePropertiesProcessorIntegrationTest failed test #1519
Dependency Upgrades
- Bump
@awaitjs
/express from 0.7.1 to 0.7.2 in /hedera-mirror-rest (#1613) #1621 - Bump grpc-spring-boot to 2.11.0 #1592
- Bump junit-jupiter from 1.15.1 to 1.15.2 #1580
- Bump spring-cloud-dependencies from Hoxton.SR9 to Hoxton.SR10 #1579
- Bump aws-sdk from 2.841.0 to 2.843.0 in /hedera-mirror-rest #1578
- Bump husky from 4.3.8 to 5.0.9 in /hedera-mirror-rest #1577
- Bump hedera-protobuf.version to 0.12.0-rc.1 #1572
- Bump aws-sdk from 2.834.0 to 2.841.0 in /hedera-mirror-rest #1571
- Bump os-maven-plugin from 1.6.2 to 1.7.0 #1564
- Bump software.amazon.awssdk:bom from 2.15.73 to 2.15.77 #1563
- Bump vertx-pg-client from 4.0.0 to 4.0.2 #1562
- Bump mathjs from 9.1.0 to 9.2.0 in /hedera-mirror-rest #1561
- Bump aws-sdk from 2.834.0 to 2.839.0 in /hedera-mirror-rest #1560
- Bump
@awaitjs
/express from 0.7.0 to 0.7.1 in /hedera-mirror-rest #1559 - Bump testcontainers from 7.2.0 to 7.4.0 in /hedera-mirror-rest #1558
- Bump mathjs from 9.1.0 to 9.2.0 in /hedera-mirror-rest/monitoring/monitor_apis #1557
Contributors
We'd like to thank all the contributors who worked on this release!
v0.28.0-beta2
Bump versions for v0.28.0-beta2 (#1622) Signed-off-by: Steven Sheehy <[email protected]>
v0.28.0-beta1
Bump versions for v0.28.0-beta1 (#1611) Signed-off-by: Steven Sheehy <[email protected]>
v0.27.0
This release adds a new REST API component that implements the Rosetta API. The Rosetta API is an open standard for integrating with blockchain-oriented systems. Implementing the Rosetta AP provides a number of advantages. It reduces the time and effort it takes for wallets, exchanges, etc. to integrate with the Hedera network if they have integrated with Rosetta in the past. Even if the systems integrator has not used Rosetta previously, using the Rosetta API in lieu of our separate REST API might be useful to reduce the friction with using a non-blockchain DLT like Hedera.
Scheduled transactions is an new feature being added to the main nodes in a future release. Scheduled transactions allows transactions to be submitted without all the necessary signatures and will execute once all the required parties sign. The mirror node has been updated to understand and store these new types of transactions. Additionally, we've updated our existing REST APIs to expose this information. The next release will add additional schedule specific REST APIs.
We made a concerted effort this release to improve our tests. Most of our flaky tests were fixed so that our continuous integration runs smoother. We also improved the stability of our acceptance tests. The REST API monitor also had some logging and useability fixes to aid in production observability.
Enhancements
- Increase downloader threads and Bump version for v0.27.0 #1568
- Acceptance Test improvements #1551
- Bump versions for v0.27.0-rc1 #1550
- Rosetta operations #1546
- Update rosetta data schema with post v1.30 support #1530
- Rosetta license #1529
- Add rosetta module to maven cycle #1527
- Change file readers to not depend upon java.io.File #1524
- Integrate rosetta module into maven cycle #1523
- Update Rosetta documentation #1517
- Utilize official master branches in rosetta pulls #1516
- Update rosetta data schema with post V1.30 schema support #1515
- Update license and copyright to support rosetta #1514
- Add Rosetta support to multi-module #1512
- Support scheduled transactions for existing rest apis #1506
- Use property for versions in child poms #1504
- Add schedule transactions parsing logic to importer #1503
- Monitor logging #1501
- Add scheduled column to transaction table #1500
- Refactor record file v5 #1499
- Add schema and domain support for scheduled transactions #1477
- Refactor record file v5 #1472
- Scheduled transactions support for existing REST APIs #1468
- Scheduled transactions importer #1465
- Scheduled transactions schema and domain #1464
- Monitor API logging improvements #1463
- Rosetta API implementation #810
- Integrate REST API build into Maven #761
Bug Fixes
- Fix database initialization in docker-compose #1547
- Fix PostgreSQL chart #1528
- Skip rest test in test module docker build #1525
- Fix REST test failures #1522
- Fix issue with incomplete stubbing on RedisEntityListenerTest.onSlowPublish #1520
- Fix failed test case SharedPollingTopicListenerTest.slowSubscriberOverflowException #1511
- Fix whitespace in license header #1509
- Fix flaky test PollingTopicMessageRetrieverTest.unthrottledShouldKeepPolling #1507
- SharedPollingTopicListenerTest.slowSubscriberOverflowException failed test #1505
- Optimize slow transaction query #1486
- HTS acceptance tests can fail with TOKENS_PER_ACCOUNT_LIMIT_EXCEEDED #1485
- RedisEntityListenerTest.onSlowPublish failed test #1484
- Update acceptance tests to use a new treasury account #1480
- Flaky test PollingTopicMessageRetrieverTest.unthrottledShouldKeepPolling #1438
- Transactions query times out in integration environment #1388
Documentation
- Update TimescaleDB migration docs and scripts #1475
Dependency Upgrades
- Bump embedded.testcontainers.version from 2.0.0 to 2.0.3 #1545
- Bump reporting-plugin from 4.0.94 to 4.0.95 #1544
- Bump jmeter-maven-plugin from 3.2.0 to 3.3.0 #1539
- Bump software.amazon.awssdk:bom from 2.15.69 to 2.15.73 #1538
- Bump download-maven-plugin from 1.6.0 to 1.6.1 #1537
- Bump aws-sdk from 2.831.0 to 2.834.0 in /hedera-mirror-rest #1536
- Bump supertest from 6.1.1 to 6.1.3 in /hedera-mirror-rest #1535
- Bump testcontainers from 7.0.1 to 7.2.0 in /hedera-mirror-rest #1534
- Bump mathjs from 9.0.0 to 9.1.0 in /hedera-mirror-rest #1533
- Remove unused dependencies in monitor_apis #1532
- Bump mathjs from 9.0.0 to 9.1.0 in /hedera-mirror-rest/monitoring/monitor_apis #1531
- Bump software.amazon.awssdk:bom from 2.15.68 to 2.15.69 #1498
- Bump testcontainers from 6.4.2 to 7.0.1 in /hedera-mirror-rest #1497
- Bump embedded.testcontainers.version from 1.86 to 2.0.0 #1496
- Bump aws-sdk from 2.830.0 to 2.831.0 in /hedera-mirror-rest #1494
- Bump
@godaddy
/terminus from 4.5.0 to 4.6.0 in /hedera-mirror-rest #1493 - Bump sinon from 9.2.3 to 9.2.4 in /hedera-mirror-rest #1492
- Bump grpc-bom from 1.33.1 to 1.35.0 #1491
- Bump supertest from 6.0.1 to 6.1.1 in /hedera-mirror-rest #1490
- Bump
@awaitjs
/express from 0.6.3 to 0.7.0 in /hedera-mirror-rest #1489 - Bump jmeter.version from 5.4 to 5.4.1 #1488
- Bump testcontainers from 6.4.1 to 6.4.2 in /hedera-mirror-rest #1487
- Bump aws-sdk from 2.824.0 to 2.830.0 in /hedera-mirror-rest #1483
- Bump software.amazon.awssdk:bom from 2.15.61 to 2.15.68 #1482
- Bump reporting-plugin from 4.0.89 to 4.0.94 #1458
- Bump node-flywaydb from 3.0.3 to 3.0.5 in /hedera-mirror-rest #1457
- Bump qs from 6.9...
v0.27.0-rc2
Acceptance Test improvements (#1551) * Acceptance test improvements - Update retry backoff to 3 secs - Move treasury account to AccountClient for easy sharing and to ensure single run - Set http get header with no cache store to reduce sticky 400's - Bump to rc2 Signed-off-by: Nana-EC <[email protected]>
v0.27.0-rc1
Bump versions for v0.27.0-rc1 (#1550) - Bump versions for v0.27.0.rc1 - Fix `running_hash_version` in `openapi.yml` getting updated - Fix Rosetta version in `application.yml` not getting updated - Fix Rosetta version in configuration docs Signed-off-by: Steven Sheehy <[email protected]>