| 1 | # Changelog
|
|---|
| 2 |
|
|---|
| 3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|---|
| 4 |
|
|---|
| 5 | ## [10.0.0](https://github.com/motdotla/dotenv/compare/v9.0.2...v10.0.0) (2021-05-20)
|
|---|
| 6 |
|
|---|
| 7 | ### Added
|
|---|
| 8 |
|
|---|
| 9 | - Add generic support to parse function
|
|---|
| 10 | - Allow for import "dotenv/config.js"
|
|---|
| 11 | - Add support to resolve home directory in path via ~
|
|---|
| 12 |
|
|---|
| 13 | ## [9.0.2](https://github.com/motdotla/dotenv/compare/v9.0.1...v9.0.2) (2021-05-10)
|
|---|
| 14 |
|
|---|
| 15 | ### Changed
|
|---|
| 16 |
|
|---|
| 17 | - Support windows newlines with debug mode
|
|---|
| 18 |
|
|---|
| 19 | ## [9.0.1](https://github.com/motdotla/dotenv/compare/v9.0.0...v9.0.1) (2021-05-08)
|
|---|
| 20 |
|
|---|
| 21 | ### Changed
|
|---|
| 22 |
|
|---|
| 23 | - Updates to README
|
|---|
| 24 |
|
|---|
| 25 | ## [9.0.0](https://github.com/motdotla/dotenv/compare/v8.6.0...v9.0.0) (2021-05-05)
|
|---|
| 26 |
|
|---|
| 27 | ### Changed
|
|---|
| 28 |
|
|---|
| 29 | - _Breaking:_ drop support for Node v8
|
|---|
| 30 |
|
|---|
| 31 | ## [8.6.0](https://github.com/motdotla/dotenv/compare/v8.5.1...v8.6.0) (2021-05-05)
|
|---|
| 32 |
|
|---|
| 33 | ### Added
|
|---|
| 34 |
|
|---|
| 35 | - define package.json in exports
|
|---|
| 36 |
|
|---|
| 37 | ## [8.5.1](https://github.com/motdotla/dotenv/compare/v8.5.0...v8.5.1) (2021-05-05)
|
|---|
| 38 |
|
|---|
| 39 | ### Changed
|
|---|
| 40 |
|
|---|
| 41 | - updated dev dependencies via npm audit
|
|---|
| 42 |
|
|---|
| 43 | ## [8.5.0](https://github.com/motdotla/dotenv/compare/v8.4.0...v8.5.0) (2021-05-05)
|
|---|
| 44 |
|
|---|
| 45 | ### Added
|
|---|
| 46 |
|
|---|
| 47 | - allow for `import "dotenv/config"`
|
|---|
| 48 |
|
|---|
| 49 | ## [8.4.0](https://github.com/motdotla/dotenv/compare/v8.3.0...v8.4.0) (2021-05-05)
|
|---|
| 50 |
|
|---|
| 51 | ### Changed
|
|---|
| 52 |
|
|---|
| 53 | - point to exact types file to work with VS Code
|
|---|
| 54 |
|
|---|
| 55 | ## [8.3.0](https://github.com/motdotla/dotenv/compare/v8.2.0...v8.3.0) (2021-05-05)
|
|---|
| 56 |
|
|---|
| 57 | ### Changed
|
|---|
| 58 |
|
|---|
| 59 | - _Breaking:_ drop support for Node v8 (mistake to be released as minor bump. later bumped to 9.0.0. see above.)
|
|---|
| 60 |
|
|---|
| 61 | ## [8.2.0](https://github.com/motdotla/dotenv/compare/v8.1.0...v8.2.0) (2019-10-16)
|
|---|
| 62 |
|
|---|
| 63 | ### Added
|
|---|
| 64 |
|
|---|
| 65 | - TypeScript types
|
|---|
| 66 |
|
|---|
| 67 | ## [8.1.0](https://github.com/motdotla/dotenv/compare/v8.0.0...v8.1.0) (2019-08-18)
|
|---|
| 68 |
|
|---|
| 69 | ### Changed
|
|---|
| 70 |
|
|---|
| 71 | - _Breaking:_ drop support for Node v6 ([#392](https://github.com/motdotla/dotenv/issues/392))
|
|---|
| 72 |
|
|---|
| 73 | # [8.0.0](https://github.com/motdotla/dotenv/compare/v7.0.0...v8.0.0) (2019-05-02)
|
|---|
| 74 |
|
|---|
| 75 | ### Changed
|
|---|
| 76 |
|
|---|
| 77 | - _Breaking:_ drop support for Node v6 ([#302](https://github.com/motdotla/dotenv/issues/392))
|
|---|
| 78 |
|
|---|
| 79 | ## [7.0.0] - 2019-03-12
|
|---|
| 80 |
|
|---|
| 81 | ### Fixed
|
|---|
| 82 |
|
|---|
| 83 | - Fix removing unbalanced quotes ([#376](https://github.com/motdotla/dotenv/pull/376))
|
|---|
| 84 |
|
|---|
| 85 | ### Removed
|
|---|
| 86 |
|
|---|
| 87 | - Removed `load` alias for `config` for consistency throughout code and documentation.
|
|---|
| 88 |
|
|---|
| 89 | ## [6.2.0] - 2018-12-03
|
|---|
| 90 |
|
|---|
| 91 | ### Added
|
|---|
| 92 |
|
|---|
| 93 | - Support preload configuration via environment variables ([#351](https://github.com/motdotla/dotenv/issues/351))
|
|---|
| 94 |
|
|---|
| 95 | ## [6.1.0] - 2018-10-08
|
|---|
| 96 |
|
|---|
| 97 | ### Added
|
|---|
| 98 |
|
|---|
| 99 | - `debug` option for `config` and `parse` methods will turn on logging
|
|---|
| 100 |
|
|---|
| 101 | ## [6.0.0] - 2018-06-02
|
|---|
| 102 |
|
|---|
| 103 | ### Changed
|
|---|
| 104 |
|
|---|
| 105 | - _Breaking:_ drop support for Node v4 ([#304](https://github.com/motdotla/dotenv/pull/304))
|
|---|
| 106 |
|
|---|
| 107 | ## [5.0.0] - 2018-01-29
|
|---|
| 108 |
|
|---|
| 109 | ### Added
|
|---|
| 110 |
|
|---|
| 111 | - Testing against Node v8 and v9
|
|---|
| 112 | - Documentation on trim behavior of values
|
|---|
| 113 | - Documentation on how to use with `import`
|
|---|
| 114 |
|
|---|
| 115 | ### Changed
|
|---|
| 116 |
|
|---|
| 117 | - _Breaking_: default `path` is now `path.resolve(process.cwd(), '.env')`
|
|---|
| 118 | - _Breaking_: does not write over keys already in `process.env` if the key has a falsy value
|
|---|
| 119 | - using `const` and `let` instead of `var`
|
|---|
| 120 |
|
|---|
| 121 | ### Removed
|
|---|
| 122 |
|
|---|
| 123 | - Testing against Node v7
|
|---|
| 124 |
|
|---|
| 125 | ## [4.0.0] - 2016-12-23
|
|---|
| 126 |
|
|---|
| 127 | ### Changed
|
|---|
| 128 |
|
|---|
| 129 | - Return Object with parsed content or error instead of false ([#165](https://github.com/motdotla/dotenv/pull/165)).
|
|---|
| 130 |
|
|---|
| 131 | ### Removed
|
|---|
| 132 |
|
|---|
| 133 | - `verbose` option removed in favor of returning result.
|
|---|
| 134 |
|
|---|
| 135 | ## [3.0.0] - 2016-12-20
|
|---|
| 136 |
|
|---|
| 137 | ### Added
|
|---|
| 138 |
|
|---|
| 139 | - `verbose` option will log any error messages. Off by default.
|
|---|
| 140 | - parses email addresses correctly
|
|---|
| 141 | - allow importing config method directly in ES6
|
|---|
| 142 |
|
|---|
| 143 | ### Changed
|
|---|
| 144 |
|
|---|
| 145 | - Suppress error messages by default ([#154](https://github.com/motdotla/dotenv/pull/154))
|
|---|
| 146 | - Ignoring more files for NPM to make package download smaller
|
|---|
| 147 |
|
|---|
| 148 | ### Fixed
|
|---|
| 149 |
|
|---|
| 150 | - False positive test due to case-sensitive variable ([#124](https://github.com/motdotla/dotenv/pull/124))
|
|---|
| 151 |
|
|---|
| 152 | ### Removed
|
|---|
| 153 |
|
|---|
| 154 | - `silent` option removed in favor of `verbose`
|
|---|
| 155 |
|
|---|
| 156 | ## [2.0.0] - 2016-01-20
|
|---|
| 157 |
|
|---|
| 158 | ### Added
|
|---|
| 159 |
|
|---|
| 160 | - 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
|
|---|
| 161 | - LICENSE to be more explicit about what was defined in `package.json`. Linked to from README
|
|---|
| 162 | - Testing nodejs v4 on travis-ci
|
|---|
| 163 | - added examples of how to use dotenv in different ways
|
|---|
| 164 | - return parsed object on success rather than boolean true
|
|---|
| 165 |
|
|---|
| 166 | ### Changed
|
|---|
| 167 |
|
|---|
| 168 | - README has shorter description not referencing ruby gem since we don't have or want feature parity
|
|---|
| 169 |
|
|---|
| 170 | ### Removed
|
|---|
| 171 |
|
|---|
| 172 | - Variable expansion and escaping so environment variables are encouraged to be fully orthogonal
|
|---|
| 173 |
|
|---|
| 174 | ## [1.2.0] - 2015-06-20
|
|---|
| 175 |
|
|---|
| 176 | ### Added
|
|---|
| 177 |
|
|---|
| 178 | - Preload hook to require dotenv without including it in your code
|
|---|
| 179 |
|
|---|
| 180 | ### Changed
|
|---|
| 181 |
|
|---|
| 182 | - clarified license to be "BSD-2-Clause" in `package.json`
|
|---|
| 183 |
|
|---|
| 184 | ### Fixed
|
|---|
| 185 |
|
|---|
| 186 | - retain spaces in string vars
|
|---|
| 187 |
|
|---|
| 188 | ## [1.1.0] - 2015-03-31
|
|---|
| 189 |
|
|---|
| 190 | ### Added
|
|---|
| 191 |
|
|---|
| 192 | - Silent option to silence `console.log` when `.env` missing
|
|---|
| 193 |
|
|---|
| 194 | ## [1.0.0] - 2015-03-13
|
|---|
| 195 |
|
|---|
| 196 | ### Removed
|
|---|
| 197 |
|
|---|
| 198 | - support for multiple `.env` files. should always use one `.env` file for the current environment
|
|---|
| 199 |
|
|---|
| 200 | [7.0.0]: https://github.com/motdotla/dotenv/compare/v6.2.0...v7.0.0
|
|---|
| 201 | [6.2.0]: https://github.com/motdotla/dotenv/compare/v6.1.0...v6.2.0
|
|---|
| 202 | [6.1.0]: https://github.com/motdotla/dotenv/compare/v6.0.0...v6.1.0
|
|---|
| 203 | [6.0.0]: https://github.com/motdotla/dotenv/compare/v5.0.0...v6.0.0
|
|---|
| 204 | [5.0.0]: https://github.com/motdotla/dotenv/compare/v4.0.0...v5.0.0
|
|---|
| 205 | [4.0.0]: https://github.com/motdotla/dotenv/compare/v3.0.0...v4.0.0
|
|---|
| 206 | [3.0.0]: https://github.com/motdotla/dotenv/compare/v2.0.0...v3.0.0
|
|---|
| 207 | [2.0.0]: https://github.com/motdotla/dotenv/compare/v1.2.0...v2.0.0
|
|---|
| 208 | [1.2.0]: https://github.com/motdotla/dotenv/compare/v1.1.0...v1.2.0
|
|---|
| 209 | [1.1.0]: https://github.com/motdotla/dotenv/compare/v1.0.0...v1.1.0
|
|---|
| 210 | [1.0.0]: https://github.com/motdotla/dotenv/compare/v0.4.0...v1.0.0
|
|---|