Skip to content

Releases: iExecBlockchainComputing/iexec-sdk

[7.0.0] 2021-12-17

21 Dec 13:13

Choose a tag to compare

[7.0.0] 2021-12-17

Added

  • ENS resolution on iExec sidechains and custom networks
  • ENS methods in CLI & lib:
    • iexec ens resolve <name> and iexec.ens.resolveName(name)
    • iexec ens lookup <address> and iexec.ens.lookupAddress(addres)
    • iexec ens get-owner <name> and iexec.ens.getOwner(name)
    • iexec ens register <label>
    • iexec.ens.claimName(label, domain)
    • iexec.ens.configureResolution(name, address)

Changed

  • fix iexec registry validate app to support new mrenclave format

[6.0.1] 2021-12-8

09 Dec 09:25

Choose a tag to compare

[6.0.1] 2021-12-8

Changed

  • update default ipfs gateway

[6.0.0] 2021-07-19

09 Dec 09:25

Choose a tag to compare

[6.0.0] 2021-07-19

Added

  • client-side (in browser) dataset encryption is now possible.
  • confirms option allows to set the number of block to wait for transaction confirmation.
  • iexec app init --tee init the TEE app template

Changed

  • [BREAKING] iexec init set default chain viviani (iExec sidecahin testnet) in chain.json, previously was goerli (using --chain option still overrides the chain.json configuration).
  • [BREAKING] SCONE file system encryption is dropped in favor of AES-256-CBC for dataset encryption. Existing datasets will stop working, these datasets original files MUST be re-encrypted using iexec dataset encrypt and republished.
  • [BREAKING] changed generated dataset keys and encrypted datasets files naming pattern.
  • [BREAKING] a dataset is now a single file. in order to pass a tree structure, the dataset owner must package all the files in a single archive file, applications that previously used multiple files from a single dataset must handle unwrapping files from an archive file.
  • [BREAKING] app mrenclave format changed from string to object previously deployed TEE apps must be rebuilt and redeployed with v6 workflow
  • [BREAKING] iexec.task.obsTask() now returns Promise<Observable> previously it returned Observabe
  • [BREAKING] iexec.deal.obsDeal() now returns Promise<Observable> previously it returned Observabe
  • [DEPRECATED] iexec wallet getETH is now an alias to iexec wallet get-ether and will be removed in a next version
  • [DEPRECATED] iexec wallet getRLC is now an alias to iexec wallet get-RLC and will be removed in a next version
  • [DEPRECATED] iexec wallet sendETH is now an alias to iexec wallet send-ether and will be removed in a next version
  • [DEPRECATED] iexec wallet sendRLC will be removed in a next version, use iexec wallet send-RLC BEWARE default unit is RLC!
  • chainId is no longer required to call IExec constructor, the chainId is lazily fetched from the provider
  • fix iexec wallet send-ether return sent amount in wei
  • fix fetchWorkerpoolOrderbook() to include requester restricted workerpoolorders (fix app run using requester restricted workerpoolorder)
  • fix iexec app run --gas-price option
  • removed mrenclave from app default template
  • iexec appr run --watch and iexec deal show --watch added tasks status details

Removed

  • [BREAKING] --algorithm option is removed from iexec dataset encrypt
  • [BREAKING] removed iexec.network.id and iexec.network.isSidechain, use iexec.network.getNetwork() => Promise<{chainId: String, isSidechain: Boolean}>
  • [BREAKING] tee post-compute configuration responsibility has been transferred to the SMS and is no longer supported by requestorder. any custom iexec_tee_post_compute_image and iexec_tee_post_compute_fingerprint will be silently removed from requestorder.params.
  • [BREAKING] drop previously deprecated iexec wallet show --raw returned json key balance.ETH, use balance.ether instead
  • [BREAKING] drop previously deprecated bridge.bridgedChainId in chain.json use bridge.bridgedChainName instead
  • [BREAKING] drop previously deprecated iexec.orderbook.fetchWorkerpoolOrderbook(category, options) use category as an option of iexec.orderbook.fetchWorkerpoolOrderbook(options)
  • [BREAKING] drop previously deprecated iexec.orderbook.fetchRequestOrderbook(category, options) use category as an option of iexec.orderbook.fetchRequestOrderbook(options)
  • [BREAKING] drop previously deprecated iexec.orderbook.fetchAppOrderbook() returned value appOrders use orders
  • [BREAKING] drop previously deprecated iexec.orderbook.fetchDatasetOrderbook() returned value datasetOrders use orders
  • [BREAKING] drop previously deprecated iexec.orderbook.fetchWorkerpoolOrderbook() returned value workerpoolOrders use orders
  • [BREAKING] drop previously deprecated iexec.orderbook.fetchRequestOrderbook() returned value requestOrders use orders
  • [BREAKING] drop previously deprecated task.waitForTaskStatusChange(taskid, initialStatus) use task.obsTask(taskid)

