Skip to content

Releases: web3/web3.js

Release 0.15.2

12 Feb 13:13
Compare
Choose a tag to compare
  • Add web3.eth.sign(address, dataToSign)
  • Fixes #38, #354 and others
  • BREAKING: removed autoconverting of string etc in whisper payloads: 1f91f6b, 2c7db81

Release 0.15.0

30 Oct 12:51
Compare
Choose a tag to compare

This release includes minor bug fixes and a new way to get the call data of a contract call.

To get the call data when creating a new contract:

web3.contract(myABI).new.getData(param1, param2, {data: '0x12345...'})
// Returns e.g:  0x1234500000000003240000000023423

To get the call data of a contract method

var my contract = web3.contract(myABI).at(address);

contract.myMethod.getData(param1, param2)
// Returns e.g:  0x1234500000000003240000000023423

Release 0.14.0

19 Oct 15:21
Compare
Choose a tag to compare

This release makes it possible to have multiple instances of web3 running and using multiple providers.

Therefore you need to instantiate now web3 yourself (except when you use mist later on)

var Web3 = require('web3');
// create an instance of web3 using the HTTP provider.
// NOTE in mist web3 is already available, so check first if its available before instantiating
var web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545"));

Release 0.13.0

15 Sep 16:10
Compare
Choose a tag to compare

This release contains the new web3.eth.syncing property and web3.eth.isSyncing(callback) convenience function.

Note that the functionality in the nodes comes with the next release, so you can't use it just yet.

Example:

web3.eth.isSyncing(function(error, sync){
    if(!error) {
        // stop all app activity
        if(sync === true) {
           // we use `true`, so it stops all filters, but not the web3.eth.syncing polling
           web3.reset(true);

        // show sync info
        } else if(sync) {
           console.log(sync.currentBlock);

        // re-gain app operation
        } else {
            // run your app init function...
        }
    }
});

Release 0.12.2

12 Aug 08:45
Compare
Choose a tag to compare
  • encoding/decoding string fixes
  • fixed validation on 35 characters iban numbers
  • other small fixes

Release 0.12.1

10 Aug 19:09
Compare
Choose a tag to compare

Release 0.12.0

08 Aug 19:23
Compare
Choose a tag to compare
  • allow ICAP addresses
  • throw an error on invalid address

Release 0.11.0

08 Aug 09:38
Compare
Choose a tag to compare
  • fixed lint issues
  • sendIBANTransaction

Release 0.10.0

03 Aug 13:33
Compare
Choose a tag to compare
  • fixed encoding/decoding of fixed size arrays
  • support for decoding nested arrays
  • partial support for encoding nested arrays

Release 0.9.2

27 Jul 09:08
Compare
Choose a tag to compare
  • fixed web3.toHex in go js environment. Method isFinite behaves differently there.
  • fixed Content-Type