Skip to content

ci(release)!: v22 - #341

Draft
dargmuesli wants to merge 2 commits into
mainfrom
beta
Draft

dargmuesli wants to merge 2 commits into
mainfrom
beta

Conversation

@dargmuesli

Copy link
Copy Markdown
Member

⚠️ Breaking changes

What 22 means

Stack 22 moves the database to sqitch 13, which consolidates all previous migrations into a clean set of base migrations. Alongside it, the stack pins vibetype 17.1.0 and postgraphile 3.0.0, which are built against the sqitch 13 schema and its changed GraphQL API, so the three have to be upgraded together and none of them works with the previous generation of the others.

A database deployed by sqitch 12 cannot be upgraded in place: sqitch 13 no longer finds the recorded change history in its plan and sqitch deploy aborts with Cannot find change ... in sqitch.plan. Deploying 22 the usual way would therefore fail on the database and leave vibetype 17 running against the old schema.

To upgrade, follow docs/sqitch-major-upgrade.md instead of a plain deploy. It renames the old schemas, lets sqitch 13 deploy fresh ones next to them, and copies the data across with docs/sqitch-major-upgrade.sql, keeping only the columns both versions share and reporting the rest. Rehearse it first on a copy of production data with docs/sqitch-major-upgrade-rehearse.sh, which fails when a row goes missing, and plan for downtime from stopping the services until the new stack is up.

dargmuesli and others added 2 commits November 11, 2026 14:35
## [22.0.0-beta.1](21.10.3...22.0.0-beta.1) (2026-11-11)

### ⚠ BREAKING CHANGES

* **sqitch:** upgrade to v13 (#333)

### Features

* **sqitch:** upgrade to v13 ([#333](#333)) ([b323266](b323266))
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.

2 participants