Skip to content

v2.7.4

Choose a tag to compare

@GeneBO98 GeneBO98 released this 19 Jun 01:21

Critical hotfix. Anyone on 2.7.3 should upgrade immediately — 2.7.3 breaks authentication.

Fixed

  • Authentication broken on 2.7.xUser.findById (run on every authenticated request) selects trial_used and trial_started_at, but a migration ordering bug left those columns missing, so every request failed with column "trial_used" does not exist (or trial_started_at).

    Root cause: migration 185 added trial_started_at and then ran an UPDATE ... trial_used in the same block, before any migration created trial_used. The migration runner's undefined_column handler caught the error and rolled back the whole block — including the column add — while still recording 185 as applied. The result was a users table missing both columns. This release adds an idempotent migration that restores both columns and backfills them.

Upgrade

Pull the new image and restart — the migration applies automatically on boot:

docker compose pull && docker compose up -d