[5.3.1] 2021-07-12

12 Jul 12:59

Choose a tag to compare

[5.3.1] 2021-07-12

changed

  • set ethers version to ~5.3.1 for pre berlin fork compatibility (iExec sidechains)

[5.3.0] 2021-05-05

12 Jul 12:59

Choose a tag to compare

[5.3.0] 2021-05-05

changed

  • fixed iexec registry validate app

Removed

  • [BREAKING] Drop support for Node 10

[5.2.0] 2021-01-22

12 Jul 12:58

Choose a tag to compare

[5.2.0] 2021-01-22

Added

  • iExec enterprise flavour support
  • iexec wallet swap-eRLC-for-RLC and wallet.wrapEnterpriseRLC() enables to wrap RLC to eRLC (requires an authorized wallet)
  • iexec wallet swap-eRLC-for-RLC and wallet.unwrapEnterpriseRLC() enables to unwrap eRLC to RLC (requires an authorized wallet)
  • enterprise value added to --chain [chainName] option enable connecting iExec enterprise
  • optional named argument flavour added to IExec constructor enables connecting iExec enterprise by passing flavour: 'enterprise'

Changed

  • id is no longer requred in chain.json
  • passing chainId to --chain [chainName] will support only the following values: 1 for mainnet, 5 for goerli, 134 for bellecour, 133 for viviani
  • CLI native chain key no longer set default gasPrice to 0, use key "useGas": false to force default gasPrice to 0
  • lib isNative option no longer set default gasPrice to 0, use option useGas: false to force default gasPrice to 0
  • migrate EIP712 hash and sign to ethers implementation
  • fixed iexec deal claim fail due to missing signer
  • [DEPRECATED] bridge.bridgedChainId in chain.json is deprecated and must me replaced by bridge.bridgedChainName

[5.1.0] 2020-11-09

12 Jul 12:57

Choose a tag to compare

[5.1.0] 2020-11-09

Added

  • iexec orderbook more filter options
  • iexec orderbook pagination
  • iexec app request-execution <appAddress> publish a requestorder to run an app at limit price

Changed

  • migrated to new market API
  • fixed amount validation error
  • fixed multiaddr format machine to human
  • fixed requester stake too low error message for matching orders
  • update Web3ProviderError messages
  • iexec orderbook workerpool [address] --category <catid> is now optionnal
  • iexec orderbook requester [address] --category <catid> is now optionnal
  • [DEPRECATED] iexec.orderbook.fetchWorkerpoolOrderbook(category, options) is deprecated, use category as an option of iexec.orderbook.fetchWorkerpoolOrderbook(options)
  • [DEPRECATED] iexec.orderbook.fetchRequestOrderbook(category, options) is deprecated, use category as an option of iexec.orderbook.fetchRequestOrderbook(options)
  • [DEPRECATED] iexec.orderbook.fetchAppOrderbook() returned value appOrders is deprecated, use orders
  • [DEPRECATED] iexec.orderbook.fetchDatasetOrderbook() returned value datasetOrders is deprecated, use orders
  • [DEPRECATED] iexec.orderbook.fetchWorkerpoolOrderbook() returned value workerpoolOrders is deprecated, use orders
  • [DEPRECATED] iexec.orderbook.fetchRequestOrderbook() returned value requestOrders is deprecated, use orders

Removed

  • undocumented option beforeTimestamp removed from iexec.deal.fetchRequesterDeals()
  • undocumented output value openVolume removed from iexec.orderbook.fetchWorkerpoolOrderbook() and iexec orderbook workerpool

[5.0.1] 2020-08-26

26 Aug 11:57

Choose a tag to compare

[5.0.1] 2020-08-26

Added

  • support for unit in amounts
    • ether units: ether (eth), finney, szabo, gwei, mwei, kwei, wei
    • RLC units: RLC, nRLC

