v2.62.0
What's changed
This release enhances account alias handling in the SDK and introduces new testing and documentation improvements for contract queries and transaction verification. It also includes development dependency upgrades to maintain compatibility and security.
Enhancements
-
Improved Account Alias Handling: Added support for hollow account detection (
num=0with alias) inAccountId. This ensures more accurate handling of aliases and improves protobuf conversion logic. -
Protobuf Conversion Updates: Enhanced
AccountIdbehavior with more explicit conversion rules for:- Both
AccountIdnumber and alias set - Only alias set
- Only number set
Comprehensive test coverage has been included.
Contributed by @ivaylonikolov7 in #2994
- Both
Documentation
- Mirror Node Contract Queries: Added usage documentation to help developers correctly configure sender addresses using ECDSA keys and aliases in contract queries.
Contributed by @ivaylonikolov7 in #2993
Tests
- PublicKey Verification: Added unit tests for
PublicKey.verifyTransaction, ensuring correct behavior in signature verification.
Contributed by @0xivanov in #2971
Dependency Upgrades
- Development Dependencies:
- Upgraded
chromedriverfrom133.0.3to134.0.5(including in the cryptography package) - Upgraded
sinonfrom19.0.2to20.0.0 - Upgraded
vitefrom6.1.0to6.1.3(including in the cryptography package) - Upgraded
axiosfrom1.7.7to1.8.2in `/examples/simple_rest_signature_p
- Upgraded
Full Changelog: v2.61.0...v2.62.0