-
Notifications
You must be signed in to change notification settings - Fork 0
Migration Guide
Complete guide for upgrading DoPlan CLI and migrating projects.
No upgrade needed! npx always uses the latest version:
npx @doplan-dev/clibrew update
brew upgrade doplanscoop update doplan- Download latest release from GitHub Releases
- Replace existing binary
- Verify:
doplan --version
git pull origin main
go build -o doplan ./cmd/doplanVersion 1.0 to 1.1: No breaking changes
Version 1.1 to 1.2:
- New agent added
- Update agent files if customized
Migration Steps:
- Pull latest DoPlan CLI
- Regenerate project (optional)
- Merge customizations
When: New agents added or updated
Migration:
- Check new agent files
- Merge customizations
- Update references if needed
When: Commands updated or new commands added
Migration:
- Check command files
- Merge customizations
- Update usage if needed
When: Rules library updated
Migration:
- Check updated rules
- Merge custom rules
- Update references if needed
No breaking changes - Initial release
Breaking changes will be documented here and in release notes.
| Version | Release Date | Status |
|---|---|---|
| 1.0.0 | 2025-01-XX | Current |
| 1.0.1 | TBD | Future |
| 1.1.0 | TBD | Future |
Version 1.0 Projects: Compatible with all 1.0.x versions
Future Versions: Compatibility will be maintained within major versions
Time: < 1 minute
Steps:
- No action needed
-
npxuses latest version automatically
Time: 2-3 minutes
Steps:
- Update Homebrew:
brew update
- Upgrade DoPlan CLI:
brew upgrade doplan
- Verify:
doplan --version
Time: 5 minutes
Steps:
- Download latest release
- Backup current binary (optional)
- Replace binary
- Verify:
doplan --version
#!/bin/bash
# Backup project before migration
PROJECT_NAME=$1
BACKUP_DIR="backup-$(date +%Y%m%d)"
mkdir -p $BACKUP_DIR
cp -r $PROJECT_NAME $BACKUP_DIR/
echo "Backup created: $BACKUP_DIR"#!/bin/bash
# Update agent files
# Backup custom agents
cp -r .cursor/agents .cursor/agents.backup
# Update agents (manual merge required)
echo "Update agent files manually"Homebrew:
brew uninstall doplan
brew install doplan@1.0.0Direct Binary:
- Download previous version
- Replace binary
- Verify version
If using Git:
git checkout <previous-commit>If using backup:
cp -r backup-YYYYMMDD/project-name .| DoPlan CLI | Project v1.0 | Project v1.1 | Project v1.2 |
|---|---|---|---|
| 1.0.x | ✅ | ✅ | ✅ |
| 1.1.x | ✅ | ✅ | ✅ |
| 1.2.x | ✅ | ✅ |
Legend:
- ✅ Fully compatible
⚠️ Compatible with migration- ❌ Not compatible
Symptoms: Project generated with different version
Solution:
- Check DoPlan CLI version:
doplan --version
- Upgrade if needed
- Regenerate project if necessary
Symptoms: Features not available after upgrade
Solution:
- Check release notes
- Verify version
- Update project structure if needed
Symptoms: Custom agents/commands/rules missing
Solution:
- Restore from backup
- Merge with new version
- Update references
Always backup:
- Custom agents
- Custom commands
- Custom rules
- Project state
Test:
- Project generation
- Commands
- Agents
- Rules
Before upgrading:
- Read release notes
- Check breaking changes
- Review migration guide
For major versions:
- Test in development
- Migrate one project at a time
- Verify before full migration
- Installation - Installation guide
- Release Notes - Version history
- Troubleshooting - Common issues
- Home - Wiki home page
Last Updated: 2025
Maintained By: Documentation Team