docs/templates/migration_guide_template.mdx
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.
title, description, icon, versionFrom, versionTo, and optional releaseDate). Readers should know at a glance what versions they are moving between.<Warning> and call out optional paths with <Tip>.Old behavior vs New behavior table. Use <Info icon="check"> for mandatory verification steps.graph LR) clarifies the upgrade path.Paste the block below, swap placeholders, and delete optional sections only after you’ve confirmed they aren’t needed.
---
title: [Migration title]
description: [Why this upgrade matters]
icon: "arrows-rotate"
versionFrom: "[current version]"
versionTo: "[target version]"
releaseDate: "[YYYY-MM-DD]" # Optional
---
# [Migration headline — state the move]
| Scope | Effort | Downtime |
| --- | --- | --- |
| [Platform/OSS/etc.] | [Low/Medium/High] ([~time]) | [Expected downtime impact] |
<Info>
**Should you upgrade?**
- [Criteria 1]
- [Criteria 2]
- [Criteria 3]
</Info>
<Warning>
[Breaking deadline or critical change. Remove if not needed.]
</Warning>
## Timeline
- [Date]: [Milestone]
- [Date]: [Milestone]
```mermaid
graph LR
A[Plan] */} B[Migrate]
B */} C[Validate]
C */} D[Roll back if needed]
pip install mem0ai==[version]
npm install mem0ai@[version]
- memory_filters = true
+ filters = true
Rollback: [Describe how to revert this specific step].
[Code snippet showing new behavior]
[Smoke test or script] returns expected result.[Dashboard or metric] shows [desired signal].[End-to-end scenario] passes with [new behavior].| Old behavior | New behavior | Action |
|---|---|---|
[Explain] | [Explain] | [What to change] |
[Explain] | [Explain] | [What to change] |
[Step-by-step rollback instructions][Restore backups or redeploy previous image][Validation after rollback][Status]. [Workaround or link].[Status]. [Workaround or link].[Link to feature guide showing new capabilities][Link to cookbook or integration that benefits from the upgrade]versionFrom, versionTo) and timelines are accurate.<Warning>.<Info icon="check"> and are actionable.<CardGroup> contains exactly two cards with valid links.