Release Notes - v2.2.7
Released on 2025-09-28. This version focuses on updating dependencies, adding the ability to ignore specific lines using the // dotenv-diff-ignore comment and adding warnings when .env is not ignored by .gitignore.
- Updated dependencies for Chalk and Commander.
- Fixed --strict error output to console when no warnings are found.
- Added warning on .env not ignored by .gitignore on default.
- Added // dotenv-diff-ignore comments for ignoring specific warnings on individual lines:
Note: This will only ignore potential secrets warnings for the specific line it is added to. Other errors on the same line will still be reported:
In the above example, only the potential secret warning for the hardcoded URL will be ignored. The missing variable warning for API_URL will still be reported if it is not defined in .env.
← Back Next →