Skip to main content

Migration Guide Template

Migrations lower blood pressure. They explain what’s changing, why it matters, and how to get through the upgrade with verifications and rollbacks close at hand.

❌ DO NOT COPY: Guidance & Constraints

  • Keep the frontmatter complete (title, description, icon, versionFrom, versionTo, and optional releaseDate). Readers should know at a glance what versions they are moving between.
  • Start with context: summary table + “Should you upgrade?” checklist. Highlight deadlines with <Warning> and call out optional paths with <Tip>.
  • Break the body into Plan → Migrate → Validate. Use numbered headings inside Migrate and put rollback instructions directly after any risky step.
  • When porting older migration guides, keep existing change tables, screenshots, and warnings. Slot them into this format unless the upgrade path has materially changed.
  • Document breaking changes with an Old behavior vs New behavior table. Use <Info icon="check"> for mandatory verification steps.
  • Optional flow diagrams are allowed, but only when a left-to-right Mermaid (graph LR) clarifies the upgrade path.
  • End with two CTA cards (left = deep dive reference, right = applied example) and keep the comment reminder for reviewers.

✅ COPY THIS: Content Skeleton

Paste the block below, swap placeholders, and delete optional sections only after you’ve confirmed they aren’t needed.

Plan

  • [Actionable preparatory step]
  • [Stakeholder alignment or backup note]

Migrate

1. [Upgrade dependencies]

[Optional hint or staging strategy.]
Run [verification command] and confirm it reports [expected output].

2. [Update configuration]

Breaking change: [Explain the new behavior and what to update].
Rollback: [Describe how to revert this specific step].

3. [Run data migrations or API updates]

[Describe logs, metrics, or sample response that proves success].

Validate

  • [Smoke test or script] returns expected result.
  • [Dashboard or metric] shows [desired signal].
  • [End-to-end scenario] passes with [new behavior].

Breaking changes

Rollback plan

  1. [Step-by-step rollback instructions]
  2. [Restore backups or redeploy previous image]
  3. [Validation after rollback]

Known issues

  • [Issue name]: [Status]. [Workaround or link].
  • [Issue name]: [Status]. [Workaround or link].

After you migrate

  • [Link to feature guide showing new capabilities]
  • [Link to cookbook or integration that benefits from the upgrade]

[Deep dive reference]

[Applied example or next step]