Skip to content

Releases: everx-labs/ever-sdk

Version 1.34.1

27 May 19:01
@d3p d3p
2986fae
Compare
Choose a tag to compare

[1.34.1] – 2022-05-26

New

  • supported removing Copy interface from UInt256
  • supported changed interface of ton_types::Cell

Version: 1.34.0

19 May 08:41
@d3p d3p
35c7ddd
Compare
Choose a tag to compare

[1.34.0] – 2022-05-18

New

  • client.config function that returns the current client config

  • run_executor().fees is extended with these fields:

    • ext_in_msg_fee - fee for processing external inbound message
    • total_fwd_fees - total fees of action phase
    • account_fees - total fees the account pays for the transaction
  • main and dev endpoints aliases for Evernode Cloud Mainnet and Devnet endpoints

Improved

  • Added documentation for TransactionFees type (run_executor().fees).
  • Documentation now includes enum types descriptions.
    To achieve it we updated binding-gen: enum of types now produces its own type for each enum variant.

Version: 1.33.1

10 May 19:49
@d3p d3p
60033bb
Compare
Choose a tag to compare

[1.33.1] – 2022-05-10

Fixed

  • Websocket errors weren't treated as a network errors.
    This is why all the processing functions that worked via wss protocol failed on these errors without retries. Now retries are performed.
  • SDK tried to rebalance even if only a single endpoint was specified. Now in case of a single endpoint, no rebalancing occurs.

Version: 1.33.0

04 May 07:21
@d3p d3p
fb3dd71
Compare
Choose a tag to compare

[1.33.0] – 2022-05-02

New

  • allow_partial flag in all abi.decode_* functions. This flag controls decoder behaviour whether return error or not in case of incomplete BOC decoding
  • REMP supported. ProcessingEvent enum is extended with REMP statuses (enum of events posted into processing.wait_for_transaction function callback )
  • UNSTABLE. first_remp_status_timeout and next_remp_status_timeout parameters in network config

Version: 1.32.0

31 Mar 06:45
@d3p d3p
c731155
Compare
Choose a tag to compare

[1.32.0] – 2022-03-22

New

  • network.queries_protocol config parameter allows selecting protocol the SDK uses to communicaite with GraphQL endpoint:
    • HTTP – SDK performs single HTTP-request for each request.
    • WS – SDK uses single WebSocket connection to send all requests. This protocol is a preferable
      way when the application sends many GraphQL requests in parallel.

Fixed

  • Debot module:
    • If DEngine received a non-zero exit_code while emulating a transaction while sending a message, DEngine will call onErrorId callback of the message.

Version: 1.31.0

18 Mar 15:52
@d3p d3p
7b70f3d
Compare
Choose a tag to compare

[1.31.0] – 2022-03-09

New

crypto module:

  • Cryptobox introduced: root crypto object that stores encrypted secret and acts as a factory for all crypto primitives used in SDK.
    Crypto box provides signing and encryption boxes.

    Functions:
    create_crypto_box - initializes cryptobox with secret
    remove_crypto_box - removes cryptobox and overwrites all secrets with zeroes
    get_crypto_box_seed_phrase - returns decrypted seed phrase
    get_crypto_box_info - returns encrypted cryptobox secret for next cryptobox initializations
    get_signing_box_from_crypto_box - derives signing box from secret
    get_encryption_box_from_crypto_box - derives encryption box from secret
    clear_crypto_box_secret_cache - forces secret cache (signing and encryption) clean up (overwrites all secrets with zeroes).

  • Support of INITCODEHASH instruction in tvm.

  • X-Evernode-Expected-Account-Boc-Version=2 http header is added to graphql requests. value=2 means that SDK requests the latest account boc version with initCodeHash support from API. This was done because new boc version is not compatible with old transaction executor, i.e. with previous SDK versions. New transaction executor is compatible with new and old boc formats. New SDK asks for new boc format if it exists, if it does not - old boc version is returned. Previous version of SDK fetches only old version without initCodeHash support.

Attention! Migrate your applications to the new SDK version ASAP because in some period of time we will stop supporting old boc version in API and default value of X-Evernode-Expected-Account-Boc-Version on backend side will become 2, missing value will cause an error. Now default value on API side is Null which means that API returns the old version. This is done to avoid breaking changes in existing applications and give time to migrate to the new SDK.

Fixed

  • Documentation generator for app object interface fills documentation from
    ParamsOfXXXAppObject enum.
  • Documentation generator for function with obj parameter add this parameter
    into parameters section with link to appropriate AppObject interface.

Version: 1.30.0

05 Feb 15:10
@d3p d3p
0aec1e3
Compare
Choose a tag to compare

[1.30.0] – 2022-02-04

New

  • Added boc.encode_external_in_message function to encode message BOC based on
    a low level message parts such as a body, state init etc.
  • Added net.subscribe function to start a low level GraphQL subscription.
  • Added support for new MYCODE TVM command in tvm.run_tvm and tvm.run_get functions.

Version: 1.29.0

04 Feb 09:10
@d3p d3p
27cf2b0
Compare
Choose a tag to compare

[1.29.0] – 2022-02-03

New

  • Added abi.encode_boc function to encode parameters with values to BOC, using ABI types.
  • Added support of address type in boc.encode_boc.
  • All fetch requests are now called with timeouts to prevent freezing in case of infinite answer.
  • Support of MYCODE instruction in TVM

Version: 1.28.1

27 Jan 14:18
@d3p d3p
986d425
Compare
Choose a tag to compare

[1.28.1] – 2022-01-25

Fixed

  • Support breaking changes in ton-labs-block-json v0.7.1
  • Updated endpoints for main.ton.dev alias.

Version: 1.28.0

25 Dec 21:21
@d3p d3p
3c299a0
Compare
Choose a tag to compare

[1.28.0] – 2021-12-24

New

  • DevNet endpoints now changed to Ever OS domain: eri01.net.everos.dev, rbx01.net.everos.dev, gra01.net.everos.dev
  • Debot module:
    • Аdded float numbers support for Json interface
  • Added guide for custom giver usage.

Fixed

  • Debot module: fixed a bug in Query.query function called with an empty variables field.