Skip to content
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
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
10 changes: 10 additions & 0 deletions common/changes/@subsquid/solana-dump/master_2024-12-20-16-49.json
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions common/changes/@subsquid/tron-dump/master_2024-12-20-16-49.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions common/changes/@subsquid/tron-ingest/master_2024-12-20-16-49.json
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions rush.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
Loading