Skip to content

Commit

Permalink
Merge pull request #3510 from ethereum/release/1.2.8
Browse files Browse the repository at this point in the history
Release - 1.2.8
  • Loading branch information
ryanio authored May 20, 2020
2 parents 4ec98d4 + da8122c commit 740a982
Show file tree
Hide file tree
Showing 51 changed files with 214 additions and 474 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,14 @@ Released with 1.0.0-beta.37 code base.
- Introduce review and release guidelines. (#3460)
- Add EIP-1193 compatible provider to `AbstractProvider` interface. (#3499)
- Add Typescript definitions for contract `methods` and `call`. (#3454)
- Update AbstractProvider and contract.methods TS definitions (#3521)
- Add support for ENS contenthash methods. (#3392, #2782)

### Changed

- Change CI provider from Travis to Github Actions. (#3468)
- Update `web3-eth-abi` ABICoder dependency. (#3490)
- Update AbiCoder param formatting (#3522)
- Improve code clarity of HttpProvider keepAlive option setting. (#3463)
- Updated type definitions for Web3 HTTP Provider. (#3482)
- Fix indentation of web3-eth documentation. (#3478)
Expand All @@ -197,6 +199,7 @@ Released with 1.0.0-beta.37 code base.
- Remove web3-eth revert error return types to squash TS compilation errors. (#3496)
- Backfill event subscriptions when WS connection dropped across multiple blocks. (#3491)
- Stop swallowing errors when WS connection has died after exhausting reconnection attempts. (#3492)
- Fix setContenthash docs formatting (#3511)

## [Unreleased]

Expand Down
2 changes: 1 addition & 1 deletion dist/web3.min.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/web3-eth-ens.rst
Original file line number Diff line number Diff line change
Expand Up @@ -991,18 +991,18 @@ Parameters

1. ``ENSName`` - ``String``: The ENS name.
2. ``hash`` - ``String``: The content hash to set.
3. ``txConfig`` - ``Object``: (optional) The transaction options as described ::ref::`here <eth-sendtransaction>`
3. ``txConfig`` - ``Object``: (optional) The transaction options as described :ref:`here <eth-sendtransaction>`
4. ``callback`` - ``Function``: (optional) Optional callback

Emits a ``ContenthashChanged`` event.

Supports the following protocols as valid ``hash`` inputs:

1. ``ipfs://`` - example: ipfs://QmaEBknbGT4bTQiQoe2VNgBJbRfygQGktnaW5TbuKixjYL
2. ``/ipfs/`` - example: /ipfs/QmaEBknbGT4bTQiQoe2VNgBJbRfygQGktnaW5TbuKixjYL
3. ``bzz://`` - example: bzz://d1de9994b4d039f6548d191eb26786769f580809256b4685ef316805265ea162
4. ``onion://`` - example: onion://3g2upl4pq6kufc4m
5. ``onion3://`` - exmaple: onion3://p53lf57qovyuvwsc6xnrppyply3vtqm7l6pcobkmyqsiofyeznfu5uqd
1. ``ipfs://`` - ipfs://QmaEBknbGT4bTQiQoe2VNgBJbRfygQGktnaW5TbuKixjYL
2. ``/ipfs/`` - /ipfs/QmaEBknbGT4bTQiQoe2VNgBJbRfygQGktnaW5TbuKixjYL
3. ``bzz://`` - bzz://d1de9994b4d039f6548d191eb26786769f580809256b4685ef316805265ea162
4. ``onion://`` - onion://3g2upl4pq6kufc4m
5. ``onion3://`` - onion3://p53lf57qovyuvwsc6xnrppyply3vtqm7l6pcobkmyqsiofyeznfu5uqd

-------
Returns
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.2.7",
"version": "1.2.8",
"lerna": "2.0.0",
"command": {
"init": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "web3.js",
"private": true,
"version": "1.2.7",
"version": "1.2.8",
"description": "Ethereum JavaScript API wrapper repository",
"license": "LGPL-3.0",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-bzz/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/web3-bzz/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-bzz",
"version": "1.2.7",
"version": "1.2.8",
"description": "Web3 module to interact with the Swarm network.",
"repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-bzz",
"license": "LGPL-3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-core-helpers/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/web3-core-helpers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-core-helpers",
"version": "1.2.7",
"version": "1.2.8",
"description": "Web3 core tools helper for sub packages. This is an internal package.",
"repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-core-helpers",
"license": "LGPL-3.0",
Expand All @@ -14,8 +14,8 @@
"main": "src/index.js",
"dependencies": {
"underscore": "1.9.1",
"web3-eth-iban": "1.2.7",
"web3-utils": "1.2.7"
"web3-eth-iban": "1.2.8",
"web3-utils": "1.2.8"
},
"devDependencies": {
"@types/node": "^12.12.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-core-method/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions packages/web3-core-method/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-core-method",
"version": "1.2.7",
"version": "1.2.8",
"description": "Creates the methods on the web3 modules. This is an internal package.",
"repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-core-method",
"license": "LGPL-3.0",
Expand All @@ -14,10 +14,10 @@
"main": "src/index.js",
"dependencies": {
"underscore": "1.9.1",
"web3-core-helpers": "1.2.7",
"web3-core-promievent": "1.2.7",
"web3-core-subscriptions": "1.2.7",
"web3-utils": "1.2.7"
"web3-core-helpers": "1.2.8",
"web3-core-promievent": "1.2.8",
"web3-core-subscriptions": "1.2.8",
"web3-utils": "1.2.8"
},
"devDependencies": {
"dtslint": "^3.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-core-promievent/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/web3-core-promievent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-core-promievent",
"version": "1.2.7",
"version": "1.2.8",
"description": "This package extends the EventEmitter with the Promise class to allow chaining as well as multiple final states of a function.",
"repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-core-promievent",
"license": "LGPL-3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-core-requestmanager/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions packages/web3-core-requestmanager/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-core-requestmanager",
"version": "1.2.7",
"version": "1.2.8",
"description": "Web3 module to handle requests to external providers.",
"repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-core-requestmanager",
"license": "LGPL-3.0",
Expand All @@ -10,9 +10,9 @@
"main": "src/index.js",
"dependencies": {
"underscore": "1.9.1",
"web3-core-helpers": "1.2.7",
"web3-providers-http": "1.2.7",
"web3-providers-ipc": "1.2.7",
"web3-providers-ws": "1.2.7"
"web3-core-helpers": "1.2.8",
"web3-providers-http": "1.2.8",
"web3-providers-ipc": "1.2.8",
"web3-providers-ws": "1.2.8"
}
}
2 changes: 1 addition & 1 deletion packages/web3-core-subscriptions/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/web3-core-subscriptions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-core-subscriptions",
"version": "1.2.7",
"version": "1.2.8",
"description": "Manages web3 subscriptions. This is an internal package.",
"repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-core-subscriptions",
"license": "LGPL-3.0",
Expand All @@ -15,7 +15,7 @@
"dependencies": {
"eventemitter3": "3.1.2",
"underscore": "1.9.1",
"web3-core-helpers": "1.2.7"
"web3-core-helpers": "1.2.8"
},
"devDependencies": {
"dtslint": "^3.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-core/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions packages/web3-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web3-core",
"version": "1.2.7",
"version": "1.2.8",
"description": "Web3 core tools for sub-packages. This is an internal package.",
"repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-core",
"license": "LGPL-3.0",
Expand All @@ -16,10 +16,10 @@
"@types/bn.js": "^4.11.4",
"@types/node": "^12.6.1",
"bignumber.js": "^9.0.0",
"web3-core-helpers": "1.2.7",
"web3-core-method": "1.2.7",
"web3-core-requestmanager": "1.2.7",
"web3-utils": "1.2.7"
"web3-core-helpers": "1.2.8",
"web3-core-method": "1.2.8",
"web3-core-requestmanager": "1.2.8",
"web3-utils": "1.2.8"
},
"devDependencies": {
"dtslint": "^3.4.1",
Expand Down
1 change: 1 addition & 0 deletions packages/web3-core/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ export interface AbstractProvider {
sendAsync(payload: JsonRpcPayload, callback: (error: Error | null, result?: JsonRpcResponse) => void): void;
send?(payload: JsonRpcPayload, callback: (error: Error | null, result?: JsonRpcResponse) => void): void;
request?(args: RequestArguments): Promise<any>;
connected?: boolean;
}

export type provider =
Expand Down
Loading

0 comments on commit 740a982

Please sign in to comment.