ethers.js/CHANGELOG.md
2020-05-12 23:31:51 -04:00

49 KiB

Changelog

This change log is managed by scripts/cmds/update-versions but may be manually updated. During the v5-BETA, although attempts are made to minimize it, some of the APIs may change. It is generally recommended that you remove your node_modules/, package-lock.json (and similar files for yarn, etc.) and doing an npm install after upgrading to a newer version of the v5-BETA.

ethers/v5.0.0-beta.187 (2020-05-12 23:29)

  • Add sub-error to gas estimate error for Ganache users. (#829; 647fbd8)
  • Moved ABI check for unique names to coding time and only if ambiguous. (#816; fa87417)
  • Added missing Interface exports to umbrella utils. (82a9326)
  • Fixed FallbackProvider ESM super-this out-of-order issue. (#822; fde102b)
  • Fixed node hanging on unnecessary timeout when fetchJson fails. (fdf2253)

ethers/v5.0.0-beta.186 (2020-05-08 15:27)

  • Fix JsonRpcProvider out-of-order super call. (#822; 963197d)

ethers/v5.0.0-beta.185 (2020-05-04 22:54)

  • More robust FallbackProvider on clean exits. (8eeda23)
  • Safer test suite reporter timer. (657a039)
  • Added goerli to AlchemyProvider tests. (ab7c781)
  • Added more robust poll event to Provider. (dc48bfb)
  • Added goerli to AlchemyProvider. (86670eb)
  • Removed Cloudflare from test suite; it is down again. (17dc022)
  • Prevent forceOutput in test reporter from crashing. (cafd344)
  • Stall FallbackProvider backends from requests if not in-sync. (fa6904f)
  • Allow providers to detect their network after instantiation. (#814; 99ae946)
  • Better messaging on low-level network errors. (#814; 0e3a66c)
  • Manage FallbackProvider stalling without unref. (#815; 7b1a7c7)
  • Only error on duplicate signatures in Contract ABI. (#499; 098d7ef)
  • Added getWebSocketProvider static method to InfuraProvider. (a6c1174)
  • Fix WebSocketProvider responses when message result is null. (#813; 472e5b0)
  • Allow modifiers on Human-Readable ABI for tuples and arrays. (83fba3d)
  • Added initial renew support to ENS CLI. (54dfb75)
  • Allow contract filters to include OR-ed values. (#437; 28800d7)

ethers/v5.0.0-beta.184 (2020-04-28 04:58)

  • Removed old EIP-1193 experimental provider; it can now be supported by Web3Provider as EIP-1193 is now backwards compatible. (84c68ac)
  • Fixed getLogs filter deserialization. (#805; 393c0c7)
  • Added EIP-1193 support to Web3Provider. (56af441)
  • Minor typing-detected fixes. (d1f3a42)
  • Added initial support for recoverable coding erros. (#800; bda6623)
  • More draconian Typing. (14e6811)
  • Omit HID libraries for hardware-wallets package on unsupported environments. (#798; 2e24920, 5aefb43)
  • Make default constructor non-payable. (#684; 017ea0d)

ethers/v5.0.0-beta.183 (2020-04-23 23:28)

  • Fixed inconsistent log format in WebSocketProvider. (#795; 8e7751f)
  • Added WebSocketProvider support for ENS names in filters. (6707754)
  • Fixed provider filtering by ENS name. (aeeb75f)
  • Fixed ContractFactory.deploy ignoring overrides. (#796; 8bb2a0f)
  • Fix median calculation for large block number deltas across FallbackProvider backends. (fca5ccb)
  • Work-around for Cloudflare not offering eth_blockNumber. (8cf4b3c)
  • Added string spell-checking to library and fixed discovered typos. (71d03c6)
  • Fixed getUrl for node 8. (560adea)
  • Dependency security updates. (da3b0bf)
  • Fixes for dist builds without injected XMLHttpRequest. (#789, #506; 9ae6b70)

ethers/v5.0.0-beta.182 (2020-04-16 21:53)

  • Added support for Contract event parsing error recovery. (cc72f76)
  • Fix provider log filters with zero topics. (#785; 4ef0e4f)

ethers/v5.0.0-beta.181 (2020-04-15 18:23)

  • Temporarily remove CloudflareProvider tests; it is down and breaking the tests. (797abb7)
  • Better error reporting for Fragments. (7dcefcb)
  • Fixed Contract filter unsubscribing. (2eb3823, 39c78f3)
  • Fixed WebSocketProvider filter events. (#784; 69f7077)
  • Added bitwise operations to BigNumber. (#781; 7498c18, 284771e)

ethers/v5.0.0-beta.180 (2020-04-03 22:10)

  • Correctly return the Provider in NonceManager. (6caf7c2)
  • Fail earlier when resolving an ENS name that is not a string. (2882546)
  • Fixed mutabilityState calculation for function fragments. (#762; 6526de0, d7c8b35)
  • Force Log properties to be non-optional. (#415; da412f6, 8ad26f0)
  • Fixed Signer call not forwarding blockTag. (#768; 053a2d7)

ethers/v5.0.0-beta.179 (2020-03-31 23:40)

  • Fixed ENS CLI lookup for Website. (0f144c6)
  • Fixed getEtherPrice for EtherscanProvider. (#776; 6c71b51)
  • Fixed ENS CLI tool set-websites and added set-name. (70cffb6)

ethers/v5.0.0-beta.178 (2020-03-30 22:14)

  • Fixed Event args keyword access. (2692e78, 092ce9b)
  • Updating TypeScript library and fixing some audit issues. (bd32ee0)

ethers/v5.0.0-beta.177 (2020-03-21 12:46)

  • Abstracted JSON-RPC parameter generation for others to use. (030f65e)
  • Updated RLP package to use Logger instead of bare errors. (390497f)
  • Fixed log level filtering for Logger. (#379; 72c8992)
  • Throw errors when trying to RLP encode integers. (9ea16e5)
  • Added delays to provider tests to prevent throttling causing failed tests. (3e44aac)

ethers/v5.0.0-beta.176 (2020-03-12 19:10)

  • Checking in initial Eip1193Bridge (experimental). (2c78f0b)
  • Added initial WebSocketProvider. (#141; 117a5dd)
  • Renamed properties based on community recommendations; estimate to estimateGas and addressPromise to resovledAddress. (fe3b3fa)
  • Better error reporting and fixed look-ahead for data labels. (e52312e)

ethers/v5.0.0-beta.175 (2020-02-27 19:53)

ethers/v5.0.0-beta.175 (2020-02-27 19:38)

  • Fix address-less filter listening in Provider. (#741; 64dccb2)
  • Added sync version of wallet decryption. (0ad94cd)

ethers/v5.0.0-beta.174 (2020-02-25 14:57)

  • Reduced default Provider quorum for testnets. (1cfab31)
  • Added JSON-RPC debugging on error responses. (ad27600)
  • Fixed setLogLevel to affect global logging. (ac51a88)
  • Renamed interface getTopic to getEventTopic. (f61f34b)
  • Fix log parsing when no matching topic hash is found. (#733; a5d2ec5, 4b8e198, 89ac9f4)

ethers/v5.0.0-beta.173 (2020-02-12 17:09)

  • Added experimental EipWrappedProvider. (944600d)
  • Updated signature for JsonRpcProvider.send to match EIP-1193. (b962b59)
  • Added binary literal support to ASM grammar. (375bd15)
  • Added explicit pop placeholders to ASM dialect. (a6b696d)
  • Added position independent code option for asm. (89615c5)
  • Added ASM semantic checking and the Pop placeholder. (a33bf0e)
  • Better type safety for defineReadOnly. (e7adc84)
  • Fixed CLI sandbox quiting after prompt entry. (ff9bc2a)

ethers/v5.0.0-beta.172 (2020-02-04 00:59)

  • Synced GitHub issue cache. (13dbf1f)
  • Better typing for Timers. (5622f70)
  • Safer transaction serialization, matching signature.v with chainId. (#708; edb7c5d)
  • Fixed Opcode typo and added check to prevent future typos. (15bb840)
  • Renamed AST nodes for teh assembler. (f02c7db)
  • Added timeout to waitForTransaction. (#477; bacc440)
  • Added CLI for asm package. (aafa42a)
  • Prevent Signer.checkTransaction from creating conflicting from properties. (1decb13)
  • Include asm in generated TypeScript dependencies. (ba29618)
  • Clean up some asm checks and dead code. (fa317eb)
  • More contained Opcode API. (da8153c)
  • Added initial codedrop for the asm package. (0296594)

ethers/v5.0.0-beta.171 (2020-02-01 05:05)

  • Added CLI for asm package. (aafa42a)
  • Added more flatworm documentation. (1c85fe9)
  • Prevent Signer.checkTransaction from creating conflicting from properties. (1decb13)
  • Include asm in generated TypeScript dependencies. (ba29618)
  • Clean up some asm checks and dead code. (fa317eb)
  • More contained Opcode API. (da8153c)
  • Added initial codedrop for the asm package. (0296594)

ethers/v5.0.0-beta.171 (2020-01-29 21:41)

  • Better solc support in CLI; it will search the local pacakge for an existing solc version. (7428776)
  • Update ENS registry address and lower default quorum for testnets. (edb49da)
  • Exposed isBytes and isBytesLike in ethers.utils. (99329b0)

ethers/v5.0.0-beta.170 (2020-01-21 20:37)

  • Better, easier and more provider testing. (e0d1d38)
  • Fixed out-of-bounds difficulty in getBlock, which can affect PoA networks. (#711; 251882c)

ethers/v5.0.0-beta.169 (2020-01-20 19:42)

  • Fixed imports after refactor. (adf5622)
  • Refactor some enum names and add UTF-8 error support to the umbrella package. (931da2f)
  • Allow arbitrary apiKey for UrlJsonRpcProvider. (5878b54)
  • Added more general error handling (e.g. error, ignore, replace) for calling toUtf8String. (a055edb)

ethers/v5.0.0-beta.168 (2020-01-18 21:46)

  • Much more resiliant FallbackProvider which can ignore properties that are only approximate and supports per-provider priorities. (#635, #588; f4bcf24)
  • Fixed some typing for receipts and logs. (#497; ea102ef)
  • Abstracting mnemonic phrases. (#685; 92a383f)
  • Sync GitHub issues. (75e1a37)
  • Fixed 304 status for fetchJson. (c66d81e)

ethers/v5.0.0-beta.167 (2020-01-11 04:16)

  • Fixed testcases for provider changes. (90ed07c)
  • Add support for legacy flat signatures with recid instead of normalized v. (245cd0e)
  • Fix TransactionResponse to have chainId instead of legacy networkId. (#700; 72b3bc9)
  • Fixed splitSignature computing wrong v for BytesLike. (#700; 4151c0e)
  • Added dist files for hardware-wallets. (c846649)
  • Browser support (with dist files) for Ledger. (6f7fbf3)

ethers/v5.0.0-beta.166 (2020-01-10 03:09)

  • Relaxed joinSignature API to allow SignauteLike. (602e6a8)
  • Initial code drop of new hardware wallet package. (2e8f5ca)
  • Added more docs. (381a72d)

ethers/v5.0.0-beta.165 (2020-01-09 03:31)

  • Fixed require resolution for CLI scripts. (c04f9a7)
  • Added new URLs for default ETC (and ETC testnets) providers. (#351; 3c184ac)

ethers/v5.0.0-beta.164 (2020-01-07 19:57)

  • Use better Description typing. (2d5492c)
  • Better property access on ABI decoded results. (#698; 13f50ab)
  • Better typing support for Description. (d0f4642)
  • Fixed resolveName when name is an address with an invalid checksum. (#694; 1e72fc7)

ethers/v5.0.0-beta.163 (2020-01-06 18:57)

  • Added function to generate CREATE2 addresses. (#697; eb26a6d)
  • Force constructor name to be null (instead of undefined). (a648f2b)
  • Added documentation uploading script. (e593aba)
  • Added Czech wordlist to default wordlists export. (#691; 5724fa5)
  • Added Czech BIP-39 wordlist. (#691; f54f06b)
  • Updated README. (e809ead)
  • Updating docs. (184c459)
  • Merge branch 'yuetloo-ethers-v5-beta' into ethers-v5-beta (06cafe3)
  • Add circleci and parity test files (fdf0980)
  • Fixed typo in package test dist scripts. (9c78c7f)

ethers/v5.0.0-beta.162 (2019-11-25 0:02)

  • Update elliptic package to protect from Minerva timing attack. (#666; cf036e1)
  • Browser and node testing works again. (4470477)

ethers/v5.0.0-beta.161 (2019-11-23 21:43)

  • Updated dist files (sorted package.json to reduce package version change chatter). (f308ba3)
  • Stubs for adding throttle support. (2f0e679)
  • Refactor wordlists. (abab9f6)
  • Browser testcases work again. (c11c2e2)
  • Added dist files for non-English wordlists. (3d75c52)
  • Sync GitHub issue cache. (29f0e9d)

ethers/v5.0.0-beta.160 (2019-11-20 18:36)

  • Updated API in testcases. (3ab3733)
  • Fixed scrypt import in ESM build. (b72ef27)
  • Fixed null apiKey problem for InfuraProvider. (e518151)
  • Added support for sighash-style tuple parsing. (19aaade)
  • Fixed solc imports for cli. (c35ddaf)
  • Added nonce manager to experimental index. (8316406)
  • Removing NodesmithProvider from default provider as it is being discontinued. (01ca350)
  • Moved bare ABI named functions and events from Interface into Contracts to simplify other consumers of Interface. (da8ca2e)
  • Added support for complex API keys including support for INFURA project secrets. (#464, #651, #652; 1ec5804)
  • Migrated to scrypt-js v3. (75895fa)
  • Moved getDefaultProvider to providers package. (51e4ef2)
  • Migrating providers to modern syntax and scoping. (#634; e1509a6)
  • Migrating to modern syntax and scoping. (#634; 394c36c)
  • Added provider property to Web3Provider. (#641; 1d4f90a)
  • Updated GitHub issue cache. (494381a)
  • Force deploy receipt to address to be null. (#573; d9d438a)
  • Updated experimental NonceManager. (3d514c8)
  • Fixed typo in error message. (28339a9)
  • Added GitHub issue caching. (fea867a)

ethers/v5.0.0-beta.159 (2019-10-17 01:08)

  • Removing TypeScript build files from npm to fix excessive package diffs.
  • Fixed getBlock for blockhashes with a leading 0. (#629; 12cfc59)

ethers/v5.0.0-beta.158 (2019-09-28 01:56)

  • Added less-common, but useful, coding functions to Interface. (778eb3b)
  • Add response handling and 304 support to fetchJson. (3d25882)
  • Allow numeric values in a transaction to be odd-lengthed hexstrings. (#614; a12030a)
  • Simpler crypt for admin tools. (828c8cf)

ethers/v5.0.0-beta.157 (2019-09-08 02:43)

ethers/v5.0.0-beta.156 (2019-09-06 17:56)

  • Removed export star to fix UMD dist file. (4c17c4d)
  • Updated TypeScript version. (e8028d0)
  • Fixed test suites and reporter. (1e0ed4e)
  • Added lock-versions admin tool. (2187604)
  • Updated packages with version lock and moved types. (85b4db7)
  • Fixed typo in error message. (#592; 019c1fc)
  • Fixed build process to re-target browser field to ES version. (3a91e91)
  • Major overhaul in compilation to enable ES6 module generation. (73a0077)
  • Updated some of the flatworm docs. (81fd942)
  • Fixed package descriptions. (#561; ebfca98)

ethers/v5.0.0-beta.155 (2019-08-22 17:11)

  • Added Wrapped Ether and Token transfers to CLI. (c031a13)
  • Fixed sendTransaction and use median gas price in FallbackProvider. (07e1599)
  • Port optional Secret Storage wallet address to v5. (#582; a12d60d)
  • Updated flatworm docs output. (8745a81)
  • Added initial flatworm documentation stubs. (0333a76)

ethers/v5.0.0-beta.154 (2019-08-21 01:51)

  • Use safe transfer for ENS in CLI. (b7494d8)
  • Fixed quorum-matching logic for FallbackProvider. (b304ec1)
  • Added CloudflareProvider. (#587; 621313d)
  • Added receipt to CALL_EXCEPTION errors. (724c32e)

ethers/v5.0.0-beta.153 (2019-08-06 19:15)

  • Updated gas estimate failure messaging to include that the tx may simple be causing a revert. (edb26b1)
  • Additional sanity checks in ethers-ens. (de4b2a4)
  • Fix bug in --wait for CLI. (9977c9f)
  • Added content-hash support to ENS CLI. (7dfef46)

ethers/v5.0.0-beta.152 (2019-08-05 14:37)

  • Using CLI --wait instead of custom Plugin flag for ethers-ens. (19ee2b5)
  • Added --wait as a general flag to CLI. (7640292)
  • Added migrate-registrar and transfer to ENS CLI. (31e8e1b)
  • Include data in the CLI transaction dump. (53bd96a)
  • Better errors on gas estimation failure. (0e6b810)

ethers/v5.0.0-beta.151 (2019-08-05 14:29)

  • Added package name prefix to all _version for Logger. (692589d)

ethers/v5.0.0-beta.150 (2019-08-03 01:07)

  • Fixed old references to errors package. (1cabce7)
  • Added generation scripts for Table A.1 for stringprep. (#42; b21681a)

ethers/v5.0.0-beta.149 (2019-08-03 00:45)

  • Fixed some case-folding and added Table A.1 for IDNA. (#42; f955dca)
  • Removed references to legacy errors pacakge and updated umbrella pacakge. (c09de16)
  • Updated admin module to use new fetchJson. (226c100)
  • Updated dist files. (8354c3f)
  • Full case-folding for IDNA in namehash. (0af95f4)
  • Deprecating errors for logger. (0b224e8)
  • More consistent debug events for Providers. (e8f28b5)

ethers/v5.0.0-beta.148 (2019-07-27 18:56)

  • Initial drop of new ENS CLI tool. (c3c65b2)
  • Added TypeScript tool support for functions with multiple outputs. (6de4a5d)
  • Added CLI support for stand-alone (no sub-command) tools. (b67b121)
  • Make utils.resolveProperties preserve object parameter order. (74dbc28)
  • Added initial IDNA support for full UTF-8 support in namehash. (#42; 28eb38e)

ethers/v5.0.0-beta.147 (2019-07-23 01:04)

  • Use the CLI solc instead of solc directly for ABI testcase generation. (99c7b1c)
  • Added experimental UTF-8 functions for escaping non-ascii strings. (b132e32)
  • Bump Solidity version in CLI to 0.5.10. (6005248)

ethers/v5.0.0-beta.146 (2019-07-20 21:06)

  • Keep extra filter topics when using Frgment filters in Contracts. (efaafb2)
  • Updated package.json description for Contract package. (#561; d88ee45)

ethers/v5.0.0-beta.145 (2019-07-20 20:12)

  • Export provider.Formatter. (#562; 083fd76)
  • Update CLI to use new Fragment.format style. (9a41199)
  • Added FormatTypes to utils. (a05027c)
  • Added experimental memory-hard password scheme for password-protected mnemonics to the CLI. (5877418)
  • Added more flexible output options to fragment.format (JSON and minimal) and better JSON object parsing. (e9558c8)

ethers/v5.0.0-beta.144 (2019-07-09 17:28)

ethers/v5.0.0-beta.143 (2019-07-02 16:12)

  • Adding more support for offline signing in the CLI. (9cc269c)
  • Allow providers to prepare their Network object. (6484908)
  • Export BIP-44 default path in ethers.utils. (04bdf45)

ethers/v5.0.0-beta.142 (2019-06-28 16:13)

  • Do not require a Signer for contract.populateTransaction. (0e78386)
  • Bumping version of solc to 0.5.9. (e2da447)

ethers/v5.0.0-beta.141 (2019-06-24 21:25)

  • Fix non-ES6 import in keccak256. (5eb393d)
  • Refactored wordlist exports to export Wordlist directly. (746d255)

ethers/v5.0.0-beta.140 (2019-06-12 01:25)

  • Move from node-fetch to cross-fetch; better browser fallback implementation. (826ffbc)
  • Added getStatic with support for inheritance of static methods. (5e4535e)
  • Fixed node-fetch for Safari (todo: push this fix upstream to node-fetch). (7164e51)
  • Migrated XMLHttpRequest to fetch API. (#506; 62201c5)

ethers/v5.0.0-beta.139 (2019-06-11 17:55)

  • Removed freeze option from deepCopy; all properties are read-only and only objects may have new properties added. (1bc792d)
  • Moved away from isNamedInstance which breaks after Browserify name mangling. (257d67c)
  • Expose poll function in utils. (#512; e6f6383)
  • Make TransactionResponse hash required. (#537; 095c1fe)

ethers/v5.0.0-beta.138 (2019-06-04 16:05)

ethers/v5.0.0-beta.137 (2019-06-01 14:06)

  • Fixed invalid arrayify value in browser for SHA2-HMAC. (#530; c4a494b)
  • Fix event and function fragment formatting. (a2d4b29)
  • Fixed default JsonRpcSigner. (#532; 5ba6a61)
  • Added changelog management to update-versions. (4a3f719)

ethers/v5.0.0-beta.136

ethers/v5.0.0-beta.135

  • Better error message for unconfigured ENS names. (#504; 3cbc4b4)
  • Fixed contract events. (#404; 8cdda37)
  • Updated license for BaseX to include original authors; was only included in the source. (03c9725)