Skip to content

docs: Put the 4.0 upgrade steps first and move breaking changes to their own page - #856

Merged
developerjamiu merged 4 commits into
mainfrom
docs/upgrade-guide-steps-first
Sep 22, 2026
Merged

developerjamiu merged 4 commits into
mainfrom
docs/upgrade-guide-steps-first

Conversation

@developerjamiu

@developerjamiu developerjamiu commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Follows Marcelo's suggestion to put the upgrade steps first and move the reference material out of the way. Between serverpod generate and create-migration the guide had about 2,400 words of breaking-change notes, so readers scrolled past sections that didn't apply to them to reach the next command.

The page becomes two:

Page Reader
Upgrade to 4.0 upgrading now: the required steps, then switching to serverpod start
Breaking changes in 4.0 hit an error, looking it up

Adopting serverpod start stays on the upgrade guide as its closing steps and is no longer labelled optional, since it is the point of the release. Every change is mirrored to the 4.0.0 versioned docs. Sibling pages keep their numbers; only the archive folder renumbers, and slugs are unchanged.

Best reviewed commit by commit:

  1. Moves only. Every line of the old page lands in one of the two files, with links retargeted where an anchor moved. No wording changes, so nothing can be lost.

  2. Wording. Upgrade to 4.0 is rewritten for a first-time reader. The required path reads straight through, then a Switch to serverpod start step, then Verify. Conditional detail (legacy auth, flutter_secure_storage on Android) is linked rather than repeated. The breaking-changes page gets an intro, promoted headings, and two table rows for the moved auth sections; its body text is unchanged.

  3. Migration command. --force goes on the create-migration command, since most projects use the auth module and need it, and the note says when it doesn't matter. Before you start gains "no model changes waiting for a migration", which is what makes the flag harmless otherwise.

  4. Review fixes. From Marcelo's review: the dependency block says it isn't the full list, and the agent section opens with the fact that an upgraded project has to add the skills and MCP servers by hand.

One thing to know: the fourteen breaking-change headings moved pages, so an existing link such as upgrade-to-four#file-storage-apis-are-renamed now lands at the top of the upgrade guide. Docusaurus cannot redirect anchors.

@developerjamiu
developerjamiu marked this pull request as ready for review September 21, 2026 19:04
@developerjamiu developerjamiu added the enhancement New feature or request label Sep 21, 2026
@developerjamiu
developerjamiu force-pushed the docs/upgrade-guide-steps-first branch from e167350 to a6ca0e1 Compare September 21, 2026 20:24
@developerjamiu developerjamiu changed the title docs: Split the 4.0 upgrade guide into steps, workflow, and breaking changes docs: Put the 4.0 upgrade steps first and move breaking changes to their own page Sep 21, 2026

@marcelomendoncasoares marcelomendoncasoares left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

A few comments only, but I think this style is great! Direct to the point, so users don't lose the core instructions. I'm leaving it approved already.

Comment thread docs/11-upgrading/01-upgrade-to-four.md
Comment thread docs/11-upgrading/01-upgrade-to-four.md Outdated
Comment thread docs/11-upgrading/01-upgrade-to-four.md
@developerjamiu
developerjamiu enabled auto-merge (squash) September 22, 2026 17:40
@developerjamiu
developerjamiu merged commit 70f8234 into main Sep 22, 2026
6 checks passed
@developerjamiu
developerjamiu deleted the docs/upgrade-guide-steps-first branch September 22, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants