Skip to content

Latest commit

 

History

History
96 lines (64 loc) · 2.96 KB

CHANGELOG.md

File metadata and controls

96 lines (64 loc) · 2.96 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

5.0.0 - 2018-01-29

Added

  • Testing against Node v8 and v9
  • Documentation on trim behavior of values
  • Documentation on how to use with import

Changed

  • Breaking: default path is now path.resolve(process.cwd(), '.env')
  • Breaking: does not write over keys already in process.env if the key has a falsy value
  • using const and let instead of var

Removed

  • Testing aginst Node v7

4.0.0 - 2016-12-23

Changed

  • Return Object with parsed content or error instead of false (#165).

Removed

  • verbose option removed in favor of returning result.

3.0.0 - 2016-12-20

Added

  • verbose option will log any error messages. Off by default.
  • parses email addresses correctly
  • allow importing config method directly in ES6

Changed

  • Suppress error messages by default (#154)
  • Ignoring more files for NPM to make package download smaller

Fixed

  • False positive test due to case-sensitive variable (#124)

Removed

  • silent option removed in favor of verbose

2.0.0 - 2016-01-20

Added

Changed

  • README has shorter description not referencing ruby gem since we don't have or want feature parity

Removed

  • Variable expansion and escaping so environment variables are encouraged to be fully orthogonal

1.2.0 - 2015-06-20

Added

  • Preload hook to require dotenv without including it in your code

Changed

  • clarified license to be "BSD-2-Clause" in package.json

Fixed

  • retain spaces in string vars

1.1.0 - 2015-03-31

Added

  • Silent option to silence console.log when .env missing

1.0.0 - 2015-03-13

Removed

  • support for multiple .env files. should always use one .env file for the current environment