Open greenkeeper[bot] opened 4 years ago
After pinning to 1.2.5 your tests are still failing. The reported issue might not affect your project. These imprecisions are caused by inconsistent test results.
dependency
web3 was updated from 1.2.6
to 1.2.7
.Your tests are passing again with this update. Explicitly upgrade to this version 🚀
Hi!
Alongside some small bug fixes, this release contains two large improvements, authored by @nivida.
The Websocket Provider module has been rewritten and now supports an auto-reconnect option which should dramatically improve the stability of connections to remote clients like Infura. You can enable auto-reconnect by configuring the provider as below.
const Web3 = require('web3');
const options = {
// Enable auto reconnection
reconnect: {
auto: true,
delay: 5000, // ms
maxAttempts: 5,
onTimeout: false
}
};
const ws = new Web3.providers.WebsocketProvider('ws://localhost:8546', options)
More info about configuration can be found in the docs here. (PR #3190).
The ENS module now allows connection to a custom registry. We've also added support for a large number of additional Registry and Resolver methods. The complete ENS API at Web3 is available in the docs here. (PR #3325).
Recently in issue #3456 @Aniket-Engg drew attention to an important breaking change in Geth 1.9.12 which affects Web3 users. From their release notes:
eth_call will not default to your first account any more if you don't explicitly specify a sender. This was done to avoid the same input behaving differently in different environments.
This means that if you're:
view
methods that refer to a msg.sender
estimateGas
.call
... without explicitly setting a from
address in your request options, you may see errors or unexpected behavior.
In Web3.js, the from
address can be specified on a per-call basis or by setting the defaultAccount property
// Call
myContract.methods.myMethod(123).call({from: '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe'});
// Contract
web3.eth.Contract.defaultAccount = '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe';
// Instance
contractInstance.defaultAccount = '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe';
// All
web3.eth.defaultAccount = '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe';
docs/_build
folderPlease don't hesitate to report any problems you see to the issues, and thanks for checking out this new release!
The new version differs by 326 commits ahead by 326, behind by 6.
65237be
v1.2.7
598e531
v1.2.7-rc.0
7614938
Use web3.js for root package name
1f41523
Run build on different lerna version lifecycle segment
ac25f9c
Document gulpfile
6a1bcef
Update lerna dep and release scripts
8540877
Update changelog
1149c41
Add docs note for Geth v1.9.12 eth_call
change (#3467)
a510a00
Add missing items to 1.2.7 changelog (#3465)
3684fc3
Merge pull request #3464 from ethereum/upgradeDtslintDep
e0a8c1d
Upgrade devDeps to resolve security warnings (dtslint, definitelytyped-header-parser)
bd9cf48
Merge pull request #3437 from maektwain/1.x
2e15ff4
Fix changelog
aba4de8
Merge branch '1.x' into 1.x
2a5c5cb
Fetch revert reason for sendSignedTransaction (#3420)
There are 250 commits in total.
See the full diff
dependency
web3 was updated from 1.2.7
to 1.2.8
.Your tests are passing again with this update. Explicitly upgrade to this version 🚀
Hi!
Alongside some Typescript improvements and patches for the Websocket Provider reconnection logic introduced in 1.2.7, this release contains two larger changes:
Ethers ABI Coder has received a full version increment, from 4.0.0-beta.3 to 5.0.0-beta.153. Since 2018, Web3 has relied on @ricmoo's great Ethers project to manage encoding and decoding data passed between Web3 and the EVM. This update should allow Web3 to absorb the latest work at Ethers going forward.
The new ABI coder runs additional checks to validate inputs against the ABI types. Behavioral differences include:
Edge case | Web3 <= 1.2.7 | Web3 1.2.8 |
---|---|---|
Input exceeds an ABI type's max value (ex: "257" for uint8 ) |
overflows | out of bounds error |
Negative input for uint |
underflows | out of bounds error |
Invalid utf-8 character in string | silently sanitized | utf-8 error |
contenthash
feature (EIP 1577), which allows you to associate an IPFS or Swarm hash with an ENS domain. There's a nice introduction to content hashes in this ENS medium post. Docs for the newly added methods can be found here.AbstractProvider
interface. (#3499, #3521)call
. (#3454, #3521)web3-eth-abi
ABICoder dependency. (#3490, #3522)dtslint
. (#3479)The new version differs by 462 commits ahead by 462, behind by 6.
e5b3b37
v1.2.8
6289002
v1.2.8-rc.1
fcf5d22
Add 1.2.8-rc.1 changelog entries
ba7677d
Merge pull request #3522 from ethereum/abiCoderParamFormatting
16c44d4
Fix setContenthash docs formatting (#3511)
d13c468
Add detail to compatibility comment
b7dbcd6
handle more encoding rules to reduce any breaking changes for abicoder dep update
58d1f5b
Merge pull request #3521 from ethereum/fix/release-tsc-errors
7911e5d
Apply geth 1.9.13 CI fix to release branch
7d27f50
Revert contract.method TS definition change (PR #3454)
14a0272
Add optional connected property to AbstractProvider type
035d11a
v1.2.8-rc.0
dd4c8ec
Merge pull request #3507 from ethereum/changelog-1.2.8.rc.0
e94013f
Add headers
26db9c1
Create 1.2.9 entry
There are 250 commits in total.
See the full diff
The dependency web3 was updated from
1.2.5
to1.2.6
.🚨 View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
web3 is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
Status Details
- ❌ **continuous-integration/travis-ci/push:** The Travis CI build failed ([Details](https://travis-ci.org/AtomicLoans/agent/builds/645089505?utm_source=github_status&utm_medium=notification)). - ✅ **coverage/coveralls:** First build on greenkeeper/web3-1.2.6 at 34.513% ([Details](https://coveralls.io/builds/28481661)).Release Notes for web3.js 1.2.6
This release does update the ENS registry address in the web3.js library.
Added
Changed
Commits
The new version differs by 57 commits.
c20bcf0
v1.2.6
f2e1192
Revert "Merge branch '1.x' into release/1.2.6"
9cdb435
Merge branch '1.x' into release/1.2.6
c7b8b7b
CHANGELOG.md improved
fdadeaa
CHANGELOG.md updated
73a42ba
version in root package.json updated, min file updated, görli added to ens config, new regsitry address defined in ens config, and related ens tests updated
a121b6f
Merge pull request #3349 from ltfschoen/release/1.2.5
fa031fd
Merge branch '1.x' into release/1.2.5
8bb46d5
Merge pull request #1 from ltfschoen/ltfschoen-patch-1
12f29d2
fix: Fixes #3348. Add missing
.net
to documentation examplesee78ff7
Merge pull request #3338 from ethereum/issue/3252
b604f5d
Merge branch '1.x' into issue/3252
c948aad
missing file header added, source url of those addresses added, and @type notation added to the variable documentation
4c1aa63
Merge pull request #3342 from ethereum/dependencies/regenerator-runtime
46fe5ae
regenerator-runtime readded to package.json
There are 57 commits in total.
See the full diff
FAQ and help
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper Bot :palm_tree: