UNPKG

3.03 kBMarkdownView Raw
1# Change Log
2All notable changes to this project will be documented in this file.
3This project adheres to [Semantic Versioning](http://semver.org/).
4
5## [Unreleased]
6
7## [5.0.0] - 2018-01-29
8
9### Added
10
11- Testing against Node v8 and v9
12- Documentation on trim behavior of values
13- Documentation on how to use with `import`
14
15### Changed
16
17- *Breaking*: default `path` is now `path.resolve(process.cwd(), '.env')`
18- *Breaking*: does not write over keys already in `process.env` if the key has a falsy value
19- using `const` and `let` instead of `var`
20
21### Removed
22
23- Testing aginst Node v7
24
25
26## [4.0.0] - 2016-12-23
27### Changed
28
29- Return Object with parsed content or error instead of false ([#165](https://github.com/motdotla/dotenv/pull/165)).
30
31
32### Removed
33
34- `verbose` option removed in favor of returning result.
35
36
37## [3.0.0] - 2016-12-20
38### Added
39
40- `verbose` option will log any error messages. Off by default.
41- parses email addresses correctly
42- allow importing config method directly in ES6
43
44### Changed
45
46- Suppress error messages by default ([#154](https://github.com/motdotla/dotenv/pull/154))
47- Ignoring more files for NPM to make package download smaller
48
49### Fixed
50
51- False positive test due to case-sensitive variable ([#124](https://github.com/motdotla/dotenv/pull/124))
52
53### Removed
54
55- `silent` option removed in favor of `verbose`
56
57## [2.0.0] - 2016-01-20
58### Added
59- CHANGELOG to ["make it easier for users and contributors to see precisely what notable changes have been made between each release"](http://keepachangelog.com/). Linked to from README
60- LICENSE to be more explicit about what was defined in `package.json`. Linked to from README
61- Testing nodejs v4 on travis-ci
62- added examples of how to use dotenv in different ways
63- return parsed object on success rather than boolean true
64
65### Changed
66- README has shorter description not referencing ruby gem since we don't have or want feature parity
67
68### Removed
69- Variable expansion and escaping so environment variables are encouraged to be fully orthogonal
70
71## [1.2.0] - 2015-06-20
72### Added
73- Preload hook to require dotenv without including it in your code
74
75### Changed
76- clarified license to be "BSD-2-Clause" in `package.json`
77
78### Fixed
79- retain spaces in string vars
80
81## [1.1.0] - 2015-03-31
82### Added
83- Silent option to silence `console.log` when `.env` missing
84
85## [1.0.0] - 2015-03-13
86### Removed
87- support for multiple `.env` files. should always use one `.env` file for the current environment
88
89[Unreleased]: https://github.com/motdotla/dotenv/compare/v5.0.0...HEAD
90[5.0.0]: https://github.com/motdotla/dotenv/compare/v4.0.0...v5.0.0
91[4.0.0]: https://github.com/motdotla/dotenv/compare/v3.0.0...v4.0.0
92[3.0.0]: https://github.com/motdotla/dotenv/compare/v2.0.0...v3.0.0
93[2.0.0]: https://github.com/motdotla/dotenv/compare/v1.2.0...v2.0.0
94[1.2.0]: https://github.com/motdotla/dotenv/compare/v1.1.0...v1.2.0
95[1.1.0]: https://github.com/motdotla/dotenv/compare/v1.0.0...v1.1.0
96[1.0.0]: https://github.com/motdotla/dotenv/compare/v0.4.0...v1.0.0