Version 3.0.1
This is a major version release with several breaking changes:
- Solidity functions with only one return variable, return it directly
ethers._SigningKeyis removed- The entire package is one large package, so require('ethers-utils') should become require('ethers/utils'); similarly 'ethers-contracts' ('ethers/contracts'), 'ethers-providers' ('ethers/providers') and 'ethers-wallet' ('ethers/wallet').
- The AbiCoder has been moved to utils, so
Interface.encodeParamsbecomesAbiCoder.prototype.encodeand similarlyInterface.decodeParamsbecomesAbiCoder.prototype.decode. - Legacy boolean Provider network parameters no longer work; for Ropsten, please pass in "ropsten"
- Provider.prototype.testnet is no longer present
- The Interface
method.inputsandmethod.outputshave changed to support ABI v2, so they are no longer compatible with the old format and each have 2 sub-properties,typesandnames.