Skip to content

Releases: web3/web3.js

web3.js 1.0.0-beta.35

25 Jul 13:29
6510fe5
Compare
Choose a tag to compare
web3.js 1.0.0-beta.35 Pre-release
Pre-release

This adds support for the stateMutability property fo solidity 0.5.0, and some minor fixes.

Breaking change:

The HTTP provider now accepts an options object, instead of timeout and headers parameters:

var options = {
    timeout: 20000, // milliseconds,
    headers: [{name: 'Access-Control-Allow-Origin', value: '*'},{...}]
};
var http = new Web3HttpProvider('http://localhost:8545', options);

web3.js 1.0.0-beta.34

13 Apr 16:13
fcf6997
Compare
Choose a tag to compare
web3.js 1.0.0-beta.34 Pre-release
Pre-release

This release includes a change where the status property from receipts is now a Boolean and not 0x0 or 0x1 anymore.
Also the web socket provider now accepts an options object with timeout and headers.

v0.20.6 latest maintenance release

19 Apr 13:32
cd1cfd9
Compare
Choose a tag to compare

Release 0.19.0

09 May 11:14
Compare
Choose a tag to compare

Another maintenance release with some small additions.
The main work is going into 1.0 at #558 right now.

This release contains the following additions:

  • Checks for the right argument number in contract functions thanks to @cdetrio
  • Fix for "filterCreationErrorCallback is not a function" thanks to @obale
  • Export padLeft and padRight as functions on the web3 object thanks to @nanexcool
  • added web3.eth.signTransaction() thanks to @denisgranha
  • adding personal.importRawKey, personal.sign and personal.ecRecover thanks to @peculiarity

Also thanks goes to @peculiarity and @zmitton for smaller fixes.

Release 0.18.4

29 Mar 09:49
76f8798
Compare
Choose a tag to compare

Adds web3.eth.signTransaction()

Release 0.18.2

13 Jan 12:41
12bea40
Compare
Choose a tag to compare

Small patch for the node module fixing #548

Release 0.18.1

12 Jan 14:45
274b37c
Compare
Choose a tag to compare

This is a minor patch to ensure compatibility with go-ethereum aka geth

Release 0.18.0

06 Jan 11:16
cbd5746
Compare
Choose a tag to compare

This release supersedes the never officially released 0.17.0-beta

This contains Fixes and additions from @NodeGuy, @phiferd, @pedrobranco, @federicobond, @jbaylina, @YESPPG and @gaiazov. Mainly fixes on the contract call decoder and async fixes.

This also adds the experimental Swarm API. Please be aware that it might change.

The main work is right now going on the 1.0 branch. To follow the work take a look at the PR #423

Release 0.16.0

22 Mar 16:59
Compare
Choose a tag to compare

This version introduces the web3.personal.lockAccount(address) method.
It fixes an issue with sha3 not returning HEX with 0x prefix and it now allows to pass the options parameter to the sha3 method.

also the inputAddressFormatter will now throw an exception when a wrong address is passed.

Release 0.15.3

29 Feb 15:44
Compare
Choose a tag to compare

This is a minor release with a new address checksum scheme.

  • web3.toChecksumAddress(address) - converts any address to a checksummed address (0xfb6916095ca1df60bb79ce92ce3ea74c37c5d3590xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359) according to Vitalik's EIP
  • web3.isChecksumAddress(address) - returns true if an address contains a valid checksum, otherwise false. Only checks case matching the address, doesn't check address format.
  • web3.isAddress() - returns false if it's not on a valid address format. Returns true if it's an all lowercase or all uppercase valid address. If it's a mixed case address, it checks using web3.isChecksumAddress().

Thanks to @dan-turner who we added web3.personal with account unlocking and creating functionality. Be aware that you have to enable that first when using RPC over HTTP using the --rpcapi flag. Please read more here: https://github.com/ethereum/go-ethereum/wiki/Command-Line-Options

Note that many of the API will change in the coming 1.0 release, so don't get used to this to much ;)