Changed

  • fixed result encryption v5 workflow
  • messages amount use main units (RLC and ether)
  • [DEPRECATED] iexec wallet show --raw returned json key balance.ETH is deprecated, use balance.ether instead

[5.0.0] 2020-07-22

23 Jul 08:52

Choose a tag to compare

[5.0.0] 2020-07-22

Added

  • ENS resolution
  • support for INFURA, Etherscan and Alchemy providers configuration
  • simplified order management for deployed resources in cli
    • iexec app/dataset/workerpool publish
    • iexec app/dataset/workerpool unpublish
  • remote storage management
    • support for dropbox storage
    • iexec storage init [provider] initialize the remote storage
    • iexec storage check [provider] check if the remote storage is initialized
    • iexec.storage.defaultStorageLogin() get an authorization token for default remote storage
    • iexec.storage.pushStorageToken() push a storage token to the SMS
  • dataset secret management in js lib
    • iexec.dataset.pushDatasetSecret(datasetAddress, secret) push the dataset key to the SMS
    • iexec.dataset.checkDatasetSecretExists(datasetAddress) check if the dataset key exists in the SMS
  • result encryption key management in js lib
    • iexec.result.pushResultEncryptionKey(rsaPubKey) push the beneficary result encryption key to the SMS
    • iexec.result.updateResultEncryptionKey(rsaPubKey) update the beneficary result encryption key in the SMS
    • iexec.result.checkResultEncryptionKeyExists(address) check if the beneficary result encryption key exists in the SMS
    • utils.decryptResult(encryptedResultFile, beneficiaryKey) decrypt encrypted result with RSA beneficiary key
  • requestorder check to prevent runtime errors
    • iexec order sign, iexec order publish, iexec order fill and iexec app run perform advanced check on request (use option --skip-request-check to disable)
    • iexec.order.signRequestorder(), iexec.order.publishRequestorder() and iexec.order.matchOrder() perform advanced check on request (use option { checkRequest: false } to disable)
  • --decrypt option added iexec task show <taskid> --download --decrypt allow to decrypt downloaded result
  • --watch option added to iexec deal show <dealid> allow to watch execution status changes
  • default values for order.createApporder(), order.createDatasetorder(), order.createWorkerpoolorder() and order.createRequestorder().
  • support for units in parseEth() & parseRLC() methods

Changed

  • [BREAKING] iexec app show <index> & app.showUserApp(index) first index is 0 previously was 1
  • [BREAKING] iexec dataset show <index> & dataset.showUserDataset(index) first index is 0 previously was 1
  • [BREAKING] iexec workerpool show <index> & dataset.showUserWorkerpool(index) first index is 0 previously was 1
  • [BREAKING] iexec dataset check-secret returned json key is now isSecretSet previously was isKnownAddress
  • [BREAKING] iexec task show & task.show(taskid) returned task.results is an object previously was url or hexString
  • [BREAKING] iexec app run option --dataset <address|"deployed"> using last deployed dataset is no more implicit
  • [BREAKING] iexec app run option --workerpool <address|"deployed"> using last deployed workerpool is no more implicit
  • [BREAKING] bridge.bridgedChainId is now used to override bridged chain chainId in iexec.json previously bridge.bridgedNetworkId was used
  • [BREAKING] iexec result generate-keys is deprecated, use iexec result generate-encryption-keypair
  • [BREAKING] iexec result push-secret is deprecated, use iexec result push-encryption-key
  • [BREAKING] iexec result check-secret is deprecated, use iexec result check-encryption-key returned json key is now isEncryptionKeySet previously was isKnownAddress
  • [BREAKING] standardized Error messages format, capitalized first letter.
  • access to the blockchain through ethers default provider
  • standardized CLI messages format
  • fixed mutation in order sign methods
  • fixed iexec wallet sweep & wallet.sweep()
  • fixed method name iexec.order.publishWorkerpoolorder()
  • fixed method name iexec.order.unpublishWorkerpoolorder()

Removed

  • [BREAKING] aes-256-cbc dataset encryption is removed, only scone encryption is supported (use iexec dataset encrypt --algorithm scone)

[4.0.4] 2020-07-21

22 Jul 07:31

Choose a tag to compare

[4.0.4] 2020-07-21

Changed

  • gateway changed to support post v5