From a4334a924d9e161951d863db712850dc0fe26409 Mon Sep 17 00:00:00 2001 From: Scott Twiname Date: Tue, 31 Oct 2023 16:54:17 +1300 Subject: [PATCH] [release] 20231031 (#2135) --- .yarn/versions/778d63b5.yml | 8 ++++ packages/cli/CHANGELOG.md | 5 ++- packages/cli/package.json | 5 +-- packages/common-substrate/CHANGELOG.md | 7 +++- packages/common-substrate/package.json | 5 +-- packages/common/CHANGELOG.md | 5 ++- packages/common/package.json | 5 +-- packages/node-core/CHANGELOG.md | 5 ++- packages/node-core/package.json | 5 +-- packages/node/CHANGELOG.md | 10 +++-- packages/node/package.json | 5 +-- packages/types-core/CHANGELOG.md | 5 ++- packages/types-core/package.json | 5 +-- packages/types/CHANGELOG.md | 8 +++- packages/types/package.json | 2 +- packages/types/src/global.ts | 2 + packages/utils/CHANGELOG.md | 5 ++- packages/utils/package.json | 5 +-- yarn.lock | 52 +++++++++++++------------- 19 files changed, 90 insertions(+), 59 deletions(-) create mode 100644 .yarn/versions/778d63b5.yml diff --git a/.yarn/versions/778d63b5.yml b/.yarn/versions/778d63b5.yml new file mode 100644 index 0000000000..6bdd830abb --- /dev/null +++ b/.yarn/versions/778d63b5.yml @@ -0,0 +1,8 @@ +undecided: + - "@subql/common" + - "@subql/common-substrate" + - "@subql/node" + - "@subql/node-core" + - "@subql/types" + - "@subql/types-core" + - "@subql/utils" diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 6ed7e93883..44f465919e 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -5,6 +5,8 @@ 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] + +## [4.2.0] - 2023-10-31 ### Added - Support building and publishing Concordium projects (#2078) - ts-manifest compatibility with `codegen:generate` command (#2111) @@ -495,7 +497,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - support subcommand codegen - support subcommand init -[Unreleased]: https://github.com/subquery/subql/compare/cli/4.1.0...HEAD +[Unreleased]: https://github.com/subquery/subql/compare/cli/4.2.0...HEAD +[4.2.0]: https://github.com/subquery/subql/compare/cli/4.1.0...cli/4.2.0 [4.1.0]: https://github.com/subquery/subql/compare/cli/4.0.5...cli/4.1.0 [4.0.5]: https://github.com/subquery/subql/compare/cli/4.0.4...cli/4.0.5 [4.0.4]: https://github.com/subquery/subql/compare/cli/4.0.3...cli/4.0.4 diff --git a/packages/cli/package.json b/packages/cli/package.json index 7d524d2b2d..d81a36e767 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "@subql/cli", "description": "cli for subquery", - "version": "4.1.1-1", + "version": "4.2.0", "author": "Ian He", "bin": { "subql": "./bin/run" @@ -90,6 +90,5 @@ "types": "lib/index.d.ts", "resolutions": { "node-fetch": "2.6.7" - }, - "stableVersion": "4.1.1-0" + } } diff --git a/packages/common-substrate/CHANGELOG.md b/packages/common-substrate/CHANGELOG.md index 70940fe033..5761c1ba20 100644 --- a/packages/common-substrate/CHANGELOG.md +++ b/packages/common-substrate/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.2.0] - 2023-10-31 +### Changed +- Update `@subql/common` with support for endBlock feature + ## [3.1.2] - 2023-10-18 ### Changed - Version bump with `common` 3.1.3 @@ -116,7 +120,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - init commit -[Unreleased]: https://github.com/subquery/subql/compare/common-substrate/3.1.2...HEAD +[Unreleased]: https://github.com/subquery/subql/compare/common-substrate/3.2.0...HEAD +[3.2.0]: https://github.com/subquery/subql/compare/common-substrate/3.1.2...common-substrate/3.2.0 [3.1.2]: https://github.com/subquery/subql/compare/common-substrate/3.1.1...common-substrate/3.1.2 [3.1.1]: https://github.com/subquery/subql/compare/common-substrate/3.1.0...common-substrate/3.1.1 [3.1.0]: https://github.com/subquery/subql/compare/common-substrate/3.0.1...common-substrate/3.1.0 diff --git a/packages/common-substrate/package.json b/packages/common-substrate/package.json index f1870df644..30cc68c2de 100644 --- a/packages/common-substrate/package.json +++ b/packages/common-substrate/package.json @@ -1,6 +1,6 @@ { "name": "@subql/common-substrate", - "version": "3.1.2", + "version": "3.2.0", "description": "", "scripts": { "build": "rm -rf dist && tsc -b", @@ -27,6 +27,5 @@ "@types/bn.js": "4.11.6", "@types/js-yaml": "^4.0.4", "@types/pino": "^6.3.12" - }, - "stableVersion": "3.1.1" + } } diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index a345b589e8..baf0322734 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -5,6 +5,8 @@ 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] + +## [3.3.0] - 2023-10-31 ### Added - New `endBlock` option on datasources (#2064) - Add Concordium to network family (#2078) @@ -337,7 +339,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - init commit -[Unreleased]: https://github.com/subquery/subql/compare/common/3.2.0...HEAD +[Unreleased]: https://github.com/subquery/subql/compare/common/3.3.0...HEAD +[3.3.0]: https://github.com/subquery/subql/compare/common/3.2.0...common/3.3.0 [3.2.0]: https://github.com/subquery/subql/compare/common/3.1.3...common/3.2.0 [3.1.3]: https://github.com/subquery/subql/compare/common/3.1.2...common/3.1.3 [3.1.2]: https://github.com/subquery/subql/compare/common/3.1.1...common/3.1.2 diff --git a/packages/common/package.json b/packages/common/package.json index 61adde3eea..75f2ce434b 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@subql/common", - "version": "3.2.1-1", + "version": "3.3.0", "description": "", "scripts": { "build": "rm -rf dist && tsc -b", @@ -34,6 +34,5 @@ "@types/semver": "^7.3.9", "@types/tar": "^6.1.1", "@types/update-notifier": "^6" - }, - "stableVersion": "3.2.1-0" + } } diff --git a/packages/node-core/CHANGELOG.md b/packages/node-core/CHANGELOG.md index d04014f5dd..ee4510382e 100644 --- a/packages/node-core/CHANGELOG.md +++ b/packages/node-core/CHANGELOG.md @@ -6,11 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [6.2.0] - 2023-10-31 ### Fixed - Improve reindex query to remove/update by batches. (#2131) - Fix poi reindex beyond genesis height issue. (#2131) - Fixed modulo block ahead of finalized block issue (#2132) - Wrong link to docs for testing + ### Added - WorkerInMemoryCacheService from node (#2125) - New `endBlock` option on datasources (#2064) @@ -461,7 +463,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Move blockchain agnostic code from `node` to `node-core` package. (#1222) -[Unreleased]: https://github.com/subquery/subql/compare/node-core/6.1.1...HEAD +[Unreleased]: https://github.com/subquery/subql/compare/node-core/6.2.0...HEAD +[6.2.0]: https://github.com/subquery/subql/compare/node-core/6.1.1...node-core/6.2.0 [6.1.1]: https://github.com/subquery/subql/compare/node-core/6.1.0...node-core/6.1.1 [6.1.0]: https://github.com/subquery/subql/compare/node-core/6.0.4...node-core/6.1.0 [6.0.4]: https://github.com/subquery/subql/compare/node-core/6.0.3...node-core/6.0.4 diff --git a/packages/node-core/package.json b/packages/node-core/package.json index d13219daf2..06bd0c0f09 100644 --- a/packages/node-core/package.json +++ b/packages/node-core/package.json @@ -1,6 +1,6 @@ { "name": "@subql/node-core", - "version": "6.1.2-3", + "version": "6.2.0", "description": "Common node features that are agnostic to blockchains", "homepage": "https://github.com/subquery/subql", "repository": "github:subquery/subql", @@ -45,6 +45,5 @@ }, "devDependencies": { "@types/async-lock": "^1" - }, - "stableVersion": "6.1.2-2" + } } diff --git a/packages/node/CHANGELOG.md b/packages/node/CHANGELOG.md index ac0cf0968e..f3abf88eaa 100644 --- a/packages/node/CHANGELOG.md +++ b/packages/node/CHANGELOG.md @@ -6,13 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.2.0] - 2023-10-31 ### Fixed - Sync with node-core, fixed modulo block ahead of finalized block issue (#2132) +- Missing dependencies for testing command + ### Changed - Use WorkerInMemoryCacheService from node core (#2125) - -### Fixed -- Missing dependencies for testing command +- Update `@subql/node-core` with latest features and fixes ### Added - Logger now supports negative filters. To use this prefix the logger name with a `-`. E.g `--debug="*,-SQL"` (#2133) @@ -1037,7 +1038,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - bump @polkadot/api to 3.1.1 -[Unreleased]: https://github.com/subquery/subql/compare/node/3.1.1...HEAD +[Unreleased]: https://github.com/subquery/subql/compare/node/3.2.0...HEAD +[3.2.0]: https://github.com/subquery/subql/compare/node/3.1.1...node/3.2.0 [3.1.1]: https://github.com/subquery/subql/compare/node/3.1.0...node/3.1.1 [3.1.0]: https://github.com/subquery/subql/compare/v3.0.8...v3.1.0 [3.0.8]: https://github.com/subquery/subql/compare/node/3.0.7...node/3.0.8 diff --git a/packages/node/package.json b/packages/node/package.json index 306fc1be3e..aaa535b8db 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,6 +1,6 @@ { "name": "@subql/node", - "version": "3.1.2-4", + "version": "3.2.0", "description": "", "author": "Ian He", "license": "GPL-3.0", @@ -60,6 +60,5 @@ "files": [ "/dist", "/bin" - ], - "stableVersion": "3.1.2-3" + ] } diff --git a/packages/types-core/CHANGELOG.md b/packages/types-core/CHANGELOG.md index 67c17b0b04..321e460e80 100644 --- a/packages/types-core/CHANGELOG.md +++ b/packages/types-core/CHANGELOG.md @@ -5,6 +5,8 @@ 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] + +## [0.3.0] - 2023-10-31 ### Added - New `endBlock` option on datasources (#2064) @@ -23,7 +25,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release of new package containing types common to all chains -[Unreleased]: https://github.com/subquery/subql/compare/types-core/0.2.0...HEAD +[Unreleased]: https://github.com/subquery/subql/compare/types-core/0.3.0...HEAD +[0.3.0]: https://github.com/subquery/subql/compare/types-core/0.2.0...types-core/0.3.0 [0.2.0]: https://github.com/subquery/subql/compare/types-core/0.1.0...types-core/0.2.0 [0.1.0]: https://github.com/subquery/subql/compare/types-core/0.0.1...types-core/0.1.0 [0.0.1]: https://github.com/subquery/subql/tag/types-core/0.0.1 diff --git a/packages/types-core/package.json b/packages/types-core/package.json index 9f4335255c..8988a0319b 100644 --- a/packages/types-core/package.json +++ b/packages/types-core/package.json @@ -1,6 +1,6 @@ { "name": "@subql/types-core", - "version": "0.2.1-0", + "version": "0.3.0", "description": "", "homepage": "https://github.com/subquery/subql", "repository": "github:subquery/subql", @@ -17,6 +17,5 @@ ], "dependencies": { "package-json-type": "^1.0.3" - }, - "stableVersion": "0.2.0" + } } diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index b76bc48571..c37976ebff 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.3.0] - 2023-10-31 +### Changed +- Import types-core global so there is no need to update tsconfig +- Update `@subql/types-core` to add support for endBlock + ## [3.2.0] - 2023-10-20 ### Changed - Version bump with `types-core` 0.2.0 @@ -208,7 +213,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - support block handler -[Unreleased]: https://github.com/subquery/subql/compare/types/3.2.0...HEAD +[Unreleased]: https://github.com/subquery/subql/compare/types/3.3.0...HEAD +[3.3.0]: https://github.com/subquery/subql/compare/types/3.2.0...types/3.3.0 [3.2.0]: https://github.com/subquery/subql/compare/types/3.1.2...types/3.2.0 [3.1.2]: https://github.com/subquery/subql/compare/types/3.1.1...types/3.1.2 [3.1.1]: https://github.com/subquery/subql/compare/types/3.1.0...types/3.1.1 diff --git a/packages/types/package.json b/packages/types/package.json index 35947e7ec7..0971064f0c 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@subql/types", - "version": "3.2.0", + "version": "3.3.0", "description": "", "homepage": "https://github.com/subquery/subql", "repository": "github:subquery/subql", diff --git a/packages/types/src/global.ts b/packages/types/src/global.ts index 504c7bc37a..a5574fc0c0 100644 --- a/packages/types/src/global.ts +++ b/packages/types/src/global.ts @@ -4,6 +4,8 @@ import {ApiPromise} from '@polkadot/api'; import {ApiDecoration} from '@polkadot/api/types'; +import '@subql/types-core/dist/global'; + type ApiAt = ApiDecoration<'promise'> & {rpc: ApiPromise['rpc']}; declare global { diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 846b2ee027..46c701738c 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -5,6 +5,8 @@ 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] + +## [2.5.0] - 2023-10-31 ### Added - Logger now supports negative filters. To use this prefix the logger name with a `-`. E.g `--debug="*,-SQL"` (#2133) @@ -93,7 +95,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Update polkadot/api to 9 -[Unreleased]: https://github.com/subquery/subql/compare/v2.4.4...HEAD +[Unreleased]: https://github.com/subquery/subql/compare/utils/2.5.0...HEAD +[2.5.0]: https://github.com/subquery/subql/compare/utils/2.4.4...utils/2.5.0 [2.4.4]: https://github.com/subquery/subql/compare/v2.4.3...v2.4.4 [2.4.3]: https://github.com/subquery/subql/compare/v2.4.2...v2.4.3 [2.4.2]: https://github.com/subquery/subql/compare/utils/2.4.1...utils/2.4.2 diff --git a/packages/utils/package.json b/packages/utils/package.json index 0be4395ef6..72855710e6 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@subql/utils", - "version": "2.4.5-1", + "version": "2.5.0", "description": "", "packageManager": "yarn@3.1.1", "scripts": { @@ -31,6 +31,5 @@ }, "devDependencies": { "@types/semver": "^7" - }, - "stableVersion": "2.4.5-0" + } } diff --git a/yarn.lock b/yarn.lock index 71510cf247..d905c6c29d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6507,11 +6507,19 @@ __metadata: languageName: unknown linkType: soft -"@subql/common@npm:3.1.1": - version: 3.1.1 - resolution: "@subql/common@npm:3.1.1" +"@subql/common@^3.1.0, @subql/common@^3.1.1, @subql/common@workspace:*, @subql/common@workspace:packages/common": + version: 0.0.0-use.local + resolution: "@subql/common@workspace:packages/common" dependencies: - "@subql/types-core": 0.1.1 + "@subql/types-core": "workspace:*" + "@types/bn.js": 4.11.6 + "@types/detect-port": ^1 + "@types/fs-extra": ^9.0.13 + "@types/js-yaml": ^4.0.5 + "@types/pino": ^6.3.12 + "@types/semver": ^7.3.9 + "@types/tar": ^6.1.1 + "@types/update-notifier": ^6 axios: ^0.27.2 class-transformer: ^0.5.1 class-validator: ^0.14.0 @@ -6521,15 +6529,14 @@ __metadata: reflect-metadata: ^0.1.13 semver: ^7.5.2 update-notifier: 5.1.0 - checksum: 1d1e3070f0a2f2368a7ba24f9b98012ca88362d51e7e53ed146026aa8c2844e8d58335496a19341facf4422aa2cac89b05e87860b0a4f73e542ca91f8240cdd0 - languageName: node - linkType: hard + languageName: unknown + linkType: soft -"@subql/common@npm:^3.1.0, @subql/common@npm:^3.1.1, @subql/common@npm:latest": - version: 3.2.0 - resolution: "@subql/common@npm:3.2.0" +"@subql/common@npm:3.1.1": + version: 3.1.1 + resolution: "@subql/common@npm:3.1.1" dependencies: - "@subql/types-core": 0.2.0 + "@subql/types-core": 0.1.1 axios: ^0.27.2 class-transformer: ^0.5.1 class-validator: ^0.14.0 @@ -6539,23 +6546,15 @@ __metadata: reflect-metadata: ^0.1.13 semver: ^7.5.2 update-notifier: 5.1.0 - checksum: bddf220f66e008a6b1ea40081143cc7ad71e144597a9a44cb59acb865923746006d13cfa376b49794fa81ca14200e905f5bea7292f6d70416353fdbe9f009dc1 + checksum: 1d1e3070f0a2f2368a7ba24f9b98012ca88362d51e7e53ed146026aa8c2844e8d58335496a19341facf4422aa2cac89b05e87860b0a4f73e542ca91f8240cdd0 languageName: node linkType: hard -"@subql/common@workspace:*, @subql/common@workspace:packages/common": - version: 0.0.0-use.local - resolution: "@subql/common@workspace:packages/common" +"@subql/common@npm:latest": + version: 3.2.0 + resolution: "@subql/common@npm:3.2.0" dependencies: - "@subql/types-core": "workspace:*" - "@types/bn.js": 4.11.6 - "@types/detect-port": ^1 - "@types/fs-extra": ^9.0.13 - "@types/js-yaml": ^4.0.5 - "@types/pino": ^6.3.12 - "@types/semver": ^7.3.9 - "@types/tar": ^6.1.1 - "@types/update-notifier": ^6 + "@subql/types-core": 0.2.0 axios: ^0.27.2 class-transformer: ^0.5.1 class-validator: ^0.14.0 @@ -6565,8 +6564,9 @@ __metadata: reflect-metadata: ^0.1.13 semver: ^7.5.2 update-notifier: 5.1.0 - languageName: unknown - linkType: soft + checksum: bddf220f66e008a6b1ea40081143cc7ad71e144597a9a44cb59acb865923746006d13cfa376b49794fa81ca14200e905f5bea7292f6d70416353fdbe9f009dc1 + languageName: node + linkType: hard "@subql/node-core@workspace:*, @subql/node-core@workspace:packages/node-core": version: 0.0.0-use.local