Version 2.0.0-alpha was version 1.0.0-beta.55 before.
- Sending of locally signed transactions as
- Automatic increason of the nonce for locally signed transactions (#2796)
- Supported node versions changed (#2820)
hexToNumberStringprefix validation (#2184)
- Draft implementation of the EIP-1193 improved (#2856, #2862, #2854)
- Documentation typo (#2806)
- Contract method parameter handling fixed (#2815)
isBigNumberexport fixed (#2835)
getBlocktypes fixed (#2819)
- Transaction confirmation workflow fixed for parity (#2847)
WebsocketProviderevent handling fixed (#2711)
WebsocketProvidermemory leak fixed (#2851)
We have added some new examples to the Module API documentation.
Feel free to open a GitHub issue with your feedback about the new Module API.
web3-bzz module got removed because the used
swarm-js dependency is no longer maintained and outdated. We recommend using erebos as alternative.
Web3 Module API Documentation
The Module API gives you the possibility to create your own custom Web3 Module with JSON-RPC methods, subscriptions, or contracts.
The Web3 standard modules are a good example of the API the core does provide.
I've updated the error handling of the underlying socket connections for the
IpcProvider and the
This release contains several bug fixes and some new modules and methods.
We have currently an open discussion about the coming stable release of Web3.js.
Feel free to join the discussion here.
Thanks for adding the Management API modules
Debug @princesinha19. The newly added modules are standalone modules which means you have to install and import them separately.
Please read the documentation for further details.
This release contains several bug fixes and some other improvements.
I've extended the functionality of the
getAccounts method. It will now first check if there are unlocked local accounts and if there are existing local unlocked accounts it will then return them instead of sending the
eth_accounts JSON-RPC request to the node.
I've added additional information to the documentation regarding the contract module and updated the code examples. We have started to rewrite the documentation and to extend it with live examples here. Thanks to @OFRBG who created the base structure!
Instead of transforming numbers to string values do we return now the BigNumber object we get from the AbiCoder. This breaking change does only have an impact on your contracts of your DApp.
Local Transaction Signing
I've fixed all issues regarding the signing of transactions. Web3.js is now using the ethereumjs-tx package for it. Thanks to the ethereumjs team!
WebKit and Gecko CORS errors
I've fixed the CORS error we had with WebKit and Gecko based browsers.
This release fixes some issues, improves the architecture and increased the QA.
Transaction Confirmation Workflow
The transaction confirmation workflow for a
HTTP connection and the chain re-org handling with a socket connection got improved. Be aware to configure your Web3 instance correctly in your development environment.
This release contains smaller patch fixes regarding the provider handling, the decoding of event logs and for the contract method return values.
I've closed a lot of issues and improved the stability of the Web3.js project.
Accounts module improvements
I've refactored the eth-accounts module and do now provide the new possibility to customize the signing process of the Eth modules. You can now pass your own custom
TransactionSigner class over the module options of
Eth. Closer details are explained in the documentation and the reason why the refactoring happened is described in this PR.
I've also improved the
decodeLog method in the eth-abi module which will be used for the contract event logs. We have an open issue where we discuss the
EventLog object interface the
decodeLog method is returning. Feel free to join this and many other discussions here on GitHub.