Skip to content

Commit fcce2ab

Browse files
authored
1.21 (#2384)
* 1.21 * CHANGELOG * Babe EquivocationProof * Update CHANGELOG.md
1 parent 877eb11 commit fcce2ab

File tree

13 files changed

+120
-117
lines changed

13 files changed

+120
-117
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# CHANGELOG
22

3-
## 1.21.0-beta.x
3+
## 1.21.1 Jun 23, 2020
44

5+
- Fix subscriptions never unsubscribing after the id swap in 1.18.1 (Thanks to https://github.com/dillu24 for testing iterations)
56
- Add support for `CheckMortality` signed extension (old `CheckEra` is now an alias)
6-
- Fix subscriptions never unsubscribing after the id type swap in 1.18.1
77
- Promise API will default to using `getStorage` on non-subscription calls, reducing RPC overhead
88
- Optimize derive BN allocations, using in-place operators as applicable
9+
- Add new substrate types for Babe EquivocationProof
10+
- Adjust `Releases` enum to use a shared instance
911

1012
## 1.20.1 Jun 22, 2020
1113

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
"packages": [
1010
"packages/*"
1111
],
12-
"version": "1.21.0-beta.4"
12+
"version": "1.21.0"
1313
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
"@babel/core": "^7.10.3",
2828
"@babel/register": "^7.10.3",
2929
"@babel/runtime": "^7.10.3",
30-
"@polkadot/dev": "^0.55.11",
30+
"@polkadot/dev": "^0.55.12",
3131
"@polkadot/ts": "^0.3.26",
3232
"@polkadot/typegen": "workspace:packages/typegen",
3333
"@types/jest": "^26.0.0",
3434
"@vuepress/plugin-search": "^1.5.2",
3535
"copyfiles": "^2.3.0"
3636
},
37-
"version": "1.21.0-beta.4"
37+
"version": "1.21.0"
3838
}

