Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Release v1.6.4

Compare
Choose a tag to compare
@sirano11 sirano11 released this 03 Mar 06:31
· 287 commits to dev since this release
6c4be43

v1.6.4 Release Notes

What’s New

  • Good news: You can now use WebSocket to subscribe to events via publish/subscribe API with caver.java. (#278)
    • Subscribe to events using caver.rpc.klay.subscribe.
      • Use the parameters newheads to get notification for the latest block and logs for logs included in new blocks for specific contracts or events.
    • Of course, you can unsubscribe using caver.rpc.klay.unsubscribe.
    • Please refer to Klaytn Docs for more details.

Bug Fixes

  • Did you know that the hex prefix "0x" used to only work in lower case? Now it accepts upper case "0X" too. 271
  • We fortified the validation logic for the privateKey. 272, 275
  • We also made some improvements in the validation logic for caver.utils.compressedPublicKey, caver.utils.decompressedPublicKey274, 285
* In the rpc layer, the default value of the parameter isFullTransaction for the methods caver.rpc.getBlockByXXX used to be true, but now it’s set to false. 280
  • We fixed and improved the contract.once method. 282
    • The EventFilterOptions class has been refactored so that you can convert and manage subscription topics more easily.
    • Before, subscribing to an event returned only the raw data. Now with the new subscribeFlowable method, you can configure the data stream yourself, i.e. register callback methods for various cases.