Releases: iExecBlockchainComputing/iexec-sdk
Releases · iExecBlockchainComputing/iexec-sdk
[7.0.0] 2021-12-17
[7.0.0] 2021-12-17
Added
- ENS resolution on iExec sidechains and custom networks
- ENS methods in CLI & lib:
iexec ens resolve <name>andiexec.ens.resolveName(name)iexec ens lookup <address>andiexec.ens.lookupAddress(addres)iexec ens get-owner <name>andiexec.ens.getOwner(name)iexec ens register <label>iexec.ens.claimName(label, domain)iexec.ens.configureResolution(name, address)
Changed
- fix
iexec registry validate appto support new mrenclave format
[6.0.1] 2021-12-8
[6.0.1] 2021-12-8
Changed
- update default ipfs gateway
[6.0.0] 2021-07-19
[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 --teeinit the TEE app template
Changed
- [BREAKING]
iexec initset default chainviviani(iExec sidecahin testnet) inchain.json, previously wasgoerli(using--chainoption still overrides thechain.jsonconfiguration). - [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 encryptand 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
mrenclaveformat changed from string to object previously deployed TEE apps must be rebuilt and redeployed with v6 workflow - [BREAKING]
iexec.task.obsTask()now returnsPromise<Observable>previously it returnedObservabe - [BREAKING]
iexec.deal.obsDeal()now returnsPromise<Observable>previously it returnedObservabe - [DEPRECATED]
iexec wallet getETHis now an alias toiexec wallet get-etherand will be removed in a next version - [DEPRECATED]
iexec wallet getRLCis now an alias toiexec wallet get-RLCand will be removed in a next version - [DEPRECATED]
iexec wallet sendETHis now an alias toiexec wallet send-etherand will be removed in a next version - [DEPRECATED]
iexec wallet sendRLCwill be removed in a next version, useiexec wallet send-RLCBEWARE default unit is RLC! chainIdis no longer required to callIExecconstructor, the chainId is lazily fetched from the provider- fix
iexec wallet send-etherreturn sentamountin wei - fix
fetchWorkerpoolOrderbook()to includerequesterrestricted workerpoolorders (fixapp runusing requester restricted workerpoolorder) - fix
iexec app run--gas-priceoption - removed
mrenclavefrom app default template iexec appr run --watchandiexec deal show --watchadded tasks status details
Removed
- [BREAKING]
--algorithmoption is removed fromiexec dataset encrypt - [BREAKING] removed
iexec.network.idandiexec.network.isSidechain, useiexec.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_imageandiexec_tee_post_compute_fingerprintwill be silently removed fromrequestorder.params. - [BREAKING] drop previously deprecated
iexec wallet show --rawreturned json keybalance.ETH, usebalance.etherinstead - [BREAKING] drop previously deprecated
bridge.bridgedChainIdinchain.jsonusebridge.bridgedChainNameinstead - [BREAKING] drop previously deprecated
iexec.orderbook.fetchWorkerpoolOrderbook(category, options)usecategoryas an option ofiexec.orderbook.fetchWorkerpoolOrderbook(options) - [BREAKING] drop previously deprecated
iexec.orderbook.fetchRequestOrderbook(category, options)usecategoryas an option ofiexec.orderbook.fetchRequestOrderbook(options) - [BREAKING] drop previously deprecated
iexec.orderbook.fetchAppOrderbook()returned valueappOrdersuseorders - [BREAKING] drop previously deprecated
iexec.orderbook.fetchDatasetOrderbook()returned valuedatasetOrdersuseorders - [BREAKING] drop previously deprecated
iexec.orderbook.fetchWorkerpoolOrderbook()returned valueworkerpoolOrdersuseorders - [BREAKING] drop previously deprecated
iexec.orderbook.fetchRequestOrderbook()returned valuerequestOrdersuseorders - [BREAKING] drop previously deprecated
task.waitForTaskStatusChange(taskid, initialStatus)usetask.obsTask(taskid)
[5.3.1] 2021-07-12
[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
[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
[5.2.0] 2021-01-22
Added
- iExec enterprise flavour support
iexec wallet swap-eRLC-for-RLCandwallet.wrapEnterpriseRLC()enables to wrap RLC to eRLC (requires an authorized wallet)iexec wallet swap-eRLC-for-RLCandwallet.unwrapEnterpriseRLC()enables to unwrap eRLC to RLC (requires an authorized wallet)enterprisevalue added to--chain [chainName]option enable connecting iExec enterprise- optional named argument
flavouradded to IExec constructor enables connecting iExec enterprise by passingflavour: 'enterprise'
Changed
idis no longer requred inchain.json- passing
chainIdto--chain [chainName]will support only the following values:1formainnet,5forgoerli,134forbellecour,133forviviani - CLI
nativechain key no longer set default gasPrice to 0, use key"useGas": falseto force default gasPrice to 0 - lib
isNativeoption no longer set default gasPrice to 0, use optionuseGas: falseto force default gasPrice to 0 - migrate EIP712 hash and sign to ethers implementation
- fixed
iexec deal claimfail due to missing signer - [DEPRECATED]
bridge.bridgedChainIdinchain.jsonis deprecated and must me replaced bybridge.bridgedChainName
[5.1.0] 2020-11-09
[5.1.0] 2020-11-09
Added
iexec orderbookmore filter optionsiexec orderbookpaginationiexec 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
Web3ProviderErrormessages iexec orderbook workerpool [address]--category <catid>is now optionnaliexec orderbook requester [address]--category <catid>is now optionnal- [DEPRECATED]
iexec.orderbook.fetchWorkerpoolOrderbook(category, options)is deprecated, usecategoryas an option ofiexec.orderbook.fetchWorkerpoolOrderbook(options) - [DEPRECATED]
iexec.orderbook.fetchRequestOrderbook(category, options)is deprecated, usecategoryas an option ofiexec.orderbook.fetchRequestOrderbook(options) - [DEPRECATED]
iexec.orderbook.fetchAppOrderbook()returned valueappOrdersis deprecated, useorders - [DEPRECATED]
iexec.orderbook.fetchDatasetOrderbook()returned valuedatasetOrdersis deprecated, useorders - [DEPRECATED]
iexec.orderbook.fetchWorkerpoolOrderbook()returned valueworkerpoolOrdersis deprecated, useorders - [DEPRECATED]
iexec.orderbook.fetchRequestOrderbook()returned valuerequestOrdersis deprecated, useorders
Removed
- undocumented option
beforeTimestampremoved fromiexec.deal.fetchRequesterDeals() - undocumented output value
openVolumeremoved fromiexec.orderbook.fetchWorkerpoolOrderbook()andiexec orderbook workerpool
[5.0.1] 2020-08-26
[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
- ether units:
Changed
- fixed result encryption v5 workflow
- messages amount use main units (RLC and ether)
- [DEPRECATED]
iexec wallet show --rawreturned json keybalance.ETHis deprecated, usebalance.etherinstead
[5.0.0] 2020-07-22
[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 publishiexec app/dataset/workerpool unpublish
- remote storage management
- support for
dropboxstorage iexec storage init [provider]initialize the remote storageiexec storage check [provider]check if the remote storage is initializediexec.storage.defaultStorageLogin()get an authorization token for default remote storageiexec.storage.pushStorageToken()push a storage token to the SMS
- support for
- dataset secret management in js lib
iexec.dataset.pushDatasetSecret(datasetAddress, secret)push the dataset key to the SMSiexec.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 SMSiexec.result.updateResultEncryptionKey(rsaPubKey)update the beneficary result encryption key in the SMSiexec.result.checkResultEncryptionKeyExists(address)check if the beneficary result encryption key exists in the SMSutils.decryptResult(encryptedResultFile, beneficiaryKey)decrypt encrypted result with RSA beneficiary key
- requestorder check to prevent runtime errors
iexec order sign,iexec order publish,iexec order fillandiexec app runperform advanced check on request (use option--skip-request-checkto disable)iexec.order.signRequestorder(),iexec.order.publishRequestorder()andiexec.order.matchOrder()perform advanced check on request (use option{ checkRequest: false }to disable)
--decryptoption addediexec task show <taskid> --download --decryptallow to decrypt downloaded result--watchoption added toiexec deal show <dealid>allow to watch execution status changes- default values for
order.createApporder(),order.createDatasetorder(),order.createWorkerpoolorder()andorder.createRequestorder(). - support for units in
parseEth()&parseRLC()methods
Changed
- [BREAKING]
iexec app show <index>&app.showUserApp(index)first index is0previously was1 - [BREAKING]
iexec dataset show <index>&dataset.showUserDataset(index)first index is0previously was1 - [BREAKING]
iexec workerpool show <index>&dataset.showUserWorkerpool(index)first index is0previously was1 - [BREAKING]
iexec dataset check-secretreturned json key is nowisSecretSetpreviously wasisKnownAddress - [BREAKING]
iexec task show&task.show(taskid)returnedtask.resultsis an object previously was url or hexString - [BREAKING]
iexec app runoption--dataset <address|"deployed">using last deployed dataset is no more implicit - [BREAKING]
iexec app runoption--workerpool <address|"deployed">using last deployed workerpool is no more implicit - [BREAKING]
bridge.bridgedChainIdis now used to override bridged chain chainId iniexec.jsonpreviouslybridge.bridgedNetworkIdwas used - [BREAKING]
iexec result generate-keysis deprecated, useiexec result generate-encryption-keypair - [BREAKING]
iexec result push-secretis deprecated, useiexec result push-encryption-key - [BREAKING]
iexec result check-secretis deprecated, useiexec result check-encryption-keyreturned json key is nowisEncryptionKeySetpreviously wasisKnownAddress - [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-cbcdataset encryption is removed, onlysconeencryption is supported (useiexec dataset encrypt --algorithm scone)
[4.0.4] 2020-07-21
[4.0.4] 2020-07-21
Changed
- gateway changed to support post v5