Skip to content

feat: add new version of PG, restrict PG version change#113

Merged
mo4islona merged 2 commits intodevelopfrom
sdktl-378-add-postgresql-15-16-17-18-support-for-squids
Mar 27, 2026
Merged

feat: add new version of PG, restrict PG version change#113
mo4islona merged 2 commits intodevelopfrom
sdktl-378-add-postgresql-15-16-17-18-support-for-squids

Conversation

@shestakoven
Copy link
Copy Markdown
Contributor

No description provided.

@shestakoven shestakoven requested a review from mo4islona March 26, 2026 13:32
@shestakoven shestakoven self-assigned this Mar 26, 2026
@mo4islona mo4islona requested review from Copilot and removed request for mo4islona March 26, 2026 19:44
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the CLI to support the newer @subsquid/manifest version and adds a deploy-time guard that prevents changing an existing squid’s Postgres major version unless --hard-reset is explicitly used.

Changes:

  • Bump @subsquid/manifest to ^2.1.3 (and update lockfile) and bump CLI version to 3.3.4.
  • Add a deploy blocker that errors when the manifest’s Postgres version differs from the currently deployed manifest’s version unless --hard-reset is set.
  • Add unit tests for the Postgres version mismatch detection helper.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
package.json Bumps CLI version and updates @subsquid/manifest dependency to ^2.1.3.
yarn.lock Locks @subsquid/manifest resolution to 2.1.3.
src/commands/deploy.ts Adds Postgres version mismatch detection + deploy-time blocker requiring --hard-reset.
src/commands/deploy.unit.spec.ts Adds unit coverage for getPostgresVersionMismatch.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@mo4islona mo4islona merged commit c954456 into develop Mar 27, 2026
3 checks passed
@mo4islona mo4islona deleted the sdktl-378-add-postgresql-15-16-17-18-support-for-squids branch March 27, 2026 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants