Skip to content

v0.3.0

Choose a tag to compare

@sarhej sarhej released this 24 Feb 23:13
· 56 commits to main since this release

Extension 0.3.0 — Prevent data loss on lock with drift

Added

  • Lock with drift: Save & Lock — When .env has changes not saved to .env.up, Lock offers only "Save to .env.up & Lock" or "Cancel". No option to discard changes.
  • Drift check on auto-lock — Timer auto-lock skips deleting .env when it has unsaved-to-.env.up changes.
  • Drift check on close — Closing the editor no longer deletes .env when it has unsaved-to-.env.up changes.
  • Tests — New "Lock with drift" test suite.
  • Safety auditdocs/ENV_DELETION_SAFETY_AUDIT.md documents every deletion path and its guard.

Fixed

  • Data loss prevention — Removed "Lock (discard changes)"; the only way to lock when there is drift is "Save to .env.up & Lock".
  • Auto-lock and deactivate — Both now check drift and skip deletion when .env has changes not in .env.up.