All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
8.2.0 (2019-10-16)
8.1.0 (2019-08-18)
8.0.0 (2019-05-02)
- dropping Node v6 support because end-of-life
7.0.0 - 2019-03-12
- Fix removing unbalanced quotes (#376)
- Removed
load
alias forconfig
for consistency throughout code and documentation.
6.2.0 - 2018-12-03
- Support preload configuration via environment variables (#351)
6.1.0 - 2018-10-08
debug
option forconfig
andparse
methods will turn on logging
6.0.0 - 2018-06-02
- Breaking: drop support for Node v4 (#304)
5.0.0 - 2018-01-29
- Testing against Node v8 and v9
- Documentation on trim behavior of values
- Documentation on how to use with
import
- Breaking: default
path
is nowpath.resolve(process.cwd(), '.env')
- Breaking: does not write over keys already in
process.env
if the key has a falsy value - using
const
andlet
instead ofvar
- Testing against Node v7
4.0.0 - 2016-12-23
- Return Object with parsed content or error instead of false (#165).
verbose
option removed in favor of returning result.
3.0.0 - 2016-12-20
verbose
option will log any error messages. Off by default.- parses email addresses correctly
- allow importing config method directly in ES6
- Suppress error messages by default (#154)
- Ignoring more files for NPM to make package download smaller
- False positive test due to case-sensitive variable (#124)
silent
option removed in favor ofverbose
2.0.0 - 2016-01-20
- CHANGELOG to "make it easier for users and contributors to see precisely what notable changes have been made between each release". Linked to from README
- LICENSE to be more explicit about what was defined in
package.json
. Linked to from README - Testing nodejs v4 on travis-ci
- added examples of how to use dotenv in different ways
- return parsed object on success rather than boolean true
- README has shorter description not referencing ruby gem since we don't have or want feature parity
- Variable expansion and escaping so environment variables are encouraged to be fully orthogonal
1.2.0 - 2015-06-20
- Preload hook to require dotenv without including it in your code
- clarified license to be "BSD-2-Clause" in
package.json
- retain spaces in string vars
1.1.0 - 2015-03-31
- Silent option to silence
console.log
when.env
missing
1.0.0 - 2015-03-13
- support for multiple
.env
files. should always use one.env
file for the current environment