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

[release] 202207027 Substrate #1215

Merged
merged 6 commits into from
Jul 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed .yarn/versions/070298e4.yml
Empty file.
Empty file removed .yarn/versions/162a9f2f.yml
Empty file.
3 changes: 0 additions & 3 deletions .yarn/versions/21a62284.yml

This file was deleted.

Empty file removed .yarn/versions/25253279.yml
Empty file.
2 changes: 0 additions & 2 deletions .yarn/versions/30983b48.yml

This file was deleted.

Empty file removed .yarn/versions/5d4b8167.yml
Empty file.
3 changes: 0 additions & 3 deletions .yarn/versions/751cc9b3.yml

This file was deleted.

Empty file removed .yarn/versions/996365a3.yml
Empty file.
Empty file removed .yarn/versions/fa2363f4.yml
Empty file.
3 changes: 3 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ All logs must start with the format: [x.y.z] - yyyy-mm-dd

## [Unreleased]

## [1.4.0] - 2022-07-27
### Added
- Added redeploy deployment feature (#1205)
- Rename `--project_name` flag to `--projectName` (#1205)
### Fixed
- Use latest runner validation from common package. (#1195)

## [1.3.1] - 2022-07-13
### Fixed
Expand Down
5 changes: 2 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@subql/cli",
"description": "cli for subquery",
"version": "1.3.2-2",
"version": "1.4.0",
"author": "Ian He",
"bin": {
"subql": "./bin/run"
Expand Down Expand Up @@ -82,6 +82,5 @@
"types": "lib/index.d.ts",
"resolutions": {
"node-fetch": "2.6.7"
},
"stableVersion": "1.3.2-1"
}
}
4 changes: 4 additions & 0 deletions packages/common-substrate/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ All logs must start with the format: [x.y.z] - yyyy-mm-dd

## [Unreleased]

## [1.2.0] - 2022-07-27
### Changed
- Apply latest runner version validation rule, now `dev` and `latest` are not supported.

## [1.1.1] - 2022-07-05
### Changed
- Bump with `@subql/common`
Expand Down
5 changes: 2 additions & 3 deletions packages/common-substrate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@subql/common-substrate",
"version": "1.1.2-1",
"version": "1.2.0",
"description": "",
"scripts": {
"build": "rm -rf dist && tsc -b",
Expand All @@ -24,6 +24,5 @@
"@types/bn.js": "4.11.6",
"@types/js-yaml": "^4.0.4",
"@types/pino": "^6.3.12"
},
"stableVersion": "1.1.2-0"
}
}
1 change: 1 addition & 0 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ All logs must start with the format: [x.y.z] - yyyy-mm-dd

## [Unreleased]

## [1.2.2] - 2022-07-27
### Fixed
- `latest`, `dev` and `~` are no longer supported runner versions.

Expand Down
5 changes: 2 additions & 3 deletions packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@subql/common",
"version": "1.2.2-0",
"version": "1.2.2",
"description": "",
"scripts": {
"build": "rm -rf dist && tsc -b",
Expand Down Expand Up @@ -28,6 +28,5 @@
"@types/pino": "^6.3.12",
"@types/semver": "^7.3.9",
"@types/tar": "^6.1.1"
},
"stableVersion": "1.2.1"
}
}
8 changes: 5 additions & 3 deletions packages/node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.6.0] - 2022-07-27
### Changed
- Make handler data types generic (#1194)

### Added

- Support for worker threads. This will move block fetching and processing into a worker, this can increase performance by up to 4 times. By default this feature is disabled, you can enable it with the `--workers=<number>` flag. The number of workers will be capped to the number of CPU cores. (#1103)
- [Experimental Feature] Support for worker threads. This will move block fetching and processing into a worker. It can increase performance by up to 4 times. By default, this feature is disabled. You can enable it with the `--workers=<number>` flag. The number of workers will be capped to the number of CPU cores. (#1103)
- [Experimental Feature] Add reindexing feature. You can use `--reindex=<blockNumber>` to remove indexed data and reindex from specified block height. Please note that the way of using this feature will be updated soon. (#1208)
- Add block modulo filter on substrate blockHandler, E.g. if modulo: 50, the block handler will run on every 50 blocks. (#1196)

## [1.5.1] - 2022-07-15
### Fixed
Expand Down
5 changes: 2 additions & 3 deletions packages/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@subql/node",
"version": "1.5.2-4",
"version": "1.6.0",
"description": "",
"author": "Ian He",
"license": "Apache-2.0",
Expand Down Expand Up @@ -67,6 +67,5 @@
"files": [
"/dist",
"/bin"
],
"stableVersion": "1.5.2-3"
]
}
4 changes: 4 additions & 0 deletions packages/query/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ All logs must start with the format: [x.y.z] - yyyy-mm-dd

## [Unreleased]

## [1.4.0] - 2022-07-27
### Added
- Add `query-explain` flag, by enable this console will log actual SQL statement been queried. (#1192)

## [1.3.0] - 2022-07-05
### Changed
- Try to catch error if create server failed, also give retry build schema (#1153)
Expand Down
5 changes: 2 additions & 3 deletions packages/query/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@subql/query",
"version": "1.3.1-0",
"version": "1.4.0",
"description": "",
"bin": {
"subql-query": "./bin/run"
Expand Down Expand Up @@ -68,6 +68,5 @@
"@types/yargs": "^16.0.4",
"nodemon": "^2.0.15",
"typescript": "^4.4.4"
},
"stableVersion": "1.3.0"
}
}
4 changes: 3 additions & 1 deletion packages/types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ All logs must start with the format: [x.y.z] - yyyy-mm-dd

## [Unreleased]

## [1.2.0] - 2022-07-27
### Changed
- Make `SubstrateExtrinsic` and `SubstrateEvent` types generic. This allows specifying the data/args type rather than being provided with `Codec[]` or `AnyTuple` (#1194)
- Update `SubstrateBlockFilter` with new `modulo` filter. (#1196)
- Make `SubstrateExtrinsic` and `SubstrateEvent` types generic. This allows specifying the data/args type rather than being provided with `Codec[]` or `AnyTuple`. (#1194)

## [1.1.0] - 2022-05-31
### Changed
Expand Down
5 changes: 2 additions & 3 deletions packages/types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@subql/types",
"version": "1.1.1-1",
"version": "1.2.0",
"description": "",
"homepage": "https://github.com/subquery/subql",
"repository": "github:subquery/subql",
Expand All @@ -21,6 +21,5 @@
"devDependencies": {
"@polkadot/api": "^8",
"@types/app-module-path": "^2.2.0"
},
"stableVersion": "1.1.1-0"
}
}
4 changes: 4 additions & 0 deletions packages/validator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ All logs must start with the format: [x.y.z] - yyyy-mm-dd

## [Unreleased]

## [1.3.0] - 2022-07-27
### Changed
- Update dependencies with `@subql/common`

## [1.2.2] - 2022-07-12
### Fixed
- Fix test (#1174)
Expand Down
2 changes: 1 addition & 1 deletion packages/validator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@subql/validator",
"version": "1.2.2",
"version": "1.3.0",
"description": "to validate subquery project",
"homepage": "https://github.com/subquery/subql",
"repository": "github:subquery/subql",
Expand Down