Skip to content

Releases: nessshon/tonutils

v2.0.1b2

12 Dec 01:54

Choose a tag to compare

v2.0.1b2 Pre-release
Pre-release

Release Notes — v2.0.1b2

Beta version 2.0.1b2 of the tonutils library, based on a new architecture.
The project has been fully restructured compared to previous versions.

Installation

This version is published as a pre-release.

pip install --pre tonutils

Key Changes

Core Types and Units

  • Switched to nanoton as the base unit of value.

  • Introduced standardized core TON entities:

    • network identifiers (mainnet / testnet),
    • workchain identifiers (basechain / masterchain),
    • auxiliary enums and types.
  • Improved API type safety and consistency.

ADNL / LiteServer

  • Added native AdnlClient and AdnlBalancer.

  • Built-in support for:

    • rate limit handling,
    • configurable RPS,
    • automatic retries for common errors (including block not in db).

HTTP Clients and Balancer

  • Added ChainstackHttpClient.

  • Implemented HttpBalancer:

    • supports multiple providers (Toncenter, TonAPI, etc.),
    • per-client rate limits and RPS configuration,
    • improved fault tolerance.

Contract Wrappers and Utilities

  • Refactored contract wrappers and base classes.
  • Improved separation of TL-B schemas and get-methods.
  • Enhanced type annotations.

Wallet wrappers:

Additional wrappers and utilities:

Examples

Feedback

This is a beta release. Feedback and testing are welcome.

v0.5.6

26 Nov 10:31

Choose a tag to compare

What's Changed

  • Added one-session support to clients. by @lg1447 in #62

New Contributors

Full Changelog: v0.5.5...v0.5.6

v0.5.5

08 Nov 07:03

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.5.4...v0.5.5

v0.5.4

28 Oct 08:51

Choose a tag to compare

What's Changed

  • Add the ability to specify query_id when building DeDust native swap messages by @lapismyt in #60

New Contributors

Full Changelog: v0.5.3...v0.5.4

v0.5.3

30 Aug 15:19

Choose a tag to compare

What’s Changed

  • Fix timeout initialization in Highload Wallet v3
  • Fix domain length validation and address deserialization in verifiers.py
  • Add optional fields network and from_ to payload models
    (update request DTOs to include new network field)
  • Ensure allowed_domains parameter cannot be None in verification functions
  • Refactor models with additional DTO classes for proof and sign data verification
    – update account model with state_init property
    – refactor verifiers to use new DTOs and adjust signature validation logic
  • Refactor and secure verify_sign_data and verify_ton_proof:
    add public key parameter, update payload parsing, enforce timestamp validation,
    and handle wallet state initialization decryption

Full Changelog: v0.5.2...v0.5.3

v1.0.0a1

28 Aug 21:00

Choose a tag to compare

v1.0.0a1 Pre-release
Pre-release

Release Notes — v1.0.0a1

It is an early-stage version that will be expanded over time, as significant work still lies ahead.
Many features from the stable release are not yet implemented, and their absence at this stage is intentional. Please do not expect feature parity with the current stable branch.

Overview

The current stable version of tonutils had a number of architectural and technical issues, so it was decided to rewrite the entire library from scratch. The goal is to fix previous mistakes, improve performance, and simplify future development.

Key Improvements

  • Adopted nanoton as the base unit of value representation instead of TON, ensuring compliance with ecosystem standards.
  • Significant performance improvements by eliminating repeated client session re-creation.
  • Migration from feature-based to layer-based architecture for better scalability and maintainability.
  • Overall restructuring of the library and removal of accumulated design flaws.

Removed Features

  • Jetton swaps and subdomains are not included in this release, as they are currently considered out of scope. Their inclusion may be reconsidered in the future depending on community demand (issue 904, issue 1081).

Planned Work

  • Migration of TonConnect into a separate repository to avoid overloading tonutils and to enable faster release cycles.
  • Choosing a new name for the TonConnect library, since tonconnect and pytonconnect are already taken on PyPI. This is currently the main problem :).
  • Open to community suggestions on naming or any other proposals.

Tests and Examples

  • Minimal tests are provided in the tests/ directory.
  • Usage examples are available in the examples/ directory.

Community

Feedback and contributions are welcome.

v0.5.2

05 Aug 11:52

Choose a tag to compare

What’s Added

  • Add JettonMasterStablecoin2 (jetton-contract 2.0) support.

Full Changelog: v0.5.1...v0.5.2

v0.5.1

16 Jul 19:10

Choose a tag to compare

What's Changed

Full Changelog: v0.5.0...v0.5.1

v0.5.0

02 Jul 12:37

Choose a tag to compare

What's Changed

  • Updated pytoniq-core dependency to >=0.1.44 to support upcoming TON protocol changes in ConfigParam#12 and Account TL-B schemes.

Full Changelog: v0.4.9...v0.5.0

v0.4.9

01 Jul 14:33

Choose a tag to compare

What's Changed

  • Added Client.get_transactions and Wallet.transactions methods.

Full Changelog: v0.4.8...v0.4.9