Skip to content

Release v2.0.0: Profile System & Landing Page Distribution

Choose a tag to compare

@schuettc schuettc released this 18 Nov 05:13
· 68 commits to main since this release
3ab4dd4

Release v2.0.0

Major release featuring profile management system and authenticated landing page distribution.

🎯 Key Features

Profile System v2.0

  • Multi-deployment management from single machine
  • Manage multiple AWS accounts, regions, or organizations
  • Profile commands: ccwb context list, ccwb context use, ccwb context show
  • Config commands: ccwb config validate, ccwb config export, ccwb config import
  • Common use cases: production vs development, multi-region, multi-tenant

Authenticated Landing Page Distribution

  • IdP-gated self-service download portal (Okta/Azure AD/Auth0/Cognito)
  • Platform detection with automatic OS recommendation
  • Custom domain support with ACM certificates
  • ALB access logs for audit trail
  • Lambda-generated presigned URLs (1-hour expiry)

Distribution Options

Three methods for sharing packages:

  1. Manual sharing: Zip dist/ folder, share via email/internal file sharing
  2. Presigned S3 URLs: Time-limited URLs (configurable 1-168 hours)
  3. Landing page: Self-service portal with IdP authentication

Documentation

  • QUICK_START.md: New 301-line deployment walkthrough
  • README.md: Refactored for clarity (575 → 280 lines, 51% reduction)
  • Distribution guides: Complete setup documentation for all IdPs

⚠️ Breaking Changes

Configuration Location (Automatic Migration)

  • Config moved from source/.ccwb-config/ to ~/.ccwb/
  • Automatic migration on first run
  • Timestamped backup created: config.json.backup.YYYYMMDD_HHMMSS
  • Profile names and active profile preserved
  • No manual steps required

Configuration Schema

  • Schema version 1.0 → 2.0
  • Single config file → per-profile files
  • Profile stored in ~/.ccwb/profiles/<profile-name>.json
  • Active profile tracked in ~/.ccwb/config.json

📦 Migration

Automatic Migration from v1.x:

# Migration runs automatically on first ccwb command
ccwb context list     # Verify profiles migrated
ccwb context show     # Verify active profile preserved

Rollback if needed:

rm -rf ~/.ccwb
cp ~/.ccwb-config/config.json.backup.TIMESTAMP ~/.ccwb-config/config.json

📚 Documentation

🔒 Security

  • Client secrets stored in AWS Secrets Manager
  • ALB access logs for audit trail
  • Configurable presigned URL expiration (1-168 hours)
  • S3 bucket policies with least privilege access

Full Changelog: See CHANGELOG.md for complete details