Skip to content

Releases: everx-labs/ever-sdk

Version: 1.16.1

17 Jun 12:56
@d3p d3p
b4db499
Compare
Choose a tag to compare

[1.16.1] – 2021-06-16

New

  • timeout option to query_transaction_tree – timeout used to limit waiting time for the next
    message and transaction in the transaction tree.

Improved

  • Improved error messages regarding ABI and JSON interface. SDK now shows additional tips for the user in cases of
    errors.

Fixed

  • Warnings in Rust 1.52+. Little fixes in the documentation.
  • total_output field in fees was always 0.
  • query_transaction_tree didn't wait for messages.

Version: 1.16.0

25 May 20:56
@d3p d3p
cc80fea
Compare
Choose a tag to compare

[1.16.0] – 2021-05-25

New

  • query_transaction_tree function that returns messages and transactions tree produced
    by the specified message was added to query module. See the documentation

Fixed

  • AbiData.key type changed to u32.
  • attempt to use orderBy instead of order in query_collection will raise error.

Version: 1.15.0

19 May 09:10
@d3p d3p
1a12fda
Compare
Choose a tag to compare

[1.15.0] – 2021-05-18

New

  • Sync latency detection increases connection reliability. Library will change the current endpoint
    when it detects data sync latency on it.

  • Configuration parameters: latency_detection_interval,
    max_latency. See client documentation for details.

  • Debot module:

    • signing messages with signing box handles returned from debots.
    • return any sdk errors to debot in case of external calls.
    • defining signing box handle used to sign message in approve callback.

Version: 1.14.1

30 Apr 07:51
@d3p d3p
2e48dbc
Compare
Choose a tag to compare

[1.14.1] – 2021-04-29

Fixed

  • Fixed building under Rust versions older than 1.51.

Version: 1.14.0

28 Apr 13:36
@d3p d3p
bed502d
Compare
Choose a tag to compare

[1.14.0] – 2021-04-28

New

  • Debot module:
    • implementation of Network DeBot interface in DEngine.
    • implementation of signHash function in Sdk interface.

Fixed

  • Debot module:
    • fixed bug in Json interface with supporting nested structures and arrays of structures.
    • fixed bug in Json interface with keys containing hyphens.

Version: 1.13.0

23 Apr 05:51
@d3p d3p
080447e
Compare
Choose a tag to compare

[1.13.0] – 2021-04-23

New

  • net.query_counterparties - allows to query and paginate through the list of accounts that the specified account
    has interacted with, sorted by the time of the last internal message between accounts.
    Subscription to counterparties collection is available via net.subscribe_collection function.

  • Blockchain interaction reliability improvement (broadcast): library sends external inbound messages simultaneously
    to the N randomly chosen endpoints. If all N endpoints failed to responce then library repeats
    sending to another random N endpoints (except the failed one).
    If all the available endpoints fail to respond then library throws error.
    The N parameter is taken from config.network.sending_endpoint_count (default is 2).

  • Blockchain interaction reliability improvement (bad delivery list): library tracks endpoints
    with bad message delivery (expired messages). These endpoints have lower priority when library chooses endpoints
    to send message.

  • Debot module:

    • Implementation of Json DeBot interface in DEngine.

Fixed

  • BuilderOp::Integer.size type has changed from u8 to u32.
  • Debot Module:
    • Sdk interface function getAccountsDataByHash didn't find accounts by code_hash with leading zero.

Version: 1.12.0

02 Apr 08:35
@d3p d3p
d65ce36
Compare
Choose a tag to compare

[1.12.0] – 2021-04-01

New

  • utils.compress_zstd compresses data using Facebook's Zstandard algorithm.
  • utils.decompress_zstd decompresses data using Facebook's Zstandard algorithm.
  • Debot module:
    • init function that creates an instance of DeBot and returns DeBot metadata.
    • Dengine fetches metadata form DeBot by calling 2 mandatory functions: getRequiredInterfaces and getDebotInfo. This data is returned by fetch and init functions.
    • approve DeBot Browser callback which is called by DEngine to request permission for DeBot activities.

Changed

  • Debot Module:
    • [breaking] fetch function does't create an instance of debot. It returns DeBot metadata (DebotInfo).
    • [breaking] start function does't create an instance of debot. It accepts DeBot handle created in init function.

Version: 1.11.1

18 Mar 19:12
@d3p d3p
f042a14
Compare
Choose a tag to compare

[1.11.1] – 2021-03-15

New

  • Giver address in tests is calculated from secret key. Default values are provided for TON OS SE giver

Version: 1.11.0

15 Mar 08:23
@d3p d3p
b6449a8
Compare
Choose a tag to compare

[1.11.0] – 2021-03-05

New

  • utils.calc_storage_fee function to calculate account storage fee over a some time period.
  • Debot Module:
    • Added unstable functions to Sdk interface: getAccountsDataByHash

Version: 1.10.0

06 Mar 15:36
@d3p d3p
85c6a8f
Compare
Choose a tag to compare

[1.10.0] – 2021-03-04

New

  • Add optional field src_address to ParamsOfEncodeInternalMessage.
  • Field abi in ParamsOfEncodeInternalMessage is optional and can be None if call_set and deploy_set are None.
  • boc.encode_boc function provides ability to build and serialize any custom tree of cells.
    Application can use several base Builder serialization primitives like integers, bitstrings
    and nested cells.
  • boc.get_blockchain_config function can extract blockchain configuration from key block and also
    from zerostate.
  • tvm module functions download current blockchain configuration if net is initialized with
    DApp Server endpoints. Otherwise default configuration is used.
  • Debot Module:
    • Support for debot invoking in Debot Engine. send browser callback is used not only for interface calls but to invoke debots.
    • start and fetch functions returns debot ABI.
    • Added new built-in interface Hex which implements hexadecimal encoding and decoding.
    • Added unstable functions to Sdk interface: naclBox, naclBoxOpen, naclKeypairFromSecret, getAccountCodeHash.

Changed

  • Both call_set and deploy_set in ParamsOfEncodeInternalMessage can be omitted. In this case encode_internal_message generates internal message with empty body.
  • Debot Module:
    • send function accepts one argument - serialized internal message as string encoded into base64.

Documentation

Fixed