Releases: iExecBlockchainComputing/iexec-sdk
Releases · iExecBlockchainComputing/iexec-sdk
[8.9.0] 2024-06-19
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 classSmsCallError
for SMS call errorsResultProxyCallError
for Result Proxy call errorsMarketCallError
for Market API call errorsIpfsGatewayCallError
for IPFS gateway call errorsWorkerpoolCallError
for workerpool API call errors
- Error
cause
is now set in errors everywhereoriginalError
was used
Changed
- [DEPRECATED]
originalError
is deprecated in favor of Errorcause
[8.8.0] 2024-05-28
Changed
- Typescript fixes
- accept
CryptoKey
inutils.decryptResult(encrypted, key)
[8.7.0] 2024-04-22
Added
account.approve(spenderAddress, amount)
to approve a spender to spend staked RLC from the user accountaccount.checkAllowance(ownerAddress, spenderAddress)
to check the amount of allowance approved for the specified spender to use the account of the owneraccount.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
Changed
- fix bundling issue occurring in webpack due to conditional import of node builtin in node context
[8.6.0] 2024-03-04
Added
- strict mode
isRequesterStrict
,isAppStrict
,isDatasetStrict
,isWorkerpoolStrict
in corresponding orderbook methodsfetchRequestOrderbook()
,fetchAppOrderbook()
,fetchDatasetOrderbook()
,fetchWorkerpoolOrderbook()
, defaults to false
Changed
- remove ipfs initialization preflight checks on request orders
- Typescript fixes
[8.5.2] 2024-01-24
Added
- expose package
version
inIExecModule
- accept
CryptoKey
iniexec.result.pushResultEncryptionKey(key)
Changed
- fix encryption key formatting issue in
iexec.result.pushResultEncryptionKey(key)
[8.5.1] 2023-12-21
Changed
- fix regression causing browser providers (metamask) to prompt unlock screen on IExec instantiation
- fix
iexec task show --download
issue with node 18 and above
[8.5.0] 2023-11-02
Changed
- upgraded to
ethers@6
, this upgrade is internal and should not change the way developers interact withiexec
- updated dependencies
- [BREAKING] drop support for node 16
[8.4.0] 2023-10-03
Added
- add pagination options (
page
andpageSize
) toorderbook
anddeal
fetch methods
Changed
- fix
iexec order fill
command when no dataset is provided - fix error message in
iexec app show
- fix ambiguous error message when trying to transfer an asset not deployed
[8.3.0] 2023-09-22
Added
- add transfer methods allowing to transfer the ownership of apps, datasets and workerpools