The Hedera API (HAPI) is always evolving based on user feedback, usability testing, and necessary changes in functionality directed and approved by the Hedera Governing Council. Sometimes these changes require the deprecation or addition of functionalities.
If you’re utilizing the Hedera API (HAPI) to build applications on the testnet or mainnet, you’ll need to review the deprecations and additions coming in v0.8.0 and v0.9.0 of the Hedera Services Codebase. If you’re building on Hedera using any of the official Hedera SDKs, no action is needed at this time.
Testnet v0.9.0 estimated release: November 19, 2020
Mainnet v0.9.0 estimated release: December 3, 2020
For technical community and Hedera development support, please join the Hedera Discord at https://hedera.com/discord
Deprecate threshold records (v0.8.0)
Mainnet v0.8.0 estimated release: October 1, 2020
When creating an account, you can optionally generate records for receiving or sending hbars that meet a certain threshold value. The option to generate these threshold records will be marked as deprecated in this release. The following protobufs will be affected:
- CryptoCreate.proto - sendRecordThreshold, receiveRecordThreshold
- CryptoGetInfo.proto - generateSendRecordThreshold, generateReceiveRecordThreshold
- CryptoUpdate.proto - sendRecordThresholdWrapper, receiveRecordThresholdWrapper
- ResponseCode.proto - INVALID_RECEIVE_RECORD_THRESHOLD, INVALID_SEND_RECORD_THRESHOLD
You can view the updated protobufs here and related issue here. These fields will be marked deprecated for at least 6 months before they’re completely removed.
[ACTION REQUIRED] Deprecated fields removed from transaction proto (v0.9.0)
Testnet v0.9.0 estimated release: November 19, 2020
Mainnet v0.9.0 estimated release: December 3, 2020
For the upcoming v0.9.0 release, the Transaction proto will have the following deprecated fields removed. They have been marked as deprecated: