Releases: neodix42/ton4j
Releases · neodix42/ton4j
0.8.2
- add sendRawMessageWithConfirmation() to Tonlib; (works with tonlibjson.so/dll from testnet, pending ton-blockchain/ton#1379)
-
- Sends raw message, bag of cells encoded in base64, with delivery confirmation. After the message
-
- has been sent to the network this method looks up specified account transactions and returns
-
- true if message was found among them. Timeout 60 seconds.
- add waitForDeployment() with default timeout 60s;
- to all contracts added method sendWithConfirmation();
- fix ConfigParams 1-5 TL-B types;
- update third-parties;
- improve java docs;
- add ton artifacts for quicker dev (windows only);
- removed tonlib redundant logging;
- add more fromNano and toNano methods with precision;
0.8.0
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.