Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency web3 to v1.0.0-beta.55 - autoclosed #36

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 10, 2019

This PR contains the following updates:

Package Type Update Change References
web3 devDependencies patch 1.0.0-beta.34 -> 1.0.0-beta.55 source

Release Notes

ethereum/web3.js

v1.0.0-beta.55

Compare Source

Documentation

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

The web3-bzz module got removed because the used swarm-js dependency is no longer maintained and outdated. We recommend using erebos as alternative.

Issues

v1.0.0-beta.54

Compare Source

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.

Fixed Issues
Other Improvements

I've updated the error handling of the underlying socket connections for the IpcProvider and the WebsocketProvider.

v1.0.0-beta.53

Compare Source

This release contains several bug fixes and some new modules and methods.

Compare view beta.52 - beta.53

We have currently an open discussion about the coming stable release of Web3.js.
Feel free to join the discussion here.

New Modules

Thanks for adding the Management API modules Minner, TxPool, Admin, and 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.

New Methods
Fixed Issues

v1.0.0-beta.52

Compare Source

This release contains several bug fixes and some other improvements.

web3.eth.getAccounts()

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.

Documentation

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!

Demo GIF

Fixed Issues

#​2527 #​2499 #​2444 #​2465 #​2611 #​2612 #​2601 #​2411 #​2607 #​2614 #​2602 #​1681 #​1204 #​1015 #​2534 #​2514 #​2494 #​2490 #​2383 #​2647

v1.0.0-beta.51

Compare Source

Breaking Change

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.

Fixed Issues

#​2587 #​2591 #​2553 #​2583 #​1021 #​1517 #​1074 #​1169 #​2033 #​1793 #​1126 #​1134 #​2578 #​2569 #​2563 #​2571 #​2570 #​2565 #​2558 #​2559 #​1802 #​2551 #​2554 #​2555 #​2539 #​2532 #​2350

v1.0.0-beta.50

Compare Source

This release will fix the contract event subscriptions filter property handling and the returned version of the web3.version property.

Issues

v1.0.0-beta.49

Compare Source

This release fixes some issues, improves the architecture and increased the QA.

Issues

#​2503, #​2508, #​2484, #​2488, #​2507, #​2441, #​2500, #​2418, #​2502, #​2501, #​2482, #​2469, #​2467, #​2457

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.

v1.0.0-beta.48

Compare Source

This release contains smaller patch fixes regarding the provider handling, the decoding of event logs and for the contract method return values.

Closed issues:

v1.0.0-beta.47

Compare Source

Issues

I've closed a lot of issues and improved the stability of the Web3.js project.

The following issues got closed with this release:
#​2329 #​2364 #​2356 #​2378 #​1998 #​1255 #​2300 #​2431 #​2183 #​2266 #​2424 #​2374 #​2382 #​2396 #​2401 #​2341 #​2365 #​2368 #​2369 #​2375 #​2377 #​2381

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 Web3 and Eth. Closer details are explained in the documentation and the reason why the refactoring happened is described in this PR.

AbiCoder.decodeLog improvements

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.

v1.0.0-beta.46

Compare Source

v1.0.0-beta.44

Compare Source

The following release does fix the encoding of bytes* values with the abi coder of ethers.js. The method asciiToHex does convert the string to a bytes32 value by default but this can be configured with the second parameter the method has now. Please check out the documentation here for further details.

These are all fixed issues in this release:

v1.0.0-beta.43

Compare Source

Hotfix for postinstall script.

v1.0.0-beta.42

Compare Source

This release contains the following fixed issues:

v1.0.0-beta.41

Compare Source

Default properties in AbstractWeb3Module increased and TransactionConfirmationWorkflow updated.

v1.0.0-beta.40

Compare Source

This release will fix the transaction handling, VersionMethod and the babel dependency:

Issues:
#​2252
#​2249
#​2246
#​2243
#​2239

v1.0.0-beta.39

Compare Source

This release will fix the TypeScript type definitions and deep cloning of the contract arguments.

Issues:

v1.0.0-beta.38

Compare Source

Implemented the EthereumProvider in web3.js and ported the library to ES6 with a refactoring of the core, eth, ssh, ens, net and bzz modules.

v1.0.0-beta.37

Compare Source

This is a small patch build to fix two critical issues:

v1.0.0-beta.36

Compare Source

v1.0.0-beta.35

Compare Source

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);

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

@pubkey
Copy link
Owner

pubkey commented May 13, 2019

Will maybe fixed here: web3/web3.js#2786

@nivida
Copy link

nivida commented May 14, 2019

The hotfix would be to pass http:// to the constructor of the Web3 object @pubkey. It was never thought to use Web3 without a provider and I'm currently in discussion with the truffle team who used Web3 this way. Hopefully, we have soon a list together with all open questions. :-)

@pubkey
Copy link
Owner

pubkey commented May 14, 2019

@nivida I tried that, but then in line 54 const receipt = await state.web3.eth.sendTransaction(rawTx); does not resolve. Are there also other things broken in web3 again?

@nivida
Copy link

nivida commented May 14, 2019

@pubkey We have improved the transaction confirmation workflow and it's required to set the transactionConfirmationBlocks property to the right amount of confirmations you would like to wait (default: 24).

@renovate renovate bot changed the title Update dependency web3 to v1.0.0-beta.55 Update dependency web3 to v1.0.0-beta.55 - autoclosed May 15, 2019
@renovate renovate bot closed this May 15, 2019
@renovate renovate bot deleted the renovate/web3-1.x branch May 15, 2019 20:50
@pubkey
Copy link
Owner

pubkey commented May 15, 2019

@nivida thank you so much, that worked.
Being able to set transactionConfirmationBlocks is a great improvement btw.

@shikharfb
Copy link

shikharfb commented May 17, 2019

pass http:// to the constructor of the Web3 object

Can you please give a code example? I don't understand it.
I'm using Ganache package of npm to set the provider

web3.setProvider(ganache.provider());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants