Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@kerimdzhanov kerimdzhanov released this 29 Sep 20:15

✨ New Features

  • options.pattern - is a new configuration option that allows customizing the default .env* files' naming convention. The default value of the pattern is .env[.node_env][.local] as of the current default naming convention (see PR #30 for more details).
  • options.debug - is another new configuration option that if enabled, turns on debug messaging (PR #31).
  • Added warning message that will be shown if none of the appropriate .env* files is found (PR #33).
  • dotenv-flow has been updated to v4.0.0 which brings dotenv v16.0.0 along with support of multiline values, inline comments, and backticks in .env* files (PR #29).

💥 BREAKING CHANGES

  • The plugin is now throwing exceptions on .env* files read/parse failures instead of "error logging" them (PR #32).
  • Previously deprecated options.environment has been removed, please use options.node_env instead (PR #27).
  • Upgrading to dotenv-flow v4 (and dotenv v16 appropriately) drops Node.js versions support prior to v12.
  • Upgrading to dotenv-flow v4 (and dotenv v16 appropriately) brings multiline values, inline comments, and backticks support. Please check the contents of your .env* files and make sure that all the # and backtick symbols are properly quoted if they are part of the value.

📃 Full Changelog

v1.2.0...v2.0.0