Skip to content

Latest commit

 

History

History
236 lines (160 loc) · 11.2 KB

CHANGELOG.md

File metadata and controls

236 lines (160 loc) · 11.2 KB

Changelog

All notable changes to this project will be documented in this file.

[4.0.3] 2020-02-27

Added

  • orderbook.fetchAppOrderbook and iexec orderbook app <address> optional filters (dataset, workerpool, requester)
  • orderbook.fetchDatasetOrderbook and iexec orderbook dataset <address> optional filters (app, workerpool, requester)
  • utils.sumTags([...Bytes32]) added to JS lib
  • task.obsTask(taskid, { dealid }) observable for task status
  • deal.obsDeal(dealid) observable for deal status

Changed

  • fix iexec order show --raw output
  • task.waitForTaskStatusChange(taskid, initialStatus) is deprecated prefer task.obsTask(taskid)

Removed

[4.0.2] 2020-02-12

Added

  • iexec app run [address] allow to run an app on iExec at the market price
  • deal.show(dealid) and iexec deal show returns extra keys finalTime: BN and deadlineReached: Boolean
  • task.show(taskid) and iexec task show returns extra keys taskTimedOut: Boolean
  • requestorder.params now accepts object in iexec.json and JS lib

Changed

  • fix SMS url in chain.json
  • fix task.show(taskid) and iexec task show returned statusName is now set to "TIMEOUT" when task timed out

Removed

[4.0.1] - 2020-01-17

Added

  • gpu tag is now supported
  • getTransactionCount option for custom nonce management
  • Goerli testnet added to chain.json run iexec init --skip-wallet to update chain.json

