Skip to content

Releases: iExecBlockchainComputing/iexec-sdk

[8.13.0] 2025-01-21

21 Jan 13:07
a7fd779
Compare
Choose a tag to compare

Added

  • added key isUserRejection in Web3ProviderError set to true when the error is detected as a user rejection
  • task.fetchOffchainInfo(taskid) to get off-chain status information about the task from the workerpool
  • task.fetchLogs(taskid) to fetch app logs from the workers

Changed

  • iexec_result_storage_proxy default value is no more set in request params
  • removed deprecated request param iexec_developer_logger
  • change information exposed by iexec task debug for better readability

Removed

  • IExec enterprise flavour is removed, although enterprise flavour support was dropped for a while the "enterprise" specific methods and keys were still present in iexec SDK. These are now removed, although the changes impact some parts of the API, these changes should not impact developers using the iexec package.
    • [BREAKING] IExecModule
      • removed optional constructor param flavour
    • [BREAKING] IExecConfig
      • removed resolveStandardContractsClient and resolveEnterpriseContractsClient methods
      • removed optional constructor param flavour and enterpriseSwapConf
    • [BREAKING] IExecWalletModule
      • removed wrapEnterpriseRLC and unwrapEnterpriseRLC methods
    • [BREAKING] IExecContractsClient
      • removed optional constructor param flavour
      • removed flavour key
    • [BREAKING] CLI chain.json configuration file
      • removed flavour key
      • removed [chainName].enterprise key
    • [BREAKING] CLI iexec wallet command
      • removed swap-RLC-for-eRLC and swap-eRLC-for-RLC

[8.12.0] 2024-10-22

21 Jan 13:05
93b4af3
Compare
Choose a tag to compare

Added

  • added account methods for staked RLC allowance management
    • allowance
    • approve
    • revoke
  • added support for iExec voucher
    • show
    • authorize
    • revoke
  • added support for using a voucher to pay for a deal

[8.11.0] 2024-10-03

07 Oct 15:10
326c4ec
Compare
Choose a tag to compare

Changed

  • Upgrade PoCo to v5.5.0

[8.10.1] 2024-08-26

26 Aug 14:05
2c6fb3e
Compare
Choose a tag to compare

Changed

  • Typescript fixes
  • fix an issue occurring when network 134 is already registered on ethers
  • doc fixes

[8.10.0] 2024-07-24

25 Jul 12:30
9ad3451
Compare
Choose a tag to compare

Added

  • added support for ethers AbstractProvider, AbstractSigner and BrowserProvider to instantiate modules

Changed

  • reduced default polling interval for faster tx confirmation
  • more permissive url validation for iexec_input_files

Removed

  • removed ensRegistryAddress option (use ethers Network.register() to configure custom networks supporting ENS)
  • CLI removed iexec registry commands

[8.9.1] 2024-06-19

25 Jul 12:29
c65cd5d
Compare
Choose a tag to compare

Changed

  • fixed exposed version

[8.9.0] 2024-06-19

25 Jul 12:29
c2fdff6
Compare
Choose a tag to compare

Added

  • a generic ApiCallError is thrown when a network error occurs while connecting to a service or when the service returns a HTTP 5xx status code, each service has a dedicated inherited error class
    • SmsCallError for SMS call errors
    • ResultProxyCallError for Result Proxy call errors
    • MarketCallError for Market API call errors
    • IpfsGatewayCallError for IPFS gateway call errors
    • WorkerpoolCallError for workerpool API call errors
  • Error cause is now set in errors everywhere originalError was used

Changed

  • [DEPRECATED] originalError is deprecated in favor of Error cause

[8.8.0] 2024-05-28

25 Jul 12:28
530cf95
Compare
Choose a tag to compare

Changed

  • Typescript fixes
  • accept CryptoKey in utils.decryptResult(encrypted, key)

[8.7.0] 2024-04-22

25 Jul 12:27
93230c7
Compare
Choose a tag to compare

Added

  • account.approve(spenderAddress, amount) to approve a spender to spend staked RLC from the user account
  • account.checkAllowance(ownerAddress, spenderAddress) to check the amount of allowance approved for the specified spender to use the account of the owner
  • account.revokeApproval(spenderAddress) to revoke the approval for the spender to use the account

Changed

  • fix --gas-price option not being enforced on every command
  • provider options for ethers provider are loosely type-checked to allow better control
  • Typescript fixes
  • move tests to the local fork of bellecour
  • cache secrets' existence when confirmed by the SMS

[8.6.1] 2024-03-11

25 Jul 12:27
eba03d3
Compare
Choose a tag to compare

Changed

  • fix bundling issue occurring in webpack due to conditional import of node builtin in node context