Releases: ton-blockchain/ton4j
Releases · ton-blockchain/ton4j
1.3.4
- Align with TVM12 update. Rename ihrFee to extraFlags in Message.InternalMessageInfo.
- Introduce new TL-B type NewBounceBody. Add getBounceBody() into Message class;
- Update version, adjust SmartContractCompiler to Tolk v1+;
- Refactor maven dependencies, align logback-core version, remove timer-ninja dependency;
1.3.3
ton4j migrated to official TON mono repo!
Starting 1.3.3 ton4j is hosted in ton-blockchain/ton4j repository.
Update your Maven or Jitpack dependencies
<dependency>
<groupId>org.ton.ton4j</groupId>
<artifactId>smartcontract</artifactId>
<version>1.3.3</version>
</dependency>
- Update logback-classic 1.5.20
1.3.2
What's Changed
- Upgrade Apache Commons Lang version to fix vulnerability by @IAGrig in #133 - Thanks @IAGrig for the contribution!
- Upgrade logback-core 1.5.18 -> 1.5.19
- Added jacoco-maven-plugin to track code coverage
- Improved code coverage
New Contributors
Full Changelog: 1.3.1...1.3.2
1.3.1
- TonCenter Indexer v3 wrapper;
- Add updated JettonWalletV2 and JettonMinterV2 contracts; Add example of user jetton wallet address calculation offline;
- Fix issue #125, where wrongly set FLAG_USER_FRIENDLY and FLAG_URL_SAFE flgas.
Full Changelog: v1.2.1...1.3.1
v1.2.1
- introduce a new Exporter module that allows to access a TON RockDB database hosted locally;
- add various RocksDB readers, like CellDbReader, GlobalIndexReader, StateDbReader and ArchiveIndexReader;
- add simple command line tool TonExporterApp.jar to extract data (like blocks in TL-B or BoC format, last block, latest or by seqno account balance/shard) from TON db.
- in Exporter module add some TL-B types that use lazy-loading cell mechanism, where during cell deserialization each cell's reference is loaded from the CellDB by its hash;
- in Exporter module in ShardAccountsLazy added lookup method, that looks for a key in (HashmapAugE 256 ShardAccount DepthBalanceInfo) = ShardAccounts dict without loading the whole HashMap;
- add endCellNoRecalculation() to CellBuilder, that is used to end the cell without calculating hashes;
- improve readability of OutMsgQueueInfo de/serialization;
- fix AccountBlock and LibDescr deserialization;
- fix MsgEnvelope, McStateExtraInfo, BlockCreateStats, ShardAccountBlocks, OldMcBlocksInfo de/serialization;
v1.1.1
v1.1.0
- added TonCenterV2 REST client;
- added support and code examples of TonCenter client with all wallet types:
WalletV5 contract =
WalletV5.builder()
.tonCenterClient(tonCenterClient)
- AdnlLiteClient can now be used in multpile threads;
- Breaking changes! in order to generalize response from various providers (tonlib, ADNL lite-client and TonCenter client)
was:
ExtMessageInfo extMessageInfo = wallet.send(...
became:
SendResponse sendResponse = faucet.send(... - fixed ShardHashes deserialization, add getStateInit() and getBalance() to Account tlb class;
- added getReturnedStake(), getElectionId(), getElectionParticipants() to AdnlLiteClient, add getShards() to AllShardsInfo TL-B;
- fixed ShardDescr TL-B de/serialization;
- fixed BinTree deserialization;
- make AccountStateActive serializable, improve getParticipants() in AdnlLiteClient;
1.0.1
1.0.0
- add implementation of ADNL TCP protocol; https://github.com/neodix42/ton4j/blob/main/adnl/ADNL-TCP-Liteserver.md
- add pure java based ADNL lite-client; https://github.com/neodix42/ton4j/blob/main/adnl/README.md
- de/serialization of all lite-client TL queries and responses; https://github.com/neodix42/ton4j/blob/main/tl/README.md
- various TL-B de/serialization fixes;
- adjust existing smartcontract classes to use a new adnl-lite-client;
0.9.9
- migrating from org.ton.java to org.ton.ton4j (adjust your imports)
- with the release 1.0.0 ton4j will be migrated from maven io.github.neodix42 to org.ton.ton4j
- add de/serialization of msg_import_deferred_fin, msg_import_deferred_tr, msg_export_new_defer and msg_export_deferred_tr to OutMsg and InMsg
- add SizeLimitsConfig V2 de/serialization;
- add MsgEnvelopeV2 de/serialization;;
- added .
sendMode(SendMode)enum to all wallet contracts! Old.mode(int)still works. - BouncePhaseNegFounds deserialization fix.
- update block.tlb;
- update README.md files


