Skip to content

Releases: xssnick/tonutils-go

v1.14.1

12 Aug 09:21
167b5d3
Compare
Choose a tag to compare
  • Negative coins to String representation fix
  • Added GetBlockDataAsCell method to ton package
  • RLDP better realtime switch between v1 and v2
  • RLDP Rate control with EWMA and answer improvements
  • Added RLDP GetRateInfo method
  • ADNL disconnect handler call asynchronously
  • TL IPv6 type

v1.14.0

14 Jul 13:39
89cc955
Compare
Choose a tag to compare
  • Find transaction by normalized external hash support
  • Support for tinygo + wasm go compiler
  • Crypto keys types moved to keys package from adnl package
  • TonConnect VerifyProofHandlePayload and payload methods added (by @Vladimir-Khm)
  • Added RegisterWithFabric for complex TL structures that requires preinitialization
  • Added static method jettons.BuildTransferPayload to replace obj.BuildTransferPayloadV2, and same for burn
  • Fixed ADNL timed out queries removal
  • RLDP improvements
  • Crypto lib oasisprotocol/curve25519-voi replaced to filippo.io/edwards25519 and now only Ed25519PubToX25519 is used, Ed25519PrivateToX25519 implemented right in tonutils

v1.13.1

09 Jul 03:09
8ec14d0
Compare
Choose a tag to compare
  • RLDP transfers improvements and fixes
  • Fix create FEC decoder for parts of RLDP stream (by @XaBbl4)

v1.13.0

15 May 11:56
3d1c845
Compare
Choose a tag to compare
  • Added TonConnect proof verification method
  • Support for new tlb storage info scheme
  • StringSnake as tlb type (by @m0leynik)
  • Coins math methods (by @mikalsande)
  • ParsePubKeyFromData method added
  • DHT Store and nodes search optimization
  • LS Connection 2 retries on init
  • ADNL Ping method
  • ADNL PacketsBufferSize configurable
  • ADNL NetManager close methods
  • RLDP Rate control tuning
  • Golang min version updated to 1.23 & updated deps

v1.12.0

03 Apr 11:34
4a7e1dc
Compare
Choose a tag to compare
  • Added NormalizedHash() method for ExternalMessage
  • RLDP2 Dynamic transmission speed and loss control
  • RLDP Partitioning support for big transfers
  • ADNL Multiplexer to run multiple gateways on a single port
  • ADNL small optimizations
  • Fixed potential race in DHT nodes sorting

v1.11.1

26 Feb 11:40
a69e6af
Compare
Choose a tag to compare
  • Added ADNL Reinit method
  • Fixed RLDP FEC manual parse method
  • Better UDP errors processing

v1.11.0

07 Feb 16:22
5abade9
Compare
Choose a tag to compare
Network and Serialization
  • TL Serialize/Parse reimplemented and uses pre-compilation on startup now, almost no reflection in runtime
  • Dynamic MTU for ADNL UDP
  • ADNL UDP Multiple optimizations
  • Underlying connection wrapper for ADNL to optimize context switches on multiple parallel writes
  • Added DoQueryAsync for RLDP to reduce goroutines on parallel queries when needed
  • Customizable symbol size for RLDP
  • RLDP message sender reimplemented to use less goroutens, RLDP works more efficient now
  • RaptorQ for RLDP optimized, and 6 times more efficient now
  • Enabled Auth for liteclient by default
Wallet
  • Wallet initialization with BIP39 seed support (by @aitimate)
  • Added custom Signer and options support for wallet (by @nayutalienx)
  • Added workchain option for wallet initialization
  • Added optional workchain argument to DeployContractWaitTransaction
  • Added SeedToPrivateKey method
  • Fixed Decrypt/Encrypt comment compatibility with wallet apps
TON Primitives
  • AddressFromPubKey supports optional workchain argument now
  • StringRaw() method for Address to serialize raw form
  • Fixed ShardIdent.GetShardID()
  • Refactored transaction Description.Description, changed to single Description
  • Make GetMainValidators and CheckBlockSignatures to be public methods
  • Fixed SubscribeOnTransactions break when exhausts transactions (by @defi2026-dev and @m0leynik)
  • Fixed dict leaf proof depth for dicts with single key
  • Added String() methods for Cell, Slice and Builder for better output
Misc
  • Added proof cell example, to show how to create proofs
  • Replaced time.After to time.NewTicker, because first one may leak on older go versions (by @iw4p)
  • Removed previously deprecated adnl.Connect (use adnl.Gateway)
  • Removed RLDP HTTP, because it is implemented in tonutils-proxy

v1.10.2

23 Sep 16:58
b50926d
Compare
Choose a tag to compare
  • Fixed AccStatusChangeFrozen ToCell bits order
  • Added new test for block parsing

v1.10.1

18 Sep 09:06
d22f8d3
Compare
Choose a tag to compare
  • Check proof for GetAccount not found result (by @akos-tk)

v1.10.0

16 Sep 12:58
d4afeb1
Compare
Choose a tag to compare
  • Added ConfigCustom to wallet package, to use your own wallet contract implementations (by @klimov-ankr)
  • Added SendExternalMessageWaitTransaction to ton package (by @dvlkv)
  • Added context and subwallet args to CustomQueryIDFetcher for wallets (by @klimov-ankr)
  • Added GetSubwalletID method to wallet (by @klimov-ankr)
  • Added TransferWaitTransaction method to wallet (by @iw4p)
  • Added Coins type Compare and Decimals method (by @livingroot)
  • Added StateInit type CalcAddress method

  • Improved and fixed Retrier wrapper to retry one more time using same nodes list
  • Fixed Host header definition for RLDP-HTTP
  • Fixed GetAccount and RunGetMethod proof check when used with shard block
  • Fixed ADNL UPD reinit when comminicating with c++ impl
  • RLDP message parts delay improvement
  • RLDP now prioritizes v1 use over v2 for better compatibility with c++ (temporarily)
  • Deprecated ContentOnchain fields, it is recommended to use GetAttribute method now