Releases: neodix42/ton4j
Releases · neodix42/ton4j
0.7.1
- use slf4j facade in all places (was not consistent);
- add getNewStateInit() helper method EmulateTransactionResult;
- add devenv module - archetype for dev environment;
- class ExternalMessageInfo renamed to ExternalMessageInInfo for better readability;
- add List getInMessages() to InMsgDescr;
- add List getOutMessages() to OutMsgDescr;
- add List getCreatorStatsAsList() to BlockCreateStatsExt;
- add List getShardAccountBlocksAsList() to BlockExtra;
- add List getShardFeesCreatedAsList() to ShardFees;
- add List getKeyExtBlkRefAsList() to OldMcBlocksInfo;
- add List getPrevBlocksAsList() to McStateExtraInfo;
- add List getShardAccountsAsList() to ShardAccounts;
- add printAllMessages() to Block;
- add printAllTransactions() to Block;
- add printAllMessages() to Transaction;
- add printTransactionFees() to Transaction;
- Review #65:
- implemented proof builder, fix hash map building, fix level mask calculation;
- Thanks to https://github.com/glcanvas!
0.7.0
0.6.0
0.5.5
0.5.4
- add TonConnect support (thanks https://github.com/fanfq for the initial code example)
- add getPublickey() to Tonlib;
- add isWallet to Address to detect offline if an address is a wallet contract.
- fix pruned cell serialization (thanks Nikita https://t.me/oyiiyo for the report and bug examples)
- CellBuilder can now specify cell type via .cellType(CellType type) (avoid using new Cell() directly)
- fix VmStackValueInt de/serialization;
- fix issue #43
- reworked VmStack, VmStackValue, VmControlData and VmStackValueInt se/deserialization;
- CellSlice.preloadUint now returns 0 instead of error if too many bits requested.
- add more hashmap de/serialization tests;
- add getKeyByIndex() and getValueByIndex in TonHashMaps;
- add Utils.calculateMethodId("method_name") to calculate methodId for run_method in Tonlib.
0.5.3
- Further optimizations from @h6x0r (BitString, AdnlAddress, BinTree, improved de/serialization of McBlockExtra, McStateExtra, ShardHashes)
- fix handling of ignoreCache flag in Tonlib;
- added ShardIdent constructors and tests;
- to contracts V1, V2, V3 and V4 added a method getGasFees(), that can be used if one wants to send an amount so that it would land at the recipient with the exact value (also add storage fee retrieved by tonlib.estimateFees())
0.5.2
0.5.1
- small optimizations of Address, Utils and BitString (thanks to @h6xor)
- upgrade test resources (ton binaries) to release 2024.08;
- rename default names for tonlibjson and libemulator in tonlib and emulator modules
- Contract.java interface extended with default
prepareDeployMsg()
in order to get initial External Message for generic contracts.
0.5.0
Improved Tonlib!
- tonlib now tries to reconnect to the next lite-server from the list automatically.
- tonlib receive() returns Error instead of RuntimeException now.
fixed issue #2. Thanks h6x0r for the contribution and rework of PatriciaTree!
(there was a mistake in release 0.4.9, please do not use it)