Skip to content

Latest commit

 

History

History
302 lines (210 loc) · 12 KB

CHANGELOG.md

File metadata and controls

302 lines (210 loc) · 12 KB

Version 1.44.3.0

Version 1.44.1.0

Version 1.42.1.0

Version 1.41.0.0

Version 1.40.0.0

Version 1.39.0.0

Version 1.38.1.0

Version 1.37.2.0

Version 1.37.0.0

Version 1.36.1.0

Version 1.36.0.0

Version 1.35.0.0

Version 1.34.2.0

Breaking changes

  • client.config changed from instance attribute to method, now should call client.config() or await client.config()
  • AppDebotBrowser.perform_invoke_debot method signature changed. Now it accepts config: ClientConfig instead of client: TonClient

Version 1.33.1.0

Version 1.32.0.1

Version 1.32.0.0

Version 1.31.0.0

Version 1.30.0.0

Version 1.27.0.1

  • Internal refactor: methods' return types suggestion are correct and clear now;

Version 1.27.0.0

Version 1.25.0.0

Version 1.24.0.0

Version 1.23.0.0

Version 1.22.0.0

Version 1.21.5.0

Version 1.21.2.0

Version 1.20.1.0

Version 1.20.0.0

Version 1.19.0.0

  • Binaries updated to 1.19.0;
  • Changes 1.19.0 (https://github.com/tonlabs/TON-SDK/blob/master/CHANGELOG.md#1190--2021-07-07);
  • TonException object improved:
    • Now exception object has client_error: ClientError attribute. All ClientError attributes are available, e.g. e.client_error.code;
    • module attribute added to error client_error attribute. You can check error module, e.g. e.client_error.module == ClientErrorCode. All error modules names can be found in tonclient.types.*ErrorCode.

Version 1.18.0.0

  • Binaries updated to 1.18.0;

  • Changes 1.18.0 (https://github.com/tonlabs/TON-SDK/blob/master/CHANGELOG.md#1180--2021-06-26);

  • Note: Possible breaking

    # tonclient/client.py
    
    # DEVNET_BASE_URL = 'net.ton.dev' changed to
    DEVNET_BASE_URLS = [
        'https://net1.ton.dev/',
        'https://net5.ton.dev/'
    ]
    
    # MAINNET_BASE_URL = 'main.ton.dev' changed to
    MAINNET_BASE_URLS = [
        'https://main2.ton.dev/',
        'https://main3.ton.dev/',
        'https://main4.ton.dev/'
    ]

    If you are using DEVNET_BASE_URL or MAINNET_BASE_URL somewhere, please set/update your client NetworkConfig.endpoints with new set of urls.

Version 1.17.0.1

  • Minimum Python version increased to 3.7;
  • AppObject, AppSigningBox, AppEncryptionBox, AppDebotBrowser interfaces implementation. Can be found in tonclient.objects. Now you can create child class from any of AppObject classes, implement required methods, create instance of resulting class and pass it's dispatcher method instead of raw callback for SDK methods which require AppObject as callback.
    More info and usage examples can be found in test/[test_crypto|test_async|test_debot]

Version 1.17.0.0

Version 1.16.0.0

Version 1.14.1.0

Version 1.13.0.0

Version 1.12.0.0

Version 1.11.0.0

Version 1.8.0.0

Version 1.5.2.0

  • Binaries updated to 1.5.2;
  • net module functions wait for net.resume call instead of returning error if called while the module is suspended.

Version 1.5.1.0

Version 1.5.0.0

  • reconnect_timeout parameter in NetworkConfig;
  • endpoints parameter in NetworkConfig. It contains the list of available server addresses to connect. SDK will use one them with the least connect time. server_address parameter is still supported but endpoints is prevailing;
  • net.fetch_endpoints function to receive available endpoints from the server;
  • net.set_endpoints function to set endpoints list for using on next reconnect;
  • ErrorCode type for each module. See types.[MODULE]ErrorCode.

Version 1.4.0.1

  • Core improvement: using concurrent.future along with asyncio.future for response resolving

Version 1.4.0.0

Fully reworked binding. Is breaking to previous versions.

  • Response resolvers reimplemented (no while loops with responses);
  • Generators removed, callbacks added. Each callback receives response_data, response_type, loop arguments. loop argument is not none only when working with asyncio;
  • Request params and responses are objects of core types now. See https://github.com/tonlabs/TON-SDK/tree/master/docs and tonclient.types for more info;
  • Methods' docstrings updated;
  • Tests updated.