Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[4.0.0-alpha.1]
Breaking Changes
Connection close is not supported
In 1.x
user had access to raw connection object and can interact with it. e.g.
web3.currentProvider.connection.close();
But this internal behavior is not exposed any further. Though you can achieve same with this approach.
web3.currentProvider.disconnect();
[4.0.1-alpha.2]
Changed
tsc
compiled files moved tolib/
directory fromdist/
(#5739)
[4.0.1-alpha.5]
Removed
build
entry frompackage.json
(#5755)
[Unreleased]
Added
registeredSubscriptions
was added by default in web3 constructor (#5792)- Add named exports for all objects which are the default-exported-object in their packages (#5771)
- Export all packages' objects organized by namespaces (#5771)
- Add Additional flat exports for all types and constants from
web3-types
,web3-errors
andweb3
. (#5771) - Fix few issues with
new Web3().eth.contract
(#5824)
Changed
require('web3')
will now return all web3 exported-objects organized in namespaces . (#5771)
Removed
- Private static
_contracts:Contract[]
and staticsetProvider
function was removed (#5792)