Releases: zauberware/capistrano-node-dotenv
Releases · zauberware/capistrano-node-dotenv
v1.0.0
What's Changed
Added
- Initial release
- `dotenv:setup` – upload local `config/application.yml` to the remote shared folder as a `.env` file
- `dotenv:update` – interactively compare local config with remote `.env` and push selected changes
- `dotenv:get` – interactively compare remote `.env` with local config and pull selected changes
- `dotenv:init` – bootstrap local `config/application.yml` by pulling `.env` files from all stages
- `dotenv:show` – print the content of the remote `.env` file for the current stage
- `dotenv:backup` – create a timestamped backup of the remote `.env` file (retains latest 5)
- `dotenv:rollback` – restore the remote `.env` from the most recent backup
- `dotenv:check` – pre-deploy checks (file exists, not git-tracked, stage config present)
- Automatic symlinking of the remote `.env` via `deploy:started` hook
- Section-marker format in generated `.env` files for deterministic parsing (`# Begin/End envs`)
- `Parser` module for reading and writing section-annotated `.env` files
- `Helpers` module with backup management, hash diffing, and interactive prompts
- `Paths` module for resolving local and remote file paths via Capistrano `fetch`
Full Changelog: https://github.com/zauberware/capistrano-node-dotenv/commits/v1.0.0