Releases: btafoya/claude-code-sync
Release list
v1.3.0 - Project Rename to claude-code-sync
Release v1.3.0 - Project Rename to claude-code-sync
🎯 Major Changes
This release renames the project from claude-sync to claude-code-sync to better reflect its purpose and align with the GitHub repository name.
Breaking Changes
- Old:
claude-sync <command> - New:
claude-code-sync <command>
- Old:
~/.claude-sync - New:
~/.claude-code-sync
🔄 Automatic Migration
The v1.3.0 release includes automatic migration logic that:
- Detects existing
~/.claude-syncdirectories on first run - Prompts user to migrate data to
~/.claude-code-sync - Preserves all backups, snapshots, and configuration
- Provides manual migration instructions if declined
Example migration prompt:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Migration Notice
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The project has been renamed from 'claude-sync' to 'claude-code-sync'.
Old directory: ~/.claude-sync
New directory: ~/.claude-code-sync
Migrate existing data to new directory? [y/N]:
📦 What Changed
Renamed Components
- CLI command:
claude-sync→claude-code-sync - User data directory:
~/.claude-sync→~/.claude-code-sync - Install location:
~/.local/lib/claude-sync→~/.local/lib/claude-code-sync - Executable name:
bin/claude-sync→bin/claude-code-sync
Updated Files
- All source code (bin/, lib/)
- All documentation (*.md files)
- Installation script (install.sh)
- All test files (tests/)
- Internal variable names (
CLAUDE_SYNC_*→CLAUDE_CODE_SYNC_*)
🚀 Upgrading
For New Users
Simply install as normal:
git clone https://github.com/btafoya/claude-code-sync.git
cd claude-code-sync
./install.sh
claude-code-sync initFor Existing Users
Option 1: Automatic Migration (Recommended)
git pull
./install.sh
claude-code-sync --version # Triggers migration promptOption 2: Manual Migration
git pull
./install.sh
mv ~/.claude-sync ~/.claude-code-sync
claude-code-sync --versionclaude-sync to use claude-code-sync.
📝 Full Changelog
Changed
- Project Renamed: All references updated from
claude-synctoclaude-code-sync- CLI command name
- User data directory
- Internal code references
- Documentation and examples
Added
- Automatic Migration Logic
- Interactive prompts for data migration
- Preserves all existing data
- One-time migration on first run
Updated
- All documentation files
- Install script
- Test files
- Internal variable names
- Version bumped to 1.3.0
✅ Testing
All tests passing:
- ✓ Syntax validation
- ✓ Help command functional
- ✓ Version display correct (v1.3.0)
- ✓ Migration logic triggers properly
- ✓ All unit and integration tests passing
📚 Documentation
Updated documentation available at:
Full Changelog: v1.2.0...v1.3.0
v1.2.0 - Automatic Dependency Installation
What's New in v1.2.0
🎯 Automatic Dependency Installation
claude-sync now automatically detects and installs missing dependencies with user confirmation, making setup even easier!
Features
- Smart Package Detection: Automatically detects missing required packages (gnupg, tar, gzip, coreutils, rsync)
- Interactive Installation: Prompts users to install missing dependencies via apt
- Package Mapping: Correctly maps commands to apt package names (e.g.,
gpg→gnupg,sha256sum→coreutils) - Separate Handling: Required packages are handled separately from optional packages (jq, git)
- Verification: Confirms successful installation after package installation
- Clear Fallback: Provides manual installation instructions if automatic installation fails
User Experience
Before (v1.1.0):
$ claude-sync init
[ERROR] Missing dependencies: gpg tar jq
Install with: sudo apt install gpg tar jq
# User must manually install and retryAfter (v1.2.0):
$ claude-sync init
[WARN] Missing required dependencies: gpg tar
Install missing packages using apt? (gnupg tar) [y/N]: y
[INFO] Installing packages: gnupg tar
[INFO] ✓ Successfully installed required packages
[WARN] Missing optional dependencies: jq
Install optional packages? (jq) [y/N]: y
[INFO] Installing optional packages: jq
[INFO] ✓ Backup system initializedChanges
- Enhanced
check_dependencies()function inlib/utils.sh - Updated README.md with automatic installation documentation
- Added CHANGELOG.md for version tracking
- Created TEST_REPORT.md for comprehensive test documentation
- Added
tests/test_dependency_check.shfor validation
Testing
- ✅ All unit tests passing (7/7)
- ✅ All integration tests passing (9/9)
- ✅ Syntax validation complete
- ✅ New dependency check test added
Installation
git clone https://github.com/btafoya/claude-code-sync.git
cd claude-code-sync
./install.sh
claude-sync init # Dependencies will be auto-installed!Full Changelog
See CHANGELOG.md for complete version history.
Previous Release: v1.1.0