Dotenv Flow Versions Save

Loads environment variables from .env.[development|test|production][.local] files for Node.js® projects.

v4.1.0

4 months ago

✹ New Features

📃 Full Changelog

› https://github.com/kerimdzhanov/dotenv-flow/compare/v4.0.1...v4.1.0

v4.0.1

6 months ago

🐛 Bug Fixes

📃 Full Changelog

› https://github.com/kerimdzhanov/dotenv-flow/compare/v4.0.0...v4.0.1

v4.0.0

7 months ago

✹ New Features

💥 BREAKING CHANGES

  • "In package" type definitions (.d.ts files) replace the "Definitely Typed" @types/dotenv-flow package but might be conflicting. If you have @types/dotenv-flow typings package in your package.json dependencies, please make sure to remove it once you upgrade dotenv-flow to v4 or above.
  • .config() method is now returning an .error if none of the appropriate .env* files is present (PR: https://github.com/kerimdzhanov/dotenv-flow/pull/70).
  • Previously deprecated options.cwd has been removed, please use options.path instead (PR: https://github.com/kerimdzhanov/dotenv-flow/pull/72).
  • The exposed internal API method .listDotenvFiles(dirname, options) has been replaced with .listFiles(options). If you're using the method, please replace it with the new one. It receives optional options.path, options.node_env, and options.pattern and returns a list of existing .env* files (PR: https://github.com/kerimdzhanov/dotenv-flow/pull/75).
  • Updating dotenv 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.
  • Dropped Node.js versions support prior to v12.

👏 New Contributors

📃 Full Changelog

› https://github.com/kerimdzhanov/dotenv-flow/compare/v3.3.0...v4.0.0

v4.0.0-rc.3

7 months ago

✹ New Features

💥 BREAKING CHANGES

  • "In package" type definitions (.d.ts files) replace the "Definitely Typed" @types/dotenv-flow package but might be conflicting. If you have @types/dotenv-flow typings package in your package.json dependencies, please make sure to remove it once you upgrade dotenv-flow to v4 or above.
  • .config() method is now returning an .error if none of the appropriate .env* files is present (PR: https://github.com/kerimdzhanov/dotenv-flow/pull/70).
  • Previously deprecated options.cwd has been removed, please use options.path instead (PR: https://github.com/kerimdzhanov/dotenv-flow/pull/72).
  • The exposed internal API method .listDotenvFiles(dirname, options) has been replaced with .listFiles(options). If you're using the method, please replace it with the new one. It receives optional options.path, options.node_env, and options.pattern and returns a list of existing .env* files (PR: https://github.com/kerimdzhanov/dotenv-flow/pull/75).
  • Updating dotenv 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.
  • Dropped Node.js versions support prior to v12.

🏗 Release Candidate 2 Updates

  • fix(dotenv-flow): mark typings' files as "publishing to npm

🏗 Release Candidate 3 Updates

  • feat(dotenv-flow): expose DEFAULT_PATTERN

New Contributors

Full Changelog

› https://github.com/kerimdzhanov/dotenv-flow/compare/v3.3.0...v4.0.0-rc.3

v4.0.0-rc.2

7 months ago

✹ New Features

💥 BREAKING CHANGES

  • "In package" type definitions (.d.ts files) replace the "Definitely Typed" @types/dotenv-flow package but might be conflicting. If you have @types/dotenv-flow typings package in your package.json dependencies, please make sure to remove it once you upgrade dotenv-flow to v4 or above.
  • .config() method is now returning an .error if none of the appropriate .env* files is present (PR: https://github.com/kerimdzhanov/dotenv-flow/pull/70).
  • Previously deprecated options.cwd has been removed, please use options.path instead (PR: https://github.com/kerimdzhanov/dotenv-flow/pull/72).
  • The exposed internal API method .listDotenvFiles(dirname, options) has been replaced with .listFiles(options). If you're using the method, please replace it with the new one. It receives optional options.path, options.node_env, and options.pattern and returns a list of existing .env* files (PR: https://github.com/kerimdzhanov/dotenv-flow/pull/75).
  • Updating dotenv 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.
  • Dropped Node.js versions support prior to v12.

🏗 Release Candidate 2 Updates

  • fix(dotenv-flow): mark typings' files as "publishing to npm

New Contributors

Full Changelog

› https://github.com/kerimdzhanov/dotenv-flow/compare/v3.3.0...v4.0.0-rc.2

v4.0.0-rc.1

7 months ago

✹ New Features

💥 BREAKING CHANGES

  • "In package" type definitions (.d.ts files) replace the "Definitely Typed" @types/dotenv-flow package but might be conflicting. If you have @types/dotenv-flow typings package in your package.json dependencies, please make sure to remove it once you upgrade dotenv-flow to v4 or above.
  • .config() method is now returning an .error if none of the appropriate .env* files is present (PR: https://github.com/kerimdzhanov/dotenv-flow/pull/70).
  • Previously deprecated options.cwd has been removed, please use options.path instead (PR: https://github.com/kerimdzhanov/dotenv-flow/pull/72).
  • The exposed internal API method .listDotenvFiles(dirname, options) has been replaced with .listFiles(options). If you're using the method, please replace it with the new one. It receives optional options.path, options.node_env, and options.pattern and returns a list of existing .env* files (PR: https://github.com/kerimdzhanov/dotenv-flow/pull/75).
  • Updating dotenv 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.
  • Dropped Node.js versions support prior to v12.

New Contributors

Full Changelog

› https://github.com/kerimdzhanov/dotenv-flow/compare/v3.3.0...v4.0.0-rc.1

v3.3.0

8 months ago

What's Changed

  • Added the ability to import dotenvFlow from 'dotenv-flow' or require 'dotenv-flow/config' for importing and autoloading environment variables from TS/ES6+ by @perrin4869 in #57 (commit a20c0f)
  • Upgrade dotenv to v8.6.0 (fully backward compatible with [email protected] branch)
  • Upgrade test dependencies (mocha, chai, sinon, etc.).

Bug Fixes

  • Fixed: When options.purge_dotenv is provided, load the rest of .env* files even if .env doesn't exist (07502e3), closes #50

New Contributors

  • @perrin4869
  • @dtinth
  • @Jolg42

Full Changelog

› https://github.com/kerimdzhanov/dotenv-flow/compare/v3.2.0...v3.3.0