Releases: xssnick/tonutils-go
Releases · xssnick/tonutils-go
v1.15.0
- Added Toncenter API client package
- Added flexible wallet initialization methods with options (by @mikalsande)
- Added support for Ledger compatible seed phrases. (by @mikalsande)
- Added
FromPubKeyWithOptions
, for wallets with external signer - Added TL
RegisterAllowedGroup
method to group messages in a single alias name - RLDP Optimizations (by @andreypfau)
- Removed api argument from
FromPrivateKeyWithOptions
, added optionWithAPI(api)
- Allowed address type as stack element for
RunGetMethod
(auto conversion to slice) - CRC16 internal implementation, to reduce dependencies
- Coins math methods changed from pointers to struct for simpler usage
- Fixed
BlockBroadcast
TL struct registration - Increased lite client max packet size to 16 mb
- Wallet usage exmaple with Toncenter API
overlay
package refactoringBlockIDExt
refactoring, removed deprecatedBlockInfo
GetParentBlocks
moved to ton package fromtlb.BlockHeader
method
v1.14.1
- 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
- Find transaction by normalized external hash support
- Support for tinygo + wasm go compiler
- Crypto keys types moved to
keys
package fromadnl
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 replaceobj.BuildTransferPayloadV2
, and same for burn - Fixed ADNL timed out queries removal
- RLDP improvements
- Crypto lib
oasisprotocol/curve25519-voi
replaced tofilippo.io/edwards25519
and now onlyEd25519PubToX25519
is used,Ed25519PrivateToX25519
implemented right in tonutils
v1.13.1
v1.13.0
- 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
- 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
v1.11.0
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 nowStringRaw()
method for Address to serialize raw form- Fixed ShardIdent.
GetShardID()
- Refactored transaction
Description.Description
, changed to singleDescription
- 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
totime.NewTicker
, because first one may leak on older go versions (by @iw4p) - Removed previously deprecated
adnl.Connect
(useadnl.Gateway
) - Removed RLDP HTTP, because it is implemented in tonutils-proxy