Skip to content

Prepare release v0.3.0: upgrade seeds and notes - #339

Merged
plainprogrammer merged 2 commits into
mainfrom
0-3-0-release-prep
Nov 12, 2026
Merged

plainprogrammer merged 2 commits into
mainfrom
0-3-0-release-prep

Conversation

@plainprogrammer

Copy link
Copy Markdown
Owner

Prepares main for tagging v0.3.0 (docs/releasing.md, Cutting a release, step 1).

Upgrade proof seeds (spec 031)

  • script/upgrade/seeds/next.rb → script/upgrade/seeds/0.3.0.rb, with the released-seed header (as 0.2.1.rb has)
  • script/upgrade/seed_exceptions.yml gains a "0.3.0": [] key
  • A new next.rb starts from the same content; nothing is pending for the release after 0.3.0 yet

After the tag, CI's upgrade proof upgrades from v0.3.0 using 0.3.0.rb.

Upgrade notes

v0.2.1 had no upgrade notes, and several migrations since then had none either. This adds:

  • Decks (spec 062): what AddDecks changes on locations and the move to export format 4
  • Instance settings one row (Hold instance_settings to exactly one row #229)
  • Session idle expiry (spec 049): the IP address and user agent are dropped on purpose; nobody is signed out by the upgrade
  • Each account's currency (spec 038): set COLLECTOR_CURRENCY before upgrading; an unsupported code fails the migration
  • Smaller additions: additive tables and columns only (specs 015, 026, 032, 037, 040, 042)

Verification

  • ruby script/upgrade/guard.rb: v0.2.1's 14 migrations are unchanged
  • bin/rspec spec/script/upgrade: 136 examples, 0 failures
  • The pre-push bin/ci passed on c8f7afe

After merge

  1. Tag v0.3.0, annotated, on the merge commit, and push the tag
  2. Watch the release run and check both architectures and the upgrade smoke steps
  3. Delete the two sessions entries (migration 20261109100003) from script/upgrade/expected_changes.yml, because v0.3.0 contains that migration (step 7)

🤖 Generated with Claude Code

plainprogrammer and others added 2 commits November 12, 2026 10:05
Cutting v0.3.0 (docs/releasing.md step 1): seeds/next.rb becomes
seeds/0.3.0.rb with the released-seed header, seed_exceptions.yml gains
a "0.3.0" key, and a fresh next.rb starts from the same content.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Decks (spec 062, export format 4), instance settings' one row (#229),
session idle expiry (spec 049), each account's currency (spec 038:
set COLLECTOR_CURRENCY before upgrading) and the smaller additive
migrations had no note.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@plainprogrammer plainprogrammer self-assigned this Nov 12, 2026
@plainprogrammer
plainprogrammer merged commit a9f6de7 into main Nov 12, 2026
9 checks passed
@plainprogrammer
plainprogrammer deleted the 0-3-0-release-prep branch November 12, 2026 16:42
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.

1 participant