Skip to content

Latest commit

 

History

History
149 lines (87 loc) · 4.04 KB

CHANGELOG.md

File metadata and controls

149 lines (87 loc) · 4.04 KB

Changelog

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

[1.1.1]

Changed

  • Update builder dashboard URL in some error messages related to sendEmail() method
  • Use user specific workerpool orders if useVoucher is set to true

[1.1.0]

Added

  • support for iExec voucher in sendEmail() via useVoucher option

Changed

  • Directly return yup ValidationError instead of wrapping it into a WorkflowError, for fetchUserContacts and sendEmail
  • sendEmail: Changed returned error message from 'ProtectedData is not valid' to 'This protected data does not contain "email:string" in its schema.'

[1.0.4] (2024-08-08)

Added

  • support for ethers AbstractProvider and AbstractSigner in constructor

Changed

  • update kubo-rpc-client from v3 to v4
  • update iexec and ethers dependencies

[1.0.3]

Added

  • support for ethers AbstractProvider and AbstractSigner in constructor

Changed

  • remove unnecessary initialization of storage in sendEmail
  • updated iexec and ethers dependencies

[1.0.2]

Changed

  • be able to call fetchMyContacts with isUserStrict param

[1.0.1]

Changed

  • fix drone ci for package publication on npm

[1.0.0]

Added

  • added isUserStrict optional param into both fetchUserContacts and fetchMyContacts functions

Changed

  • Make the ethProvider constructor parameter optional, enabling access to read functions without requiring a wallet.
  • [BREAKING] Ship ES2022 JavaScript instead of es2015 (aka es6) in order to support cause optional field in Error:
  • Changed fetchMyContacts, fetchUserContacts and sendEmail error handling:
    • Distinguish iExec protocol errors from other errors
    • Store original error as the error cause
  • [BREAKING] Removed originalError from WorkflowError

[0.6.1]

Changed

  • upgraded the iexec dependency to ^8.7.0
  • fixed Buffer polyfill issue

[0.6.0]

Added

  • added fetchUserContacts method allowing to fetch contacts of a given user
  • added workerpoolAddressOrEns options to sendEmail to specify the workerpool to use (defaults to iExec's production workerpool)
  • added dataMaxPrice, appMaxPrice and workerpoolMaxPrice options to sendEmail to specify the maximum price in nRLC to pay to each provider
  • added label option to sendEmail to tag the web3mail task onchain via iexec_args
  • added dappAddressOrENS, dappWhitelistAddress, dataProtectorSubgraph, ipfsNode, ipfsGateway configuration options to the constructor

Changed

  • optimized market api requests in fetchMyContact and sendEmail
  • fixed bug that prevented ethereum address to be used as dappAddressOrENS
  • use iExec production workerpool for sendEmail if none is specified
  • support for access granted to web3mail dapps whitelist in sendEmail
  • migrated from ethers v5 to ethers v6

[0.5.2]

Added

  • support for access granted to web3mail dapps whitelist in fetchMyContacts
  • add linter

[0.5.1]

Changed

  • fixed bug that prevented web3mail to work with web3mail dapp 0.6.0

[0.5.0]

Changed

  • [BREAKING] Updated internal implementation to work with web3mail dapp v0.6.0 (merged requester secrets into one secret object)

[0.4.0]

Changed

  • Enabled sending emails with a maximum size of 512 KB, an enhancement from the previous limit of 4,096 bytes.
  • Encryption of the email content and uploaded it to IPFS.

[0.3.0]

Added

  • Allow developer to specify the sender Name associated to the sender: add optional senderName: string to sendEmail method

Changed

  • Migrate from sconify 5.7.5-v9 to sconify 5.7.5-v12

[0.2.0]

Added

  • add optional contentType: 'text/plain' | 'text/html' (default 'text/plain') to sendEmail method (you can send plain text or a html type content)

[0.1.1]

Changed

  • fixed installation issue for Windows users
  • fixed email content validation issue

[0.1.0] Initial release