Skip to content

v2.0.0

Latest

Choose a tag to compare

@untitledpng untitledpng released this 10 Oct 09:12

🚀 Complete Rewrite with Rollback and Save Commands

This release brings major improvements and new functionality:

  • ♻️ Full Codebase Rewrite:
    The entire codebase has been rewritten for improved performance, cleaner architecture, and easier maintainability.

  • Added Rollback Command:
    Introduced a rollback command to restore environment file(s) from the .backup file or from a specific environment file (e.g., .env.local).

  • Added Save Command:
    Added a save command that allows you to persist current environment changes back to the corresponding environment-specific files.

These enhancements significantly improve reliability, performance, and developer control over environment management.

Upgrading from v1.x

We have changed the JSON structure in both the global and project specific .switchrc files. We recommend to remove these old files and initialise your project again. You can remove your global config using the following command: rm ~/.config/switch/.switchrc