From c923b2c5d16575513d5668030c4a65b18100f368 Mon Sep 17 00:00:00 2001 From: Damian Figiel Date: Mon, 9 Jun 2025 12:28:08 +0200 Subject: [PATCH] fix: Add missing changelogs. Fix rush.json repository url. Add changelog instructions to README. --- README.md | 28 +++++++++++++++++++ .../fuel-dump/master_2024-12-20-16-49.json | 4 +-- .../fuel-ingest/master_2024-12-20-16-49.json | 4 +-- .../solana-dump/master_2024-12-20-16-49.json | 10 +++++++ .../master_2024-12-20-16-49.json | 10 +++++++ .../master_2024-12-20-16-49.json | 4 +-- .../master_2024-12-20-16-49.json | 4 +-- .../master_2024-12-20-16-49.json | 10 +++++++ .../tron-dump/master_2024-12-20-16-49.json | 10 +++++++ .../tron-ingest/master_2024-12-20-16-49.json | 10 +++++++ .../master_2024-12-20-16-49.json | 4 +-- .../master_2024-12-20-16-49.json | 6 ++-- rush.json | 4 +-- 13 files changed, 93 insertions(+), 15 deletions(-) create mode 100644 common/changes/@subsquid/solana-dump/master_2024-12-20-16-49.json create mode 100644 common/changes/@subsquid/solana-ingest/master_2024-12-20-16-49.json create mode 100644 common/changes/@subsquid/substrate-ingest/master_2024-12-20-16-49.json create mode 100644 common/changes/@subsquid/tron-dump/master_2024-12-20-16-49.json create mode 100644 common/changes/@subsquid/tron-ingest/master_2024-12-20-16-49.json diff --git a/README.md b/README.md index 4e95adaa5..99029e315 100644 --- a/README.md +++ b/README.md @@ -33,3 +33,31 @@ Subsquid is an OpenSource project, contributions are welcomed, encouraged and wi Please consult [CONTRIBUTING.md](CONTRIBUTING.md) for hacking instructions and make sure to read our [code of conduct](CODE_OF_CONDUCT.md). + +### Change Management + +This project uses [Rush](https://rushjs.io/) for monorepo management. When making changes to packages, you need to document them using the rush change system: + +1. **After making your changes and committing them**, run: + ```bash + rush change -b origin/master + ``` + +2. **Follow the interactive prompts** to: + - Select the type of change (major, minor, patch, or none) + - Provide a clear description of what changed + - The description should explain the feature/fix from a user's perspective + +3. **Change types**: + - `major`: Breaking changes that require users to update their code + - `minor`: New features that are backward compatible + - `patch`: Bug fixes and small improvements + - `none`: Internal changes that don't affect the public API + +4. **Best practices**: + - Write clear, concise descriptions + - Focus on what changed from the user's perspective + - Include relevant technical details when necessary + - Use present tense ("Add feature X" not "Added feature X") + +The change files are automatically generated in `common/changes/@subsquid/[package-name]/` and will be used to generate changelogs during the release process. diff --git a/common/changes/@subsquid/fuel-dump/master_2024-12-20-16-49.json b/common/changes/@subsquid/fuel-dump/master_2024-12-20-16-49.json index 368d2c8e5..26567cdd3 100644 --- a/common/changes/@subsquid/fuel-dump/master_2024-12-20-16-49.json +++ b/common/changes/@subsquid/fuel-dump/master_2024-12-20-16-49.json @@ -2,8 +2,8 @@ "changes": [ { "packageName": "@subsquid/fuel-dump", - "comment": "", - "type": "none" + "comment": "Add block timestamp extraction method for Fuel blocks with TAI64 to Unix timestamp conversion", + "type": "minor" } ], "packageName": "@subsquid/fuel-dump" diff --git a/common/changes/@subsquid/fuel-ingest/master_2024-12-20-16-49.json b/common/changes/@subsquid/fuel-ingest/master_2024-12-20-16-49.json index d765429ba..e489a0f82 100644 --- a/common/changes/@subsquid/fuel-ingest/master_2024-12-20-16-49.json +++ b/common/changes/@subsquid/fuel-ingest/master_2024-12-20-16-49.json @@ -2,8 +2,8 @@ "changes": [ { "packageName": "@subsquid/fuel-ingest", - "comment": "", - "type": "none" + "comment": "Add block height and timestamp extraction methods for Fuel ingestion with TAI64 timestamp support", + "type": "minor" } ], "packageName": "@subsquid/fuel-ingest" diff --git a/common/changes/@subsquid/solana-dump/master_2024-12-20-16-49.json b/common/changes/@subsquid/solana-dump/master_2024-12-20-16-49.json new file mode 100644 index 000000000..a8065b4ea --- /dev/null +++ b/common/changes/@subsquid/solana-dump/master_2024-12-20-16-49.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@subsquid/solana-dump", + "comment": "Add block timestamp extraction method for Solana dumper with Unix timestamp support", + "type": "minor" + } + ], + "packageName": "@subsquid/solana-dump" +} \ No newline at end of file diff --git a/common/changes/@subsquid/solana-ingest/master_2024-12-20-16-49.json b/common/changes/@subsquid/solana-ingest/master_2024-12-20-16-49.json new file mode 100644 index 000000000..7afe82d40 --- /dev/null +++ b/common/changes/@subsquid/solana-ingest/master_2024-12-20-16-49.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@subsquid/solana-ingest", + "comment": "Add block height and timestamp extraction methods for Solana ingestion with Unix timestamp support", + "type": "minor" + } + ], + "packageName": "@subsquid/solana-ingest" +} \ No newline at end of file diff --git a/common/changes/@subsquid/solana-rpc-data/master_2024-12-20-16-49.json b/common/changes/@subsquid/solana-rpc-data/master_2024-12-20-16-49.json index be9fa26f9..0708dc80e 100644 --- a/common/changes/@subsquid/solana-rpc-data/master_2024-12-20-16-49.json +++ b/common/changes/@subsquid/solana-rpc-data/master_2024-12-20-16-49.json @@ -2,8 +2,8 @@ "changes": [ { "packageName": "@subsquid/solana-rpc-data", - "comment": "", - "type": "none" + "comment": "Add block timestamp extraction method for Solana blocks with Unix timestamp support", + "type": "minor" } ], "packageName": "@subsquid/solana-rpc-data" diff --git a/common/changes/@subsquid/substrate-dump/master_2024-12-20-16-49.json b/common/changes/@subsquid/substrate-dump/master_2024-12-20-16-49.json index 1cac4341d..7322d1e07 100644 --- a/common/changes/@subsquid/substrate-dump/master_2024-12-20-16-49.json +++ b/common/changes/@subsquid/substrate-dump/master_2024-12-20-16-49.json @@ -2,8 +2,8 @@ "changes": [ { "packageName": "@subsquid/substrate-dump", - "comment": "", - "type": "none" + "comment": "Add block timestamp extraction method for substrate dumper with mocked timestamp implementation", + "type": "minor" } ], "packageName": "@subsquid/substrate-dump" diff --git a/common/changes/@subsquid/substrate-ingest/master_2024-12-20-16-49.json b/common/changes/@subsquid/substrate-ingest/master_2024-12-20-16-49.json new file mode 100644 index 000000000..bf707f2e3 --- /dev/null +++ b/common/changes/@subsquid/substrate-ingest/master_2024-12-20-16-49.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@subsquid/substrate-ingest", + "comment": "Add block height and timestamp extraction methods for Substrate ingestion with mocked timestamp implementation", + "type": "minor" + } + ], + "packageName": "@subsquid/substrate-ingest" +} \ No newline at end of file diff --git a/common/changes/@subsquid/tron-dump/master_2024-12-20-16-49.json b/common/changes/@subsquid/tron-dump/master_2024-12-20-16-49.json new file mode 100644 index 000000000..48c2cf833 --- /dev/null +++ b/common/changes/@subsquid/tron-dump/master_2024-12-20-16-49.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@subsquid/tron-dump", + "comment": "Add block timestamp extraction method for TRON dumper with Unix timestamp support", + "type": "minor" + } + ], + "packageName": "@subsquid/tron-dump" +} \ No newline at end of file diff --git a/common/changes/@subsquid/tron-ingest/master_2024-12-20-16-49.json b/common/changes/@subsquid/tron-ingest/master_2024-12-20-16-49.json new file mode 100644 index 000000000..cbac161af --- /dev/null +++ b/common/changes/@subsquid/tron-ingest/master_2024-12-20-16-49.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@subsquid/tron-ingest", + "comment": "Add block height and timestamp extraction methods for TRON ingestion with Unix timestamp support", + "type": "minor" + } + ], + "packageName": "@subsquid/tron-ingest" +} \ No newline at end of file diff --git a/common/changes/@subsquid/util-internal-dump-cli/master_2024-12-20-16-49.json b/common/changes/@subsquid/util-internal-dump-cli/master_2024-12-20-16-49.json index a56dbbbd9..ba021d31e 100644 --- a/common/changes/@subsquid/util-internal-dump-cli/master_2024-12-20-16-49.json +++ b/common/changes/@subsquid/util-internal-dump-cli/master_2024-12-20-16-49.json @@ -2,8 +2,8 @@ "changes": [ { "packageName": "@subsquid/util-internal-dump-cli", - "comment": "", - "type": "none" + "comment": "Add block metrics tracking with timestamp caching and prometheus integration for dumper operations", + "type": "minor" } ], "packageName": "@subsquid/util-internal-dump-cli" diff --git a/common/changes/@subsquid/util-internal-ingest-cli/master_2024-12-20-16-49.json b/common/changes/@subsquid/util-internal-ingest-cli/master_2024-12-20-16-49.json index daf2c7c49..0900a3a72 100644 --- a/common/changes/@subsquid/util-internal-ingest-cli/master_2024-12-20-16-49.json +++ b/common/changes/@subsquid/util-internal-ingest-cli/master_2024-12-20-16-49.json @@ -2,9 +2,9 @@ "changes": [ { "packageName": "@subsquid/util-internal-ingest-cli", - "comment": "", - "type": "none" + "comment": "Add prometheus metrics integration for block ingestion monitoring and processing statistics", + "type": "minor" } - ], + ], "packageName": "@subsquid/util-internal-ingest-cli" } \ No newline at end of file diff --git a/rush.json b/rush.json index 0e24ddab1..93cf34637 100644 --- a/rush.json +++ b/rush.json @@ -124,7 +124,7 @@ * LTS schedule: https://nodejs.org/en/about/releases/ * LTS versions: https://nodejs.org/en/download/releases/ */ - "nodeSupportedVersionRange": ">=18.13.1 <23.0.0", + "nodeSupportedVersionRange": ">=18.13.1 <23.11.0", /** * Odd-numbered major versions of Node.js are experimental. Even-numbered releases @@ -290,7 +290,7 @@ * your PR branch, and in this situation "rush change" will also automatically invoke "git fetch" * to retrieve the latest activity for the remote master branch. */ - "url": "https://github.com/subsquid/squid" + "url": "https://github.com/subsquid/squid-sdk" /** * The default branch name. This tells "rush change" which remote branch to compare against.