Skip to content

Releases: iExecBlockchainComputing/iexec-sdk

[8.1.1] 2023-05-22

31 Jul 13:30
5606487
Compare
Choose a tag to compare

Changed

  • Typescript fixes

[8.1.0] 2023-05-17

31 Jul 13:29
576938f
Compare
Choose a tag to compare

Changed

  • Typescript fixes
  • app orderbook accept "any" for the app address to fetch orderbook without filtering on app
  • dataset orderbook accept "any" for the dataset address to fetch orderbook without filtering on dataset

[8.0.0] 2023-04-07

18 Apr 13:00
f10c805
Compare
Choose a tag to compare

Added

  • defaultTeeFramework option for IExecConfig and chain.json for choosing the default TEE framework to use
  • iexec app init option --tee-framework <'scone'|'gramine'> to specify the TEE framework to use for the app
  • tee framework tags 'scone' & 'gramine'
  • app orderbook accept "any" for dataset, workerpool, requester to fetch orderbook without filtering
  • dataset orderbook accept "any" for app, workerpool, requester to fetch orderbook without filtering
  • workerpool orderbook accept "any" for app, dataset, requester to fetch orderbook without filtering
  • requester orderbook accept "any" for workerpool to fetch orderbook without filtering

Changed

  • SMS URL resolution depends on TEE framework (default scone)
  • SMS URL override in IExecConfig or chain.json accepts Record<TeeFramework,Url> | string
  • iexec app push-secret and app.pushAppSecretExists(appAddress) use a TEE framework inferred from app if not specified
  • iexec app check-secret and app.checkAppSecret(appAddress, secret) use a TEE framework inferred from app if not specified
  • iexec storage init and storage.pushStorageToken(appAddress) use the default TEE framework if not specified
  • iexec storage check and app.checkStorageTokenExists(appAddress, secret) use the default TEE framework if not specified
  • iexec requester check-secret <name> and secrets.checkRequesterSecretExists(name) use the default TEE framework if not specified
  • iexec requester push-secret <name> and secrets.pushRequesterSecret(name, value) use the default TEE framework if not specified
  • iexec result check-encryption-key and result.checkResultEncryptionKeyExists(address) use the default TEE framework if not specified
  • iexec result push-encryption-key and result.pushResultEncryptionKey(value) use the default TEE framework if not specified
  • iexec dataset check-secret and dataset.checkDatasetSecretExists(datasetAddress) use the default TEE framework if not specified
  • iexec dataset push-secret and dataset.pushDatasetSecret(datasetAddress, encryptionKey) use the default TEE framework if not specified
  • TEE app mrenclave.provider has been renamed mrenclave.framework
  • [BREAKING] drop support for node 12
  • [BREAKING] exports ES modules only, since all NodeJS LTS now supports ES modules natively, commonjs modules are no longer exported.
    • if you use commonjs module require consider moving to ES module to use static import (ie: import iexecSdk from 'iexec')
    • if moving your project to ES module is not an option, you must use dynamic import to load iExec SDK (ie: import('iexec').then((iexecSdk) => { ... }))
  • [BREAKING] 'tee' tag must be combined with a tee framework tag ('scone' or 'gramine')
  • [BREAKING] checkRequest option is replaced by preflightCheck, use preflightCheck: false to disable checks
  • [BREAKING] --skip-request-check option is replaced by --skip-preflight-check
  • [BREAKING] bellecour is now the default chain initialized in chain.json when running iexec init
  • [BREAKING] iExec stack is no longer deployed on mainnet, stack configuration for mainnet is no longer provided
  • [BREAKING] iExec enterprise stack is no longer deployed, stack configuration for enterprise is no longer provided

Removed

  • [BREAKING] viviani is no longer available in the default configuration
  • [BREAKING] goerli is no longer available in the default configuration
  • [BREAKING] removed now useless faucet commands iexec wallet get-RLC and iexec wallet get-ether

[7.2.1] 2022-07-25

10 Aug 12:07
4e5ea10
Compare
Choose a tag to compare

Changed

  • TypeScript fixes

[7.2.0] 2022-07-05

12 Jul 12:45
4a89d09
Compare
Choose a tag to compare

Added

  • workerpool API url configuration
  • iexec task debug <taskid> [--logs] to show offchain information
  • ens.getDefaultDomain(address) to get the default free to use ENS domain given an address
  • support for requester secrets
  • check dataset secret exists on requestorder check
  • check requester secret exists on requestorder check
  • app/dataset/workerpool predict address methods
  • app/dataset/workerpool check deployed methods

Changed

  • show commands display ENS when configured
  • iexec ens register <label> --for <address> default domain is selected given the nature of --for address
  • [DEPRECATED] Node 12 support will be droped

[7.1.0] 2022-04-11

11 Apr 12:12
Compare
Choose a tag to compare

[7.1.0] 2022-04-11

Added

  • TypeScript interfaces
  • providerOptions can be passed to the constructor to configure ethers default provider on bridged chain
  • ethProvider now accepts network name, network chainId and RPC url, using one of those option will setup an IExecConfig with provider allowing read-only operations (operations requiring a Signer will fail)

Changed

  • split lib into IExecConfig and independant IExecModules to allow modular imports
  • reintegrated iexec-contracts-js-client
  • fix a bug transforming an Array into a plain object
  • documentation refactoring
  • fix ENS configure resolution removed useless transaction for EOA

[7.0.2] 2022-02-16

17 Feb 08:41
Compare
Choose a tag to compare

[7.0.2] 2022-02-16

Added

  • observable ENS configuration with ens.obsConfigureResolution(label, address)
  • observable bridge to mainchain with wallet.obsBridgeToMainchain(amount)
  • observable bridge to sidechain with wallet.obsBridgeToSidechain(amount)

Changed

  • update deps

[7.0.0] 2021-12-17

21 Dec 13:13
Compare
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
Compare
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
Compare
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)