Changelog
[4.0.0-alpha.0]
Note: Yarn is resolving to some old deprecated package versions for 4.0.0-alpha.0 instead of latest alpha versions. A patch bump is posted so yarn users should use 4.0.1-alpha.0 for testing.
web3-errors
new package is created, it has Web3 Error codes and classesweb3-types
new package is created, it provides the common data structures and interfaces for web3 modulesweb3-validator
new package is created, it has JSON-Schema compatible validator functionality for Web3errors
are moved to web3-errors
package and formatters are moved in web3-core
packageweb3-core-method
functionality is moved to web3-eth
packageweb3-core
packageweb3-core
packageweb3-core
packageextend
is deprecatedoutputBigNumberFormatter
in web3-core-helper
renamed to outputBigIntFormatter
under web3-core
this.defaultBlock
context from inputDefaultBlockNumberFormatter
in web3-core-helper
and converted to additional parameterthis.defaultBlock
context from inputTransactionFormatter
in web3-core-helper
and converted to additional parametersoliditySha3
soliditySha3Raw
encodePacked
now includes type validation and requires type specification, instead of guessing the value typesoliditySha3
, soliditySha3Raw
and encodePacked
did not support BN; But, now supports BigInt
flattenTypes
and jsonInterfaceMethodToString
moved to the web3-eth-abi
packageisAddress
now includes an optional parameter checkChecksum
type booleanisBoolean
now accept 1
, and 0
as valid values to test. Ref: web3-validator
create
function does not take in the optional parameter entropy
Wallet.create
function doesn't accept entropy
paramisBoolean
now accept 1
, and 0
as valid values to test.signTransaction
will not fill any default values, and it will only sign and return result. For filling default values, use web3-eth
packagerecover
function's last param is boolean hashed
, it is used to indicate if data provided is already hashed or not. By default, this function will assume data is not hashed.Wallet
no longer supports address/number indexing. Have to use wallet.get
instead.Wallet.create
function doesn't accept entropy
paramcontract.method.send()
will resolve to transaction receipt instead of transactionHash
. User can use receipt.transactionHash
instead.isDirect
, isValid
, isIndirect
are now also included as static methods.setMultihash
is not supported in web3-eth-ens 4.x as it's deprecated in ENS public resolver (https://github.com/ensdomains/resolvers/blob/master/contracts/PublicResolver.sol)setContent
is not supported in web3-eth-ens 4.x as it's deprecated in ENS public resolver (https://github.com/ensdomains/resolvers/blob/master/contracts/PublicResolver.sol)getContent
is not supported in web3-eth-ens 4.x as it's deprecated in ENS public resolver.getMultihash
is not supported in web3-eth-ens 4.x as it's deprecated in ENS public resolver.internalType
was renamed to baseType
in all abi typesgivenProvider
default value is undefineddefaultHardfork
default value is 'london'defaultAccount
default value is undefineddefaultNetworkId
default value is undefinedtransactionSendTimeout
, throw an Error.clearSubscriptions
Instead of returning true
, clearSubscriptions
now returns array of subscription's idsgivenProvider
default value is undefinedcurrentProvider
default value is undefinedChangelog
[1.3.6]
underscore
package from 1.9.1
to 1.12.1
(#4051)@ensdomains/ens
package from ^0.4.5
to ^0.6.0
(#4059)ethers
package from ^5.0.18
to ^5.1.4
(#4059)Changelog
[1.3.5]
web3-eth2-core
and web3-eth2-beaconchain
packages (#3892)web3.utils.soliditySha3
(#3908).nvmrc
file using Node.js version v.14.15.1
(#3817)1.3.0
and onwards (#3961)web3-eth2-core
and web3-eth2-beaconchain
(#3892)tsc
script in all packages to compile
; updates the corresponding lerna run
usage in the main package.json
(#3894)@chainsafe/geth-dev-assistant
from 0.1.5
to 0.1.9
(#3950)elliptic
from 6.5.3
to 6.5.4
for web3-eth-accounts
(#3941)elliptic
from 6.5.3
to 6.5.4
for web3-bzz
(#3940)elliptic
from 6.5.3
to 6.5.4
for web3-core-requestmanager
(#3945)web3-eth-iban
in ES6 (#3955)Changelog
[1.3.4]
fromBlock
option for logs
subscriptions (defaults to latest
) (#3883)web3-eth2-base
to web3-eth2-core
and web3-eth2-beacon
to web3-eth2-beaconchain
(#3833)ts-node
from version ^8.10.2
to ^9.0.0
(#3856)npm audit fix
which fixed 4 vulnerabilities (#3856)web3-eth2-beaconchain
type declarations (#3859) and (#3865)IBaseAPISchema
and IBaseAPIMethodSchema
to index.d.ts
for web3-eth2-core
(#3878)web3-eth2-core
(#3878)notImplemented
flag from ETH2 Beacon Chain package methods schema (#3861)IETH2BeaconChain
interface in favor of exporting a class type: ETH2BeaconChain
(#3878)index.d.ts
files in favor of types.ts
for web3-eth2-core
and web3-eth2-beaconchain
(#3878)schema.ts
from web3-eth2-core
(#3878)dtslint
npm command from web3-eth2-core
and web3-eth2-beaconchain
as index.d.ts
files were removed (#3878)ETH2Core
class export to index.d.ts
for web3-eth2-core
(#3878)