Skip to content

Releases: everx-labs/ever-sdk

Version: 1.9.0

26 Feb 05:32
@d3p d3p
7873392
Compare
Choose a tag to compare

1.9.0 Feb 19, 2021

New

  • tuple_list_as_array parameter in tvm.run_get function which controls lists representation.
    Default is stack-like based on nested tuples. If set to true then returned lists are encoded as plain arrays. Use this option if you receive this error on Web: "Runtime error. Unreachable code should not be executed..."
    This reduces stack size requirements for long lists.
  • function_name field of CallSet structure can be the name or id (as string in hex starting with 0x) of the called function.
  • Fields config_servers, query_url, account_address, gas_used added into specific errors' ClientError.data object.

Fixed

  • Binaries download links are now under https protocol
  • If you receive this error on Web: "Runtime error. Unreachable code should not be executed..." in run_get, use the new parameter tuple_list_as_array = true. See the documentation. This may happen, for example, when elector contract contains too many participants

Version: 1.8.0

12 Feb 11:07
@d3p d3p
26a2cc4
Compare
Choose a tag to compare

1.8.0 Feb 11, 2021

New

  • Debot Module:
    • Added new built-in interface Msg which allows to send external message to blockchain and sign it with supplied keypair.

Fixed

  • crypto.hdkey_public_from_xprv used compressed 33-byte form instead of normal 32-byte.

Version: 1.7.0

09 Feb 19:19
@d3p d3p
ef19c55
Compare
Choose a tag to compare

1.7.0 Feb 9, 2021

New

  • BOC cache management functions were introduced:
    • boc.cache_set,
    • boc.cache_get
    • boc.cache_unpin
  • Now functions that take boc as a parameter can also take a reference to boc cash instead so that it deсreases the number of boc serialization
    and deserializations which drastically improves performance of run_tvm and run_executor expecially in case of numerous calls on the same data.
  • boc_cache parameter in tvm.run_tvm and tvm.run_executor functions to save resulting messages and account BOCs into cache.
  • return_updated_account flag parameter introduced in tvm.run_tvm and tvm.run_executor functions to return updated account state. Important: by default this flag is false and account data is not returned.
  • abi.encode_internal_message function to encode an internal ABI-compatible message.
  • Debot Module:
    • Support for get-methods and external calls in debots.
      Debots can send external inbound messages to destination contracts (signed - for external calls and unsigned - for get-methods) using native language syntax without actions.
    • Built-in debot interfaces (interfaces implemented by DEngine).
      Added two built-in interfaces: base64 and Sdk.
    • Added DebotInterfaceExecutor to automatically route messages to destination interfaces.
    • Debot's fetch function is optional now. New debots can implement only start function.

Version: 1.6.3

05 Feb 07:31
@d3p d3p
4d34e4d
Compare
Choose a tag to compare

1.6.3 Feb 4, 2021

Fixed

  • Expired message wasn't retried if local execution succeeded.

Version: 1.6.2

03 Feb 13:52
@d3p d3p
e870ada
Compare
Choose a tag to compare

1.6.2 Feb 3, 2021

Added

  • ResponseHandler type description into modules.md.

Fixed

  • net.batch_query parameters serialization did't match to docs.
  • Module description in docs generator contains null instead of summary.
  • Function result section header hadn't the line separator before.

Version 1.6.1

01 Feb 20:39
@d3p d3p
5efdfa3
Compare
Choose a tag to compare

Version: 1.6.0

29 Jan 14:10
@d3p d3p
71d5cbc
Compare
Choose a tag to compare

1.6.0 Jan 29, 2021

New

  • nacl_sign_detached_verify function to verify detached signature.
  • aggregate_collection function as a wrapper for GraphQL aggregation queries.
  • batch_query function performs multiple queries per single fetch.
  • Active endpoint invalidation in case of network error occuring.
  • network.network_retries_count config parameter is deprecated. network.max_reconnect_timeout is introduced that allows to specify maximum network resolving timeout. Default value is 2 mins.
  • initial_pubkey field in DeploySet to specify public key instead of one from TVC file or provided by signer.
  • Support for debot interfaces:
    • send Browser Callback to send messages with interface calls to Browser.
    • new variant ParamsOfAppDebotBrowser::Send.
    • send API function to send messages from Browser to Debot.
    • run_output.rs - internal structure RunOutput to filter messages generated by debot to 4 categories: interface calls, external calls, get-method calls and invoke calls.

Fixed

  • Device time synchronization is checked only in send_message. Data querying does not require proper time now

Version: 1.5.2

30 Dec 13:19
@d3p d3p
44d7c39
Compare
Choose a tag to compare

1.5.2 Dec 30, 2020

New

  • *.d.ts type declarations in lib-react-native, lib-node, lib-web.

Fixed

  • net module functions wait for net.resume call instead of returning error if called while the module is suspended

Version: 1.5.1

29 Dec 07:31
@d3p d3p
e16d682
Compare
Choose a tag to compare

1.5.1 Dec 28, 2020

Fixed

  • updated the dependence on ton-labs-abi

Version: 1.5.0

25 Dec 06:32
@g9d g9d
9f1d18e
Compare
Choose a tag to compare

1.5.0 Dec 25, 2020

New

  • 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 receieve available endpoints from server.
  • net.set_endpoints function to set endpoints list for using on next reconnect.
  • ErrorCode type in each module spec in api.json.

Fixed

  • send GQL_TERMINATE_CONNECTION and close websocket on leaving ws loop.