ethers.js/CHANGELOG.md
2021-06-24 02:13:06 -04:00

38 KiB

Changelog

This change log is managed by admin/cmds/update-versions but may be manually updated.

ethers/v5.4.0 (2021-06-24 01:34)

ethers/v5.3.1 (2021-06-10 18:28)

  • Fixed replacement transaction detection for JsonRpcSigner. (#1658; ee82e86)
  • Added Matic testnet info to networks. (#1546; 376cf3c)
  • Match Solidity identifier regex. (#1657; a6e128f)

ethers/v5.3.0 (2021-05-31 18:41)

  • Added MinInt256 and MaxInt256 constants. (#1576; bfcd05f)
  • Version bumps for bn.js and hash.js to match elliptic and fix some build tools. (#1478; 819b1ac)
  • Removed Hangul checks in shims which crashes Android. (#1519; 4b33114)
  • Fixed ENS namehash with leading and trailing dots. (#1605; 7adcf3b)
  • Fixed broken variable in template string. (#1624, #1626; 630656e)
  • Fixed FixedNumber rounding for non-default formats. (#1629; 8681cd5)
  • Update ws dependency version to fix security. (#1633, #1634; 470551e)

ethers/v5.2.0 (2021-05-17 16:18)

  • More aggresively check for mempool transactions sent from JsonRpcSigner. (3316468)
  • Added initial support for detecting replacement transactions. (#1477; 987bec8, 5144acf)
  • Added convenience method for HD path derivation. (aadc5cd)
  • Added mnemonicPath option to cli. (6e08809)
  • Added some popular Ethereum-compatible chains to networks. (b6370f1)
  • Added debug event to Web3Provider. (26464c5)
  • Abstracted EtherscanProivder to more easily fascilitate other Etherscan-supported chains. (#1204, #1473; 37a9c77)
  • Added Custom Contract Errors. (#1498; 6519609, 483d67f)
  • More flexible FixedNumber input and output for strings with no decimals. (#1019, #1291, #1463; a9cdbe1)
  • Added hex support for bigint. (#1472; 4e9abfd)
  • Added support for null entries in EventFilter. (#1499; 3bb5fbf)
  • Add bigint to allowed BigNumberish types. (#1472; cadccc3)
  • Minor version bump. (8e22e02)

ethers/v5.1.4 (2021-04-22 06:33)

ethers/v5.1.3 (2021-04-19 21:01)

  • Fixed JsonRpcProvider event-loop caching when using any network. (#1484; 58488e7)
  • Updated experimental Eip1193Bridge to support final EIP-1193 API. (2911659)
  • Fail early for ABI decoding that will obviously run out of data. (#1486; 51f0e1a)
  • Fixed BigNumber toBigInt return type. (#1485; c086962)

ethers/v5.1.2 (2021-04-18 19:31)

  • Increase provider tests gas price for sending a transaction. (8eaeba3)
  • Fixed run-checking non-filter Contract events. (#1458; 4a44865)

ethers/v5.1.1 (2021-04-18 02:47)

  • Increased sendTransaction timeout to 15 minutes and pull Pocket from tx tests. (08adc18)
  • Export Eip1193Bridge in experimental package. (1fcf4b6)
  • Prevent non-typed transactions from unsafely ignoring specified access lists. (#1364; 4577444)
  • Update tests for current EIP-2930 support across backends. (#1364; 1cb3199)
  • Removed underscore from the JsonRpcBatchProvider name. (#62, #656, #892; ae0d5eb)
  • Added better error detection when pre-EIP-155 transactions are disabled. (b8df000)
  • Fix Android React Native environment shims which crash on normalizing Korean test. (#1298; eb1ec2f)
  • Fixed EIP-2930 transactions for EtherscanProvider. (#1364; b655089)
  • Re-enable AlchemyProvider Berlin tests. (bec066b)
  • Added experimental _JsonRpcBatchProvider. (#62, #656, #892; d55ab6d)
  • Cache JsonRpcProvider requests for certain methods per event loop. (#1371; 1a7c4e8)

ethers/v5.1.0 (2021-03-30 14:44)

  • Added BigNumber.toBigInt method. (#1415; 81fd628)
  • Abstracted Contract with BaseContract without meta-class properties for easier extensions. (#1384; 87ceaed)
  • Fixed Contract properties that collide with null member properties. (#1393; 0e1721b)
  • Added EIP-2930 support. (#1364; c47d2eb)
  • Added abstraction for EIP-2718 support. (1db4ce1)

ethers/v5.0.32 (2021-03-07 18:17)

  • Bumped TypeScript to 4.2.2. (#1288; b2ecffb)
  • Fixed shims from not displaying debug information. (a953f71)
  • Force TypedData numbers to be in decimal. (#1193; c5a53d6)

ethers/v5.0.31 (2021-02-12 19:04)

  • Prevent unhandled rejections when passing nullish into Contract constructor. (#1234; d937668)
  • Better error messaging when provider backends give bogus responses. (#1243; 8279120)
  • Prevent unconfigured ENS names from making an init tx. (#1290; 243beff)

ethers/v5.0.30 (2021-02-08 15:22)

  • When in Status trigger personal_sign instead of eth_sign. (#1285; 73e9434)
  • Bump elliptic version for CVE-2020-28498. (#1284; 796954f)

ethers/v5.0.29 (2021-02-03 14:36)

ethers/v5.0.28 (2021-02-02 17:12)

  • Added load balancer support to PocketProvider. (#1052; 27a981c)

ethers/v5.0.27 (2021-02-01 15:55)

  • Added support for networks with slightly incorrect EIP-658 implementations. (#952, #1251; e727efc)
  • Added Pocket network to the default provider. (#1030, #1052; 4af2c19)
  • Added TypeScript declaration maps. (#401; 3396846)

ethers/v5.0.26 (2021-01-13 14:47)

ethers/v5.0.25 (2021-01-08 03:31)

  • Safety check on digest length for signing. (20335e9)
  • Fixed listenerCount for contract when requesting for all events. (#1205; a56a0a3)
  • Lock package versions for the ESM builds. (#1009; 0e6cc9a)

ethers/v5.0.24 (2020-12-08 01:43)

  • Fixed EIP-712 getPayload dropping EIP712Domain from types for JSON-RPC calls. (#687; d3b1ac0)
  • Remvoed dead files. (70c2b1b)

ethers/v5.0.23 (2020-11-25 15:25)

  • Fix BigNumber when passed something with a length property. (#1172; 45a2902)

ethers/v5.0.22 (2020-11-23 19:16)

  • Added directory to repo field for each package. (799896a)
  • Add ABI coder function to compute default values. (#1101; a8e3380)
  • Fix for new versions of Geth which return formatted data on revert rather than standard data. (#949; 4a8d579)
  • Addd missing sideEffects flag to some packages. (20defec)
  • Allow base-10 to be passed into BigNumbner.toString and improve errors for other radices. (#1164; c8bb77d, fbbe4ad)
  • Allow private keys to Wallet to omit the 0x prefix. (#1166; 29f6c34)

ethers/v5.0.21 (2020-11-19 18:52)

  • Force address to use bignumber package with base36 private functions. (#1163; c9e5480)
  • Remove stray console.log in hardware wallets. (#1136; cc63e61)
  • Added some funding links for the sponsor button. (2816850)
  • Remove invalid pkg.module reference. (#1133; cddc258)

ethers/v5.0.20 (2020-11-17 20:32)

ethers/v5.0.19 (2020-10-22 21:55)

  • Allow 0x as a numeric value for 0 in Provider formatter. (#1104; fe17a29)
  • Use POST for long requests in EtherscanProvider. (#1093; 28f60d5)
  • Added verifyTypedData for EIP-712 typed data. (#687; 550ecf2, a21202c)

ethers/v5.0.18 (2020-10-19 01:26)

ethers/v5.0.17 (2020-10-07 20:08)

  • Better error message for parseUnits of non-strings. (#981; 5abc2f3)
  • Add gzip support to AlchemyProivder and InfuraProvider fetching. (#1085; 38a068b)
  • Add gzip support to getUrl in node. (#1085; 65772a8)
  • Added CommunityResourcable to mark Providers as highly throttled. (a022093)
  • Added debug event info to WebSocketProvider. (#1018; 8e682cc)

ethers/v5.0.16 (2020-10-05 15:44)

ethers/v5.0.15 (2020-09-26 03:22)

  • Add more accurate intrinsic gas cost to ABI calls with specified gas property. (#1058; f0a5869)
  • Better errors for unconfigured ENS names. (#1066; 5cd1668)
  • Updated CLI solc to versin 0.7.1. (4306b35)

ethers/v5.0.14 (2020-09-16 02:39)

  • More robust blockchain error detection (#1047; 49f7157)
  • Forward blockchain errors from Signer during gas estimation. (#1047; 9ee685d)
  • Improve fetch errors with looser mime-type detection. (#1047; 263bfe5)

ethers/v5.0.13 (2020-09-11 02:10)

  • Force content-length in web fetching. (be92339)
  • Better error forwarding from FallbackProvider. (#1021; bc3eeec)
  • Add clamping functions to FixedNumber. (#1037; 042b74e)

ethers/v5.0.12 (2020-09-07 19:54)

  • Allow events to use compact bytes ABI coded data for Solidity 0.4 external events. (#891, #992; 4e394fc)

ethers/v5.0.11 (2020-09-05 23:51)

  • Synced unorm in shims to most recent version. (bdccf7b)
  • Fixed LedgerSigner sendTransaction. (#936; cadb28d)
  • Added BrainWallet to experimental exports. (72385c2)
  • More readable server errors. (201e5ce)

ethers/v5.0.10 (2020-09-05 01:21)

ethers/v5.0.9 (2020-08-25 01:45)

  • Updated docs for all packages on npm pages. (#1013; cb8f4a3)
  • Added JSON support to BigNumber. (#1010; 8facc1a)
  • Updated packages for security audit. (5b5904e)
  • Fix emitted error for ABI code array count mismatch. (#1004; b0c082d)

ethers/v5.0.8 (2020-08-04 20:55)

ethers/v5.0.7 (2020-07-20 02:22)

ethers/v5.0.6 (2020-07-16 05:54)

  • Removed unnecessary dependency from BigNumber. (#951; 78b350b)
  • Longer Etherscan throttle slot interval. (9f20258)
  • Fixed ENS overrides for the default provider. (#959; 63dd3d4)
  • Added Retry-After support and adjustable slot interval to fetchJson. (7d43545)
  • Added initial throttling support. (#139, #904, #926; 88c7eae)
  • Use status code 1000 on WebSocket hangup for compatibility. (588f64c)
  • Updated WebSocketProvider to use web-style event listener API. (57fd6f0)
  • Normalize formatUnits to simplified decimals. (79b1da1)
  • Prevent zero-padding on Solidity type lengths. (e128bfc)
  • Set sensible defaults for INFURA and AlchemyAPI getWebSocketProvider methods. (e3d3e60)
  • Added logger assert methods. (619a888)
  • Added initial code coverage testing. (0c1d55b)
  • Added destroy to WebSocketProvider. (d0a79c6)
  • Updated packages (security updates). (c660176)

ethers/v5.0.5 (2020-07-07 23:18)

  • Fixed splitSignature when recoveryParam is encoded directly. (#893, #933; bf65ddb)
  • Fixed BigNumber string validation. (#935; 7e56f3d)

ethers/v5.0.4 (2020-07-04 23:46)

  • Prevent negative exponents in BigNumber. (#925; 84e253f)
  • Fixed StaticJsonRpcProvider when auto-detecting network. (#901; 0fd9aa5)
  • Added WebSocket static method to Alchemy provider and updated Alchemy URLs. (4838874)

ethers/v5.0.3 (2020-06-29 00:50)

  • Fixed typo in error string. (7fe702d)
  • Updated elliptic package to address possible malleability issue; which should not affect Ethereum. (9e14345)
  • Fixed FixedNumber unguarded constructor and added isZero. (#898; 08c74e9)
  • Added StaticJsonRpcProvider for reducing calls to chainId in certain cases. (#901; c53864d)
  • Allow getDefaultProvider to accept a URL as a network. (8c1ff4c)
  • Make network an optional parameter to WebSocketProvider. (987b535)
  • Removed deprecated errors package. (f9e9347)
  • Updated badges in docs. (d00362e)
  • Create security policy. Create security policy. (88e6849)

ethers/v5.0.2 (2020-06-13 21:36)

  • Allow provider.ready to stall until the network is available. (#882; bbb4f40)
  • Reduce dependencies to squash security issues. (738d349)
  • Updated admin scripts for publishing prod releases. (e0e0dbe)

ethers/v5.0.1 (2020-06-12 23:09)

  • Fixed embedded package version strings. (5a69e9c)

ethers/v5.0.0 (2020-06-12 19:58)