Changed

  • updated yup integer validation
  • iexec wallet show no longer requires password to show wallet content (issue #87)
  • iexec account show no longer requires password to show account content
  • fix iexec.app.showApp(address) and iexec app show now returns decoded appMREnclave

Removed

[4.0.0] - 2019-12-13

Added

  • iexec wallet bridge-to-sidechain <nRlcAmount> sending RLC from a mainchain to the bridged sidechain.
  • iexec wallet bridge-to-mainchain <nRlcAmount> sending RLC from a sidechain to the bridged mainchain.
  • optional bridge configuration in chain.json
  • brindging RLC between mainchain an sidechain may throw BridgeError
  • deal.claim(dealid) and iexec deal claim to claim all failed of a deal
  • utils.getSignerFromPrivateKey() creates a signer provider for server side applications

Changed

  • [BREAKING] iexec order init --raw output is now a single json {ok, apporder, datasetorder, workerpoolorder, requestorder, fail: [...errors]}.
  • [BREAKING] iexec order sign --raw output is now a single json {ok, apporder, datasetorder, workerpoolorder, requestorder, fail: [...errors]}.
  • [BREAKING] iexec order cancel --raw output is now a single json {ok, apporder, datasetorder, workerpoolorder, requestorder, fail: [...errors]}.
  • [BREAKING] iexec order fill --raw volume in output is now formated as decimal string, previously was hexadecimal string.
  • [BREAKING] iexec order publish --raw output is now a single json {ok, apporder, datasetorder, workerpoolorder, requestorder, fail: [...errors]}.
  • [BREAKING] iexec order unpublis --raw output is now a single json {ok, apporder, datasetorder, workerpoolorder, requestorder, fail: [...errors]}.
  • [BREAKING] iexec order show --raw output is now a single json {ok, apporder, datasetorder, workerpoolorder, requestorder, fail: [...errors]}.
  • [BREAKING] iexec registry validate <object> --raw output is now a single json {ok, validated: [...fileNames], fail: [...errors]}.
  • [BREAKING] Ethereum public key representation changed, first byte 04 is no longuer skipped.
  • [BREAKING] app.deploy() promise now resolves as {address, txHash}, previously was address.
  • [BREAKING] dataset.deploy() promise now resolves as {address, txHash}, previously was address.
  • [BREAKING] workerpool.deploy() promise now resolves as {address, txHash}, previously was address.
  • [BREAKING] account.deposit() promise now resolves as {amount, txHash}, previously was amount.
  • [BREAKING] account.withdraw() promise now resolves as {amount, txHash}, previously was amount.
  • [BREAKING] wallet.sweep() promise now resolves as {sendNativeTxHash, sendERC20TxHash, errors} on mainchains or {sendNativeTxHash, errors} on sidechains, previously was {sendETHTxHash, sendRLCTxHash}.
  • [BREAKING] order.cancel() promise now resolves as {order, txHash}, previously was true.

Removed

  • [BREAKING] currated utils
  • [BREAKING] imports of wallet, account, order, orderbook, deal, task, hub are removed.

[3.1.1] - 2019-10-17

Added

  • iexec orderbook workerpool added option --require-tag <...tags>
  • Support for tag array of string representation (ex: tee tag 0x0000000000000000000000000000000000000000000000000000000000000001 can be replaced by ['tee'] ), available in:
    • iexec.json
    • orderbook command
    • js lib
  • Filtering options for orderbook in js lib

Changed

Removed

[3.1.0] - 2019-09-25

Added

  • IExec sdk constructor simplify integration see documentation
  • wallet.getAddress() gives the current wallet address
  • deal.show() added key tasks: { [idx]: [taskid] } to the resolved value
  • dynamic cast and validation of inputs, invalid inputs throw ValidationError.
  • introduced TypedErrors ValidationError, Web3ProviderError, Web3ProviderCallError, Web3ProviderSendError, Web3ProviderSignMessageError, ObjectNotFoundError.

Changed

  • [BREAKING] iexec tee subcommands removed and replaced
    • iexec tee init is replaced by ìexec dataset init --encrypted
    • iexec tee encrypt-dataset is replaced by iexec dataset encrypt
    • iexec tee generate-beneficiary-keys is replaced by iexec result generate-key
    • iexec tee decrypt-result is replaced by iexec result decrypt
    • iexec tee push-secret is replaced by iexec dataset push-secret and iexec result push-secret
    • iexec tee check-secret is replaced by iexec dataset check-secret and iexec result check-secret
  • [BREAKING] .tee-secrets/folder moved to .secrets
  • [BREAKING] default original dataset folder tee/original-dataset/ folder moved to datasets/original/
  • [BREAKING] default encrypted dataset folder tee/original-encrypted/ folder moved to datasets/encrypted/
  • [BREAKING] iexec deal show ends with error when the deal doesn't exists
  • [BREAKING] deal.show() throw when the deal doesn't exists
  • [BREAKING] deal.computeTaskIdsArray() is no longer exposed (deal.show() resolves now as {..., tasks: { [idx]: [taskid] }})
  • [BREAKING] deal.computeTaskId() returns a promise
  • [BREAKING] errors handling with --raw option now returns { command, error: { name, message } } previously was { command, error: message }
  • [DEPRECATED] imports of wallet, account, order, orderbook, deal, task, hub is deprecated, use IExec constructor.
  • [DEPRECATED] order.signOrder() is replaced by dedicated methods of IExec: order.signApporder(), order.signDatasetorder(), order.signWorkerpoolorder(), order.signRequestorder()
  • [DEPRECATED] order.cancelOrder() is replaced by dedicated methods of IExec: order.cancelApporder(), order.cancelDatasetorder(), order.cancelWorkerpoolorder(), order.cancelRequestorder()
  • [DEPRECATED] order.publishOrder() is replaced by dedicated methods of IExec: order.publishApporder(), order.publishDatasetorder(), order.publishWorkerpoolorder(), order.publishRequestorder()
  • [DEPRECATED] order.unpublishOrder() is replaced by dedicated methods of IExec: order.unpublishApporder(), order.unpublishDatasetorder(), order.unpublishWorkerpoolorder(), order.unpublishRequestorder()
  • [DEPRECATED] hub.createObj() is replaced by dedicated methods of IExec: app.deployApp(), dataset.deployDataset(), workerpool.deployWorkerpool()
  • [DEPRECATED] hub.countObj() is replaced by dedicated methods of IExec: app.countUserApps(), dataset.countUserDatasets(), workerpool.countUserWorkerpools()
  • [DEPRECATED] hub.showObj() is replaced by dedicated methods of IExec: hub.countUserApps(), hub.countUserDatasets(), hub.countUserWorkerpools()
  • [DEPRECATED] hub.showApp(contracts, objAddressOrIndex, userAddress) will stop support params ìndex and userAdress use IExec methods app.showUserApp(index, userAddress) or app.showApp(appAddress)
  • [DEPRECATED] hub.showDataset(contracts, objAddressOrIndex, userAddress) will stop support params ìndex and userAdress please use IExec method dataset.showUserDataset(index, userAddress) or dataset.showDataset(contracts, datasetAddress)
  • [DEPRECATED] hub.showWorkerpool(contracts, objAddressOrIndex, userAddress) will stop support params ìndex and userAdress please use IExec method workerpool.showUserWorkerpool(index, userAddress) or workerpool.showWorkerpool(workerpoolAddress)
  • [DEPRECATED] task.claim(contracts, taskid, userAddress) userAdress is no longer required, please use IExec method task.claim(taskid)
  • [DEPRECATED] task.fetchResults(contracts, taskid, userAddress, options) userAdress is no longer required, please use IExec method task.fetchResults(taskid, options)
  • Update [email protected] to [email protected]: /ipfs protocol 421 is now displayed /p2p
  • fix everyone can claim a task
  • fix iexec task show oracle results hexadecimal display (#88)
  • fix iexec task show --download oracle results error message

Removed

  • [BREAKING] iexec deal show <dealid> --tasks <...index> --tasks option is removed, as deal's tasks are added to the ouptup.
  • [BREAKING] iexec tee subcommands removed and replaced (see changed)

[3.0.36] - 2019-09-24

Added

Changed

  • update params format for iexec core v3.2 compatibility

Removed

[3.0.35] - 2019-09-23

Added

  • global option --quiet disable update notification

Changed

  • global option --raw disable update notification
  • fix iexec wallet create --raw and iexec wallet import --raw JSON output on fail
  • fix numbers format in templates
  • update api url
  • iexec registry validate <'app'|'dataset'|'workerpool'> update schema validation for buyConf
  • dependencies update

Removed

[3.0.34] - 2019-07-10

Added

  • iexec order fill --params <string> allow to generate request order on the fly with specified params

Changed

  • request orders are no longer initialized with formated params

[3.0.33] - 2019-06-25

Added

  • iexec tee encrypt-dataset --algorithm <'aes-256-cbc'|'scone'> allow to choose encryption methode, default is aes-256-cbc. --algorithm scone allow an encrypted dataset to be processed into a SGX enclave by a Scone compatible dapp.

Changed

  • iexec tee encrypt-dataset now supports dataset folders.
  • CLI fix typo

[3.0.32] - 2019-05-29

Added

  • option --gas-price <wei> allow to use custom gas price.

Changed

  • fix display task contributors.

Removed

  • limit methods exported from utils module.

[3.0.31] - 2019-05-22

Changed

  • iexec tee encrypt-dataset now use nodejs implementation (previously dockerized Openssl 1.1.1b).

[3.0.30] - 2019-05-17

Added

  • Dataset encryption iexec tee encrypt-dataset.

Changed

  • beneficary keys generated by ìexec tee generate-beneficiary-keys now use AES 256 (previously AES 128).

[3.0.29] - 2019-05-15

This is the initial release of iExec v3.