packages/api-contract/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-contract",
3-
"version": "1.21.0-beta.4",
3+
"version": "1.21.0",
44
"description": "Interfaces for interacting with contracts and contract ABIs",
55
"main": "index.js",
66
"keywords": [
@@ -27,9 +27,9 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.10.3",
30-
"@polkadot/api": "1.21.0-beta.4",
31-
"@polkadot/rpc-core": "1.21.0-beta.4",
32-
"@polkadot/types": "1.21.0-beta.4",
30+
"@polkadot/api": "1.21.0",
31+
"@polkadot/rpc-core": "1.21.0",
32+
"@polkadot/types": "1.21.0",
3333
"@polkadot/util": "^2.15.1",
3434
"bn.js": "^5.1.2",
3535
"rxjs": "^6.5.5"

packages/api-derive/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-derive",
3-
"version": "1.21.0-beta.4",
3+
"version": "1.21.0",
44
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
55
"main": "index.js",
66
"keywords": [
@@ -28,10 +28,10 @@
2828
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
2929
"dependencies": {
3030
"@babel/runtime": "^7.10.3",
31-
"@polkadot/api": "1.21.0-beta.4",
32-
"@polkadot/rpc-core": "1.21.0-beta.4",
33-
"@polkadot/rpc-provider": "1.21.0-beta.4",
34-
"@polkadot/types": "1.21.0-beta.4",
31+
"@polkadot/api": "1.21.0",
32+
"@polkadot/rpc-core": "1.21.0",
33+
"@polkadot/rpc-provider": "1.21.0",
34+
"@polkadot/types": "1.21.0",
3535
"@polkadot/util": "^2.15.1",
3636
"@polkadot/util-crypto": "^2.15.1",
3737
"bn.js": "^5.1.2",

packages/api/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api",
3-
"version": "1.21.0-beta.4",
3+
"version": "1.21.0",
44
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
55
"main": "index.js",
66
"keywords": [
@@ -27,13 +27,13 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.10.3",
30-
"@polkadot/api-derive": "1.21.0-beta.4",
30+
"@polkadot/api-derive": "1.21.0",
3131
"@polkadot/keyring": "^2.15.1",
32-
"@polkadot/metadata": "1.21.0-beta.4",
33-
"@polkadot/rpc-core": "1.21.0-beta.4",
34-
"@polkadot/rpc-provider": "1.21.0-beta.4",
35-
"@polkadot/types": "1.21.0-beta.4",
36-
"@polkadot/types-known": "1.21.0-beta.4",
32+
"@polkadot/metadata": "1.21.0",
33+
"@polkadot/rpc-core": "1.21.0",
34+
"@polkadot/rpc-provider": "1.21.0",
35+
"@polkadot/types": "1.21.0",
36+
"@polkadot/types-known": "1.21.0",
3737
"@polkadot/util": "^2.15.1",
3838
"@polkadot/util-crypto": "^2.15.1",
3939
"bn.js": "^5.1.2",

packages/metadata/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/metadata",
3-
"version": "1.21.0-beta.4",
3+
"version": "1.21.0",
44
"description": "Helpers to extract information from runtime metadata",
55
"main": "index.js",
66
"publishConfig": {
@@ -27,8 +27,8 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.10.3",
30-
"@polkadot/types": "1.21.0-beta.4",
31-
"@polkadot/types-known": "1.21.0-beta.4",
30+
"@polkadot/types": "1.21.0",
31+
"@polkadot/types-known": "1.21.0",
3232
"@polkadot/util": "^2.15.1",
3333
"@polkadot/util-crypto": "^2.15.1",
3434
"bn.js": "^5.1.2"

packages/rpc-core/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-core",
3-
"version": "1.21.0-beta.4",
3+
"version": "1.21.0",
44
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
55
"main": "index.js",
66
"keywords": [
@@ -27,9 +27,9 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.10.3",
30-
"@polkadot/metadata": "1.21.0-beta.4",
31-
"@polkadot/rpc-provider": "1.21.0-beta.4",
32-
"@polkadot/types": "1.21.0-beta.4",
30+
"@polkadot/metadata": "1.21.0",
31+
"@polkadot/rpc-provider": "1.21.0",
32+
"@polkadot/types": "1.21.0",
3333
"@polkadot/util": "^2.15.1",
3434
"memoizee": "^0.4.14",
3535
"rxjs": "^6.5.5"

packages/rpc-provider/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-provider",
3-
"version": "1.21.0-beta.4",
3+
"version": "1.21.0",
44
"description": "Transport providers for the API",
55
"main": "index.js",
66
"keywords": [
@@ -27,8 +27,8 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.10.3",
30-
"@polkadot/metadata": "1.21.0-beta.4",
31-
"@polkadot/types": "1.21.0-beta.4",
30+
"@polkadot/metadata": "1.21.0",
31+
"@polkadot/types": "1.21.0",
3232
"@polkadot/util": "^2.15.1",
3333
"@polkadot/util-crypto": "^2.15.1",
3434
"bn.js": "^5.1.2",

packages/typegen/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/typegen",
3-
"version": "1.21.0-beta.4",
3+
"version": "1.21.0",
44
"description": "Type generation scripts",
55
"main": "index.js",
66
"bin": {
@@ -36,10 +36,10 @@
3636
"@babel/core": "^7.10.3",
3737
"@babel/register": "^7.10.3",
3838
"@babel/runtime": "^7.10.3",
39-
"@polkadot/api": "1.21.0-beta.4",
40-
"@polkadot/metadata": "1.21.0-beta.4",
41-
"@polkadot/rpc-provider": "1.21.0-beta.4",
42-
"@polkadot/types": "1.21.0-beta.4",
39+
"@polkadot/api": "1.21.0",
40+
"@polkadot/metadata": "1.21.0",
41+
"@polkadot/rpc-provider": "1.21.0",
42+
"@polkadot/types": "1.21.0",
4343
"@polkadot/util": "^2.15.1",
4444
"handlebars": "^4.7.6",
4545
"websocket": "^1.0.31",

0 commit comments

Comments
 (0)