Upgrading Versions

Guide to upgrading Bootspring between versions.

Checking Your Version#

bootspring --version

Upgrade Process#

Step 1: Check Current Version#

bootspring --version # Output: bootspring/1.1.0

Step 2: Check for Updates#

bootspring update --check

Output:

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.backup

Step 4: Update#

# Using npm npm update -g bootspring # Or using the CLI bootspring update

Step 5: Verify#

bootspring --version bootspring status

Version Numbering#

Bootspring follows semantic versioning:

MAJOR.MINOR.PATCH
TypeDescriptionExample
MajorBreaking changes1.0.0 → 2.0.0
MinorNew features, backwards compatible1.1.0 → 1.2.0
PatchBug fixes1.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 migrate

Command Changes#

OldNew
bootspring agent frontend-expertbootspring agent invoke frontend-expert
bootspring skill patterns/authbootspring 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-run

Minor Version Upgrades#

Minor versions add features without breaking changes.

Typical Process#

npm update -g bootspring bootspring --version

No configuration changes needed.

New Features#

Check what's new:

bootspring changelog

Patch 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 bootspring

Version Pinning#

Pin to Specific Version#

npm install -g bootspring@1.2.0

Pin in CI/CD#

# GitHub Actions - run: npm install -g bootspring@1.2.0

Lock 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 clear

Beta and Canary Versions#

Installing Beta#

npm install -g bootspring@beta

Installing Canary#

npm install -g bootspring@canary

Switching Back to Stable#

npm install -g bootspring@latest

Multi-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 8done

Upgrade All#

# Global upgrade affects all projects npm update -g bootspring

Project-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-fix

Context Generation Changed#

Regenerate context after major upgrades:

bootspring generate --force

Cache Issues#

Clear cache if experiencing issues:

bootspring cache clear

Plugin Compatibility#

Check plugin compatibility:

bootspring plugin list # Shows if plugins need updates bootspring plugin update --all

Release Channels#

ChannelDescriptionStability
stableProduction readyHigh
betaFeature complete, testingMedium
canaryLatest features, may be unstableLow

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.0

Or visit /changelog on the website.