Upgrading Versions
Guide to upgrading Bootspring between versions.
Checking Your Version#
bootspring --versionUpgrade Process#
Step 1: Check Current Version#
bootspring --version
# Output: bootspring/1.1.0Step 2: Check for Updates#
bootspring update --checkOutput:
Current version: 1.1.0
Latest version: 1.2.0
Changelog:
- New: Preseed workflow
- New: 5 additional agents
- Improved: Context generation performance
- Fixed: Memory leak in long sessions
Run `bootspring update` to upgrade.
Step 3: Backup Configuration#
cp bootspring.config.js bootspring.config.js.backup
cp -r .bootspring .bootspring.backupStep 4: Update#
# Using npm
npm update -g bootspring
# Or using the CLI
bootspring updateStep 5: Verify#
bootspring --version
bootspring statusVersion Numbering#
Bootspring follows semantic versioning:
MAJOR.MINOR.PATCH
| Type | Description | Example |
|---|---|---|
| Major | Breaking changes | 1.0.0 → 2.0.0 |
| Minor | New features, backwards compatible | 1.1.0 → 1.2.0 |
| Patch | Bug fixes | 1.1.0 → 1.1.1 |
Major Version Upgrades#
Major versions may include breaking changes.
Pre-Upgrade Checklist#
- Read the changelog
- Backup configuration
- Check deprecation warnings
- Review migration guide
- Test in development first
Common Breaking Changes#
Configuration Schema Changes#
Old config:
module.exports = {
agents: ['frontend-expert', 'backend-expert'],
};New config:
module.exports = {
agents: {
enabled: ['frontend-expert', 'backend-expert'],
},
};Migration:
bootspring config migrateCommand Changes#
| Old | New |
|---|---|
bootspring agent frontend-expert | bootspring agent invoke frontend-expert |
bootspring skill patterns/auth | bootspring skill apply patterns/auth |
API Changes#
Check SDK documentation for API changes.
Migration Commands#
1# Check for migration needs
2bootspring migrate --check
3
4# Run automatic migration
5bootspring migrate
6
7# Manual review of changes
8bootspring migrate --dry-runMinor Version Upgrades#
Minor versions add features without breaking changes.
Typical Process#
npm update -g bootspring
bootspring --versionNo configuration changes needed.
New Features#
Check what's new:
bootspring changelogPatch Version Upgrades#
Patches contain bug fixes only.
Auto-Update#
Enable auto-updates for patches:
1// bootspring.config.js
2module.exports = {
3 updates: {
4 autoUpdate: 'patch', // 'none', 'patch', 'minor', 'all'
5 checkInterval: 'daily',
6 },
7};Manual Update#
npm update -g bootspringVersion Pinning#
Pin to Specific Version#
npm install -g bootspring@1.2.0Pin in CI/CD#
# GitHub Actions
- run: npm install -g bootspring@1.2.0Lock File#
For team consistency:
// .bootspringrc
{
"version": "1.2.0",
"checkOnStart": false
}Rollback#
Rollback to Previous Version#
1# Install specific version
2npm install -g bootspring@1.1.0
3
4# Restore backup config
5cp bootspring.config.js.backup bootspring.config.js
6cp -r .bootspring.backup/* .bootspring/Clear Cache After Rollback#
bootspring cache clearBeta and Canary Versions#
Installing Beta#
npm install -g bootspring@betaInstalling Canary#
npm install -g bootspring@canarySwitching Back to Stable#
npm install -g bootspring@latestMulti-Project Upgrades#
Check All Projects#
1# In each project directory
2for dir in ~/projects/*/; do
3 cd "$dir"
4 if [ -f "bootspring.config.js" ]; then
5 echo "Project: $dir"
6 bootspring --version
7 fi
8doneUpgrade All#
# Global upgrade affects all projects
npm update -g bootspringProject-Specific Versions#
Use npx for project-specific versions:
1// package.json
2{
3 "devDependencies": {
4 "bootspring": "1.2.0"
5 }
6}npx bootspring <command>Troubleshooting Upgrades#
Config Validation Failed#
bootspring config validate
# Shows specific issues
bootspring config fix
# Attempts auto-fixContext Generation Changed#
Regenerate context after major upgrades:
bootspring generate --forceCache Issues#
Clear cache if experiencing issues:
bootspring cache clearPlugin Compatibility#
Check plugin compatibility:
bootspring plugin list
# Shows if plugins need updates
bootspring plugin update --allRelease Channels#
| Channel | Description | Stability |
|---|---|---|
stable | Production ready | High |
beta | Feature complete, testing | Medium |
canary | Latest features, may be unstable | Low |
Subscribe to Releases#
Changelog#
View changelog:
1bootspring changelog
2
3# Specific version
4bootspring changelog 1.2.0
5
6# Range
7bootspring changelog 1.1.0..1.2.0Or visit /changelog on the website.