Skip to content

v1.7.0 - DEV/PROD Environment Separation & Smart Config Merge

Choose a tag to compare

@Gronsten Gronsten released this 13 Nov 22:44
· 39 commits to main since this release
8a75d08

Summary

This release implements a dual environment structure that safely separates active development from production usage, with intelligent configuration management.

What's New

馃敡 DEV/PROD Separation

  • Repository restructured with _dev/ for development and _prod/ for production
  • Separate config.json files for each environment
  • Safe parallel development without breaking production usage

馃 Smart Config Merge

  • Created upgrade-prod.ps1 script with intelligent config management
  • Automatically preserves user values while adding new schema fields from releases
  • Detects and reports deprecated config fields (but keeps them)
  • Tracks config schema versions with new configVersion field
  • Alerts users to review CHANGELOG.md when manual adjustments needed

馃摝 Config Versioning

  • Added configVersion field to config.json schema
  • Enables automatic detection of config schema changes
  • Supports safe upgrades with automatic schema migrations

Breaking Changes

鈿狅笍 Repository Structure Changed

  • Git repository moved to _dev/ subdirectory
  • All Git operations must be run from C:\AppInstall\dev\powershell-console\_dev
  • Update any scripts/aliases that reference the old path

鈿狅笍 PowerShell Profile Update Required

  • If using aws-prompt-indicator module, update Import-Module path:
    • Old: C:\AppInstall\dev\powershell-console\modules\aws-prompt-indicator\...
    • New: C:\AppInstall\dev\powershell-console\_dev\modules\aws-prompt-indicator\...

Files Changed

  • console.ps1 - Version bumped to 1.7.0
  • config.example.json - Added configVersion field (1.7.0)
  • CHANGELOG.md - Added v1.7.0 release notes with config changes documentation
  • upgrade-prod.ps1 (NEW) - Smart upgrade script for PROD environment
  • MIGRATION-v1.7.0.md (NEW) - Detailed migration guide
  • REPOS.md - Updated with new _dev path and DEV/PROD structure
  • CLAUDE.md - Added DEV/PROD workflow and config management documentation

Migration Guide

See MIGRATION-v1.7.0.md for detailed upgrade instructions.

Quick upgrade steps:

  1. Run .\upgrade-prod.ps1 from project root
  2. Review config changes in CHANGELOG.md
  3. Update PowerShell profile if using aws-prompt-indicator module

馃 Generated with Claude Code