Skip to content

Latest commit

 

History

History
234 lines (104 loc) · 12.3 KB

CHANGELOG.md

File metadata and controls

234 lines (104 loc) · 12.3 KB

4.1.0 (2023-12-26)

Features

  • dotenv-flow: implement options.files, closes #83 (#87) (6a47b2c)

4.0.1 (2023-11-06)

Bug Fixes

  • dotenv-flow:preload: add node resolver for exports:./config field, fixes #81 (#82) (74b211b)

4.0.0 (2023-09-28)

Features

  • dotenv-flow: add options.pattern for customizing .env* files' naming convention, closes #8 (#71) (f77c553)
  • dotenv-flow: add debug messaging and errors warning (#76) (7656b50)
  • dotenv-flow: add type definitions (#77) (be94089)
  • dotenv-flow: return error if none of the .env* files is found (#70) (80ff430), closes #41
  • dotenv-flow: rework .listFiles to return only existing files + their full paths (#75) (b1b0497)
  • dotenv: upgrade dotenv to v16.0.0 (#54) (778938c)

BREAKING CHANGES

  • dotenv-flow: New type definitions do replace the @types/dotenv-flow package but might be conflicting. The recommendation is to remove @types/dotenv-flow from dependencies if using dotenv-flow v4 or above.
  • dotenv-flow: Deprecated options.cwd has been removed, use options.path instead (#72) (3b3956c).
  • dotenv-flow: The .config() method now returns an error if none of the appropriate .env* files is found (#70) (80ff430).
  • dotenv-flow: The exposed internal API method .listDotenvFiles(dirname, options) is replaced with .listFiles(options). The new method receives optional options.path, options.node_env, and options.pattern and returns a list of existing .env* files.
  • dotenv: Dropped Node.js versions support prior to v12.
  • dotenv: Added 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.

4.0.0-rc.3 (2023-09-26)

Features

  • dotenv-flow:api: expose DEFAULT_PATTERN (a0dce78)

4.0.0-rc.2 (2023-09-21)

Bug Fixes

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

4.0.0-rc.1 (2023-09-20)

Features

  • dotenv-flow: add options.pattern for customizing .env* files' naming convention, closes #8 (#71) (f77c553)
  • dotenv-flow: add debug messaging and errors warning (#76) (7656b50)
  • dotenv-flow: add type definitions (#77) (be94089)
  • dotenv-flow: return error if none of the .env* files is found (#70) (80ff430), closes #41
  • dotenv-flow: rework .listFiles to return only existing files + their full paths (#75) (b1b0497)
  • dotenv: upgrade dotenv to v16.0.0 (#54) (778938c)

BREAKING CHANGES

  • dotenv-flow: New type definitions do replace the @types/dotenv-flow package but might be conflicting. The recommendation is to remove @types/dotenv-flow from dependencies if using dotenv-flow v4 or above.
  • dotenv-flow: Deprecated options.cwd has been removed, use options.path instead (#72) (3b3956c).
  • dotenv-flow: The .config() method now returns an error if none of the appropriate .env* files is found (#70) (80ff430).
  • dotenv-flow: The exposed internal API method .listDotenvFiles(dirname, options) is replaced with .listFiles(options). The new method receives optional options.path, options.node_env, and options.pattern and returns a list of existing .env* files.
  • dotenv: Dropped Node.js versions support prior to v12.
  • dotenv: Added 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.

3.3.0 (2023-08-26)

Features

  • dotenv-flow: Add "exports" field (352888b), closes #56
  • dotenv: upgrade dotenv to v8.6.0 (69d9273)

Bug Fixes

  • dotenv-flow:config: load the rest of .env* files even if .env doesn't exist (07502e3), closes #50

3.2.0 (2020-06-27)

Features

  • dotenv-flow: alternative defaults: .env.defaults (#29) (4d2124c)

3.1.0 (2019-08-17)

Features

  • dotenv-flow: implement the "silence" mode, closes #17 (1177162)

3.0.0 (2019-07-14)

Features

  • dotenv-flow: redesign and expose the internal API, #16 (266b9e2)

BREAKING CHANGES

  • dotenv-flow: The .parse method's signature is changed. Now it takes the filename or a list of filenames to parse.

2.0.0 (2019-06-04)

Features

  • dotenv: update dotenv up to v8.0.0 (5ff1a42)

BREAKING CHANGES

  • dotenv: Dropping Node.js v6 support because of end-of-life

1.0.0 (2019-06-04)

Nothing changed

The version is released to follow the semver rules setting the baseline of the package. Starting from here all the "BREAKING CHANGES" will always be released with bumping up the major version.

0.4.0 (2019-04-29)

Features

  • dotenv-flow/config:
    • add support for -r dotenv-flow/config, closes #11 (d94d21c)
    • add ability to configure dotenv-flow/config via environment variables, relates #11 (0118d27)
    • add ability to configure dotenv-flow/config via command line switches, relates #11 (ee87e39)

0.3.0 (2019-04-07)

Features

  • dotenv: update dotenv up to v7.0.0 (a5ab798)

BREAKING CHANGES

  • dotenv: Removed the .load() alias in order to comply with the dotenv API.

0.2.0 (2018-12-23)

Features

  • options: add options.node_env (defaults to process.env.NODE_ENV), PR #6, closes #5 (30db488)

BREAKING CHANGES

  • dotenv-flow: process.env.NODE_ENV can now be used separately/isolated from the module and no longer be set to default value (when the default_node_env option is provided).

0.1.0 (2018-08-02)

0.1.0-beta.4 (2018-08-02)

Features

  • dotenv: make "cleanup dotenv defined variables" optional (9495bcb)
  • dotenv-flow: make .config() to return object like "dotenv" (882c53c)

0.1.0-beta.3 (2018-07-17)

Bug Fixes

  • default-env: add ability to use without a default .env file, fixes #1 (5bdab69)

0.1.0-beta.2 (2018-06-10)

Features

  • dotenv: update dotenv up to "v6.0.0" (526ce09)

0.1.0-beta.1 (2018-05-17)