Upgrade Plain Packages
1. Run the upgrade
uv run plain upgrade [package-names...]
This will show which packages were upgraded (e.g., plain-postgres: 0.1.0 -> 0.2.0).
2. Apply code changes for each upgraded package
For each package that was upgraded:
- Run
uv run plain changelog <package> --from <old-version> --to <new-version> - Read the "Upgrade instructions" section
- If it says "No changes required", skip to next package
- Apply any required code changes
3. Update agent rules and skills
Run uv run plain agent install to sync any updated rules and skills from the upgraded packages.
4. Validate
- Run
uv run plain fixto fix formatting - Run
uv run plain checkto validate (linting, preflight, migrations, tests)
Guidelines
- Process ALL packages before testing
- DO NOT commit any changes
- Keep code changes minimal and focused
- Report any issues or conflicts encountered