| [81bc7da] | 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 | ## [Unreleased](https://github.com/motdotla/dotenv/compare/v16.6.1...master)
|
|---|
| 6 |
|
|---|
| 7 | ## [16.6.1](https://github.com/motdotla/dotenv/compare/v16.6.0...v16.6.1) (2025-06-27)
|
|---|
| 8 |
|
|---|
| 9 | ### Changed
|
|---|
| 10 |
|
|---|
| 11 | - Default `quiet` to true β hiding the runtime log message ([#874](https://github.com/motdotla/dotenv/pull/874))
|
|---|
| 12 | - NOTICE: 17.0.0 will be released with quiet defaulting to false. Use `config({ quiet: true })` to suppress.
|
|---|
| 13 | - And check out the new [dotenvx](https://github.com/dotenvx/dotenvx). As coding workflows evolve and agents increasingly handle secrets, encrypted .env files offer a much safer way to deploy both agents and code together with secure secrets. Simply switch `require('dotenv').config()` for `require('@dotenvx/dotenvx').config()`.
|
|---|
| 14 |
|
|---|
| 15 | ## [16.6.0](https://github.com/motdotla/dotenv/compare/v16.5.0...v16.6.0) (2025-06-26)
|
|---|
| 16 |
|
|---|
| 17 | ### Added
|
|---|
| 18 |
|
|---|
| 19 | - Default log helpful message `[dotenv@16.6.0] injecting env (1) from .env` ([#870](https://github.com/motdotla/dotenv/pull/870))
|
|---|
| 20 | - Use `{ quiet: true }` to suppress
|
|---|
| 21 | - Aligns dotenv more closely with [dotenvx](https://github.com/dotenvx/dotenvx).
|
|---|
| 22 |
|
|---|
| 23 | ## [16.5.0](https://github.com/motdotla/dotenv/compare/v16.4.7...v16.5.0) (2025-04-07)
|
|---|
| 24 |
|
|---|
| 25 | ### Added
|
|---|
| 26 |
|
|---|
| 27 | - π Added new sponsor [Graphite](https://graphite.dev/?utm_source=github&utm_medium=repo&utm_campaign=dotenv) - *the AI developer productivity platform helping teams on GitHub ship higher quality software, faster*.
|
|---|
| 28 |
|
|---|
| 29 | > [!TIP]
|
|---|
| 30 | > **[Become a sponsor](https://github.com/sponsors/motdotla)**
|
|---|
| 31 | >
|
|---|
| 32 | > The dotenvx README is viewed thousands of times DAILY on GitHub and NPM.
|
|---|
| 33 | > Sponsoring dotenv is a great way to get in front of developers and give back to the developer community at the same time.
|
|---|
| 34 |
|
|---|
| 35 | ### Changed
|
|---|
| 36 |
|
|---|
| 37 | - Remove `_log` method. Use `_debug` [#862](https://github.com/motdotla/dotenv/pull/862)
|
|---|
| 38 |
|
|---|
| 39 | ## [16.4.7](https://github.com/motdotla/dotenv/compare/v16.4.6...v16.4.7) (2024-12-03)
|
|---|
| 40 |
|
|---|
| 41 | ### Changed
|
|---|
| 42 |
|
|---|
| 43 | - Ignore `.tap` folder when publishing. (oops, sorry about that everyone. - @motdotla) [#848](https://github.com/motdotla/dotenv/pull/848)
|
|---|
| 44 |
|
|---|
| 45 | ## [16.4.6](https://github.com/motdotla/dotenv/compare/v16.4.5...v16.4.6) (2024-12-02)
|
|---|
| 46 |
|
|---|
| 47 | ### Changed
|
|---|
| 48 |
|
|---|
| 49 | - Clean up stale dev dependencies [#847](https://github.com/motdotla/dotenv/pull/847)
|
|---|
| 50 | - Various README updates clarifying usage and alternative solutions using [dotenvx](https://github.com/dotenvx/dotenvx)
|
|---|
| 51 |
|
|---|
| 52 | ## [16.4.5](https://github.com/motdotla/dotenv/compare/v16.4.4...v16.4.5) (2024-02-19)
|
|---|
| 53 |
|
|---|
| 54 | ### Changed
|
|---|
| 55 |
|
|---|
| 56 | - π Fix recent regression when using `path` option. return to historical behavior: do not attempt to auto find `.env` if `path` set. (regression was introduced in `16.4.3`) [#814](https://github.com/motdotla/dotenv/pull/814)
|
|---|
| 57 |
|
|---|
| 58 | ## [16.4.4](https://github.com/motdotla/dotenv/compare/v16.4.3...v16.4.4) (2024-02-13)
|
|---|
| 59 |
|
|---|
| 60 | ### Changed
|
|---|
| 61 |
|
|---|
| 62 | - π Replaced chaining operator `?.` with old school `&&` (fixing node 12 failures) [#812](https://github.com/motdotla/dotenv/pull/812)
|
|---|
| 63 |
|
|---|
| 64 | ## [16.4.3](https://github.com/motdotla/dotenv/compare/v16.4.2...v16.4.3) (2024-02-12)
|
|---|
| 65 |
|
|---|
| 66 | ### Changed
|
|---|
| 67 |
|
|---|
| 68 | - Fixed processing of multiple files in `options.path` [#805](https://github.com/motdotla/dotenv/pull/805)
|
|---|
| 69 |
|
|---|
| 70 | ## [16.4.2](https://github.com/motdotla/dotenv/compare/v16.4.1...v16.4.2) (2024-02-10)
|
|---|
| 71 |
|
|---|
| 72 | ### Changed
|
|---|
| 73 |
|
|---|
| 74 | - Changed funding link in package.json to [`dotenvx.com`](https://dotenvx.com)
|
|---|
| 75 |
|
|---|
| 76 | ## [16.4.1](https://github.com/motdotla/dotenv/compare/v16.4.0...v16.4.1) (2024-01-24)
|
|---|
| 77 |
|
|---|
| 78 | - Patch support for array as `path` option [#797](https://github.com/motdotla/dotenv/pull/797)
|
|---|
| 79 |
|
|---|
| 80 | ## [16.4.0](https://github.com/motdotla/dotenv/compare/v16.3.2...v16.4.0) (2024-01-23)
|
|---|
| 81 |
|
|---|
| 82 | - Add `error.code` to error messages around `.env.vault` decryption handling [#795](https://github.com/motdotla/dotenv/pull/795)
|
|---|
| 83 | - Add ability to find `.env.vault` file when filename(s) passed as an array [#784](https://github.com/motdotla/dotenv/pull/784)
|
|---|
| 84 |
|
|---|
| 85 | ## [16.3.2](https://github.com/motdotla/dotenv/compare/v16.3.1...v16.3.2) (2024-01-18)
|
|---|
| 86 |
|
|---|
| 87 | ### Added
|
|---|
| 88 |
|
|---|
| 89 | - Add debug message when no encoding set [#735](https://github.com/motdotla/dotenv/pull/735)
|
|---|
| 90 |
|
|---|
| 91 | ### Changed
|
|---|
| 92 |
|
|---|
| 93 | - Fix output typing for `populate` [#792](https://github.com/motdotla/dotenv/pull/792)
|
|---|
| 94 | - Use subarray instead of slice [#793](https://github.com/motdotla/dotenv/pull/793)
|
|---|
| 95 |
|
|---|
| 96 | ## [16.3.1](https://github.com/motdotla/dotenv/compare/v16.3.0...v16.3.1) (2023-06-17)
|
|---|
| 97 |
|
|---|
| 98 | ### Added
|
|---|
| 99 |
|
|---|
| 100 | - Add missing type definitions for `processEnv` and `DOTENV_KEY` options. [#756](https://github.com/motdotla/dotenv/pull/756)
|
|---|
| 101 |
|
|---|
| 102 | ## [16.3.0](https://github.com/motdotla/dotenv/compare/v16.2.0...v16.3.0) (2023-06-16)
|
|---|
| 103 |
|
|---|
| 104 | ### Added
|
|---|
| 105 |
|
|---|
| 106 | - Optionally pass `DOTENV_KEY` to options rather than relying on `process.env.DOTENV_KEY`. Defaults to `process.env.DOTENV_KEY` [#754](https://github.com/motdotla/dotenv/pull/754)
|
|---|
| 107 |
|
|---|
| 108 | ## [16.2.0](https://github.com/motdotla/dotenv/compare/v16.1.4...v16.2.0) (2023-06-15)
|
|---|
| 109 |
|
|---|
| 110 | ### Added
|
|---|
| 111 |
|
|---|
| 112 | - Optionally write to your own target object rather than `process.env`. Defaults to `process.env`. [#753](https://github.com/motdotla/dotenv/pull/753)
|
|---|
| 113 | - Add import type URL to types file [#751](https://github.com/motdotla/dotenv/pull/751)
|
|---|
| 114 |
|
|---|
| 115 | ## [16.1.4](https://github.com/motdotla/dotenv/compare/v16.1.3...v16.1.4) (2023-06-04)
|
|---|
| 116 |
|
|---|
| 117 | ### Added
|
|---|
| 118 |
|
|---|
| 119 | - Added `.github/` to `.npmignore` [#747](https://github.com/motdotla/dotenv/pull/747)
|
|---|
| 120 |
|
|---|
| 121 | ## [16.1.3](https://github.com/motdotla/dotenv/compare/v16.1.2...v16.1.3) (2023-05-31)
|
|---|
| 122 |
|
|---|
| 123 | ### Removed
|
|---|
| 124 |
|
|---|
| 125 | - Removed `browser` keys for `path`, `os`, and `crypto` in package.json. These were set to false incorrectly as of 16.1. Instead, if using dotenv on the front-end make sure to include polyfills for `path`, `os`, and `crypto`. [node-polyfill-webpack-plugin](https://github.com/Richienb/node-polyfill-webpack-plugin) provides these.
|
|---|
| 126 |
|
|---|
| 127 | ## [16.1.2](https://github.com/motdotla/dotenv/compare/v16.1.1...v16.1.2) (2023-05-31)
|
|---|
| 128 |
|
|---|
| 129 | ### Changed
|
|---|
| 130 |
|
|---|
| 131 | - Exposed private function `_configDotenv` as `configDotenv`. [#744](https://github.com/motdotla/dotenv/pull/744)
|
|---|
| 132 |
|
|---|
| 133 | ## [16.1.1](https://github.com/motdotla/dotenv/compare/v16.1.0...v16.1.1) (2023-05-30)
|
|---|
| 134 |
|
|---|
| 135 | ### Added
|
|---|
| 136 |
|
|---|
| 137 | - Added type definition for `decrypt` function
|
|---|
| 138 |
|
|---|
| 139 | ### Changed
|
|---|
| 140 |
|
|---|
| 141 | - Fixed `{crypto: false}` in `packageJson.browser`
|
|---|
| 142 |
|
|---|
| 143 | ## [16.1.0](https://github.com/motdotla/dotenv/compare/v16.0.3...v16.1.0) (2023-05-30)
|
|---|
| 144 |
|
|---|
| 145 | ### Added
|
|---|
| 146 |
|
|---|
| 147 | - Add `populate` convenience method [#733](https://github.com/motdotla/dotenv/pull/733)
|
|---|
| 148 | - Accept URL as path option [#720](https://github.com/motdotla/dotenv/pull/720)
|
|---|
| 149 | - Add dotenv to `npm fund` command
|
|---|
| 150 | - Spanish language README [#698](https://github.com/motdotla/dotenv/pull/698)
|
|---|
| 151 | - Add `.env.vault` support. π ([#730](https://github.com/motdotla/dotenv/pull/730))
|
|---|
| 152 |
|
|---|
| 153 | βΉοΈ `.env.vault` extends the `.env` file format standard with a localized encrypted vault file. Package it securely with your production code deploys. It's cloud agnostic so that you can deploy your secrets anywhere βΒ without [risky third-party integrations](https://techcrunch.com/2023/01/05/circleci-breach/). [read more](https://github.com/motdotla/dotenv#-deploying)
|
|---|
| 154 |
|
|---|
| 155 | ### Changed
|
|---|
| 156 |
|
|---|
| 157 | - Fixed "cannot resolve 'fs'" error on tools like Replit [#693](https://github.com/motdotla/dotenv/pull/693)
|
|---|
| 158 |
|
|---|
| 159 | ## [16.0.3](https://github.com/motdotla/dotenv/compare/v16.0.2...v16.0.3) (2022-09-29)
|
|---|
| 160 |
|
|---|
| 161 | ### Changed
|
|---|
| 162 |
|
|---|
| 163 | - Added library version to debug logs ([#682](https://github.com/motdotla/dotenv/pull/682))
|
|---|
| 164 |
|
|---|
| 165 | ## [16.0.2](https://github.com/motdotla/dotenv/compare/v16.0.1...v16.0.2) (2022-08-30)
|
|---|
| 166 |
|
|---|
| 167 | ### Added
|
|---|
| 168 |
|
|---|
| 169 | - Export `env-options.js` and `cli-options.js` in package.json for use with downstream [dotenv-expand](https://github.com/motdotla/dotenv-expand) module
|
|---|
| 170 |
|
|---|
| 171 | ## [16.0.1](https://github.com/motdotla/dotenv/compare/v16.0.0...v16.0.1) (2022-05-10)
|
|---|
| 172 |
|
|---|
| 173 | ### Changed
|
|---|
| 174 |
|
|---|
| 175 | - Minor README clarifications
|
|---|
| 176 | - Development ONLY: updated devDependencies as recommended for development only security risks ([#658](https://github.com/motdotla/dotenv/pull/658))
|
|---|
| 177 |
|
|---|
| 178 | ## [16.0.0](https://github.com/motdotla/dotenv/compare/v15.0.1...v16.0.0) (2022-02-02)
|
|---|
| 179 |
|
|---|
| 180 | ### Added
|
|---|
| 181 |
|
|---|
| 182 | - _Breaking:_ Backtick support π ([#615](https://github.com/motdotla/dotenv/pull/615))
|
|---|
| 183 |
|
|---|
| 184 | If you had values containing the backtick character, please quote those values with either single or double quotes.
|
|---|
| 185 |
|
|---|
| 186 | ## [15.0.1](https://github.com/motdotla/dotenv/compare/v15.0.0...v15.0.1) (2022-02-02)
|
|---|
| 187 |
|
|---|
| 188 | ### Changed
|
|---|
| 189 |
|
|---|
| 190 | - Properly parse empty single or double quoted values π ([#614](https://github.com/motdotla/dotenv/pull/614))
|
|---|
| 191 |
|
|---|
| 192 | ## [15.0.0](https://github.com/motdotla/dotenv/compare/v14.3.2...v15.0.0) (2022-01-31)
|
|---|
| 193 |
|
|---|
| 194 | `v15.0.0` is a major new release with some important breaking changes.
|
|---|
| 195 |
|
|---|
| 196 | ### Added
|
|---|
| 197 |
|
|---|
| 198 | - _Breaking:_ Multiline parsing support (just works. no need for the flag.)
|
|---|
| 199 |
|
|---|
| 200 | ### Changed
|
|---|
| 201 |
|
|---|
| 202 | - _Breaking:_ `#` marks the beginning of a comment (UNLESS the value is wrapped in quotes. Please update your `.env` files to wrap in quotes any values containing `#`. For example: `SECRET_HASH="something-with-a-#-hash"`).
|
|---|
| 203 |
|
|---|
| 204 | ..Understandably, (as some teams have noted) this is tedious to do across the entire team. To make it less tedious, we recommend using [dotenv cli](https://github.com/dotenv-org/cli) going forward. It's an optional plugin that will keep your `.env` files in sync between machines, environments, or team members.
|
|---|
| 205 |
|
|---|
| 206 | ### Removed
|
|---|
| 207 |
|
|---|
| 208 | - _Breaking:_ Remove multiline option (just works out of the box now. no need for the flag.)
|
|---|
| 209 |
|
|---|
| 210 | ## [14.3.2](https://github.com/motdotla/dotenv/compare/v14.3.1...v14.3.2) (2022-01-25)
|
|---|
| 211 |
|
|---|
| 212 | ### Changed
|
|---|
| 213 |
|
|---|
| 214 | - Preserve backwards compatibility on values containing `#` π ([#603](https://github.com/motdotla/dotenv/pull/603))
|
|---|
| 215 |
|
|---|
| 216 | ## [14.3.1](https://github.com/motdotla/dotenv/compare/v14.3.0...v14.3.1) (2022-01-25)
|
|---|
| 217 |
|
|---|
| 218 | ### Changed
|
|---|
| 219 |
|
|---|
| 220 | - Preserve backwards compatibility on exports by re-introducing the prior in-place exports π ([#606](https://github.com/motdotla/dotenv/pull/606))
|
|---|
| 221 |
|
|---|
| 222 | ## [14.3.0](https://github.com/motdotla/dotenv/compare/v14.2.0...v14.3.0) (2022-01-24)
|
|---|
| 223 |
|
|---|
| 224 | ### Added
|
|---|
| 225 |
|
|---|
| 226 | - Add `multiline` option π ([#486](https://github.com/motdotla/dotenv/pull/486))
|
|---|
| 227 |
|
|---|
| 228 | ## [14.2.0](https://github.com/motdotla/dotenv/compare/v14.1.1...v14.2.0) (2022-01-17)
|
|---|
| 229 |
|
|---|
| 230 | ### Added
|
|---|
| 231 |
|
|---|
| 232 | - Add `dotenv_config_override` cli option
|
|---|
| 233 | - Add `DOTENV_CONFIG_OVERRIDE` command line env option
|
|---|
| 234 |
|
|---|
| 235 | ## [14.1.1](https://github.com/motdotla/dotenv/compare/v14.1.0...v14.1.1) (2022-01-17)
|
|---|
| 236 |
|
|---|
| 237 | ### Added
|
|---|
| 238 |
|
|---|
| 239 | - Add React gotcha to FAQ on README
|
|---|
| 240 |
|
|---|
| 241 | ## [14.1.0](https://github.com/motdotla/dotenv/compare/v14.0.1...v14.1.0) (2022-01-17)
|
|---|
| 242 |
|
|---|
| 243 | ### Added
|
|---|
| 244 |
|
|---|
| 245 | - Add `override` option π ([#595](https://github.com/motdotla/dotenv/pull/595))
|
|---|
| 246 |
|
|---|
| 247 | ## [14.0.1](https://github.com/motdotla/dotenv/compare/v14.0.0...v14.0.1) (2022-01-16)
|
|---|
| 248 |
|
|---|
| 249 | ### Added
|
|---|
| 250 |
|
|---|
| 251 | - Log error on failure to load `.env` file ([#594](https://github.com/motdotla/dotenv/pull/594))
|
|---|
| 252 |
|
|---|
| 253 | ## [14.0.0](https://github.com/motdotla/dotenv/compare/v13.0.1...v14.0.0) (2022-01-16)
|
|---|
| 254 |
|
|---|
| 255 | ### Added
|
|---|
| 256 |
|
|---|
| 257 | - _Breaking:_ Support inline comments for the parser π ([#568](https://github.com/motdotla/dotenv/pull/568))
|
|---|
| 258 |
|
|---|
| 259 | ## [13.0.1](https://github.com/motdotla/dotenv/compare/v13.0.0...v13.0.1) (2022-01-16)
|
|---|
| 260 |
|
|---|
| 261 | ### Changed
|
|---|
| 262 |
|
|---|
| 263 | * Hide comments and newlines from debug output ([#404](https://github.com/motdotla/dotenv/pull/404))
|
|---|
| 264 |
|
|---|
| 265 | ## [13.0.0](https://github.com/motdotla/dotenv/compare/v12.0.4...v13.0.0) (2022-01-16)
|
|---|
| 266 |
|
|---|
| 267 | ### Added
|
|---|
| 268 |
|
|---|
| 269 | * _Breaking:_ Add type file for `config.js` ([#539](https://github.com/motdotla/dotenv/pull/539))
|
|---|
| 270 |
|
|---|
| 271 | ## [12.0.4](https://github.com/motdotla/dotenv/compare/v12.0.3...v12.0.4) (2022-01-16)
|
|---|
| 272 |
|
|---|
| 273 | ### Changed
|
|---|
| 274 |
|
|---|
| 275 | * README updates
|
|---|
| 276 | * Minor order adjustment to package json format
|
|---|
| 277 |
|
|---|
| 278 | ## [12.0.3](https://github.com/motdotla/dotenv/compare/v12.0.2...v12.0.3) (2022-01-15)
|
|---|
| 279 |
|
|---|
| 280 | ### Changed
|
|---|
| 281 |
|
|---|
| 282 | * Simplified jsdoc for consistency across editors
|
|---|
| 283 |
|
|---|
| 284 | ## [12.0.2](https://github.com/motdotla/dotenv/compare/v12.0.1...v12.0.2) (2022-01-15)
|
|---|
| 285 |
|
|---|
| 286 | ### Changed
|
|---|
| 287 |
|
|---|
| 288 | * Improve embedded jsdoc type documentation
|
|---|
| 289 |
|
|---|
| 290 | ## [12.0.1](https://github.com/motdotla/dotenv/compare/v12.0.0...v12.0.1) (2022-01-15)
|
|---|
| 291 |
|
|---|
| 292 | ### Changed
|
|---|
| 293 |
|
|---|
| 294 | * README updates and clarifications
|
|---|
| 295 |
|
|---|
| 296 | ## [12.0.0](https://github.com/motdotla/dotenv/compare/v11.0.0...v12.0.0) (2022-01-15)
|
|---|
| 297 |
|
|---|
| 298 | ### Removed
|
|---|
| 299 |
|
|---|
| 300 | - _Breaking:_ drop support for Flow static type checker ([#584](https://github.com/motdotla/dotenv/pull/584))
|
|---|
| 301 |
|
|---|
| 302 | ### Changed
|
|---|
| 303 |
|
|---|
| 304 | - Move types/index.d.ts to lib/main.d.ts ([#585](https://github.com/motdotla/dotenv/pull/585))
|
|---|
| 305 | - Typescript cleanup ([#587](https://github.com/motdotla/dotenv/pull/587))
|
|---|
| 306 | - Explicit typescript inclusion in package.json ([#566](https://github.com/motdotla/dotenv/pull/566))
|
|---|
| 307 |
|
|---|
| 308 | ## [11.0.0](https://github.com/motdotla/dotenv/compare/v10.0.0...v11.0.0) (2022-01-11)
|
|---|
| 309 |
|
|---|
| 310 | ### Changed
|
|---|
| 311 |
|
|---|
| 312 | - _Breaking:_ drop support for Node v10 ([#558](https://github.com/motdotla/dotenv/pull/558))
|
|---|
| 313 | - Patch debug option ([#550](https://github.com/motdotla/dotenv/pull/550))
|
|---|
| 314 |
|
|---|
| 315 | ## [10.0.0](https://github.com/motdotla/dotenv/compare/v9.0.2...v10.0.0) (2021-05-20)
|
|---|
| 316 |
|
|---|
| 317 | ### Added
|
|---|
| 318 |
|
|---|
| 319 | - Add generic support to parse function
|
|---|
| 320 | - Allow for import "dotenv/config.js"
|
|---|
| 321 | - Add support to resolve home directory in path via ~
|
|---|
| 322 |
|
|---|
| 323 | ## [9.0.2](https://github.com/motdotla/dotenv/compare/v9.0.1...v9.0.2) (2021-05-10)
|
|---|
| 324 |
|
|---|
| 325 | ### Changed
|
|---|
| 326 |
|
|---|
| 327 | - Support windows newlines with debug mode
|
|---|
| 328 |
|
|---|
| 329 | ## [9.0.1](https://github.com/motdotla/dotenv/compare/v9.0.0...v9.0.1) (2021-05-08)
|
|---|
| 330 |
|
|---|
| 331 | ### Changed
|
|---|
| 332 |
|
|---|
| 333 | - Updates to README
|
|---|
| 334 |
|
|---|
| 335 | ## [9.0.0](https://github.com/motdotla/dotenv/compare/v8.6.0...v9.0.0) (2021-05-05)
|
|---|
| 336 |
|
|---|
| 337 | ### Changed
|
|---|
| 338 |
|
|---|
| 339 | - _Breaking:_ drop support for Node v8
|
|---|
| 340 |
|
|---|
| 341 | ## [8.6.0](https://github.com/motdotla/dotenv/compare/v8.5.1...v8.6.0) (2021-05-05)
|
|---|
| 342 |
|
|---|
| 343 | ### Added
|
|---|
| 344 |
|
|---|
| 345 | - define package.json in exports
|
|---|
| 346 |
|
|---|
| 347 | ## [8.5.1](https://github.com/motdotla/dotenv/compare/v8.5.0...v8.5.1) (2021-05-05)
|
|---|
| 348 |
|
|---|
| 349 | ### Changed
|
|---|
| 350 |
|
|---|
| 351 | - updated dev dependencies via npm audit
|
|---|
| 352 |
|
|---|
| 353 | ## [8.5.0](https://github.com/motdotla/dotenv/compare/v8.4.0...v8.5.0) (2021-05-05)
|
|---|
| 354 |
|
|---|
| 355 | ### Added
|
|---|
| 356 |
|
|---|
| 357 | - allow for `import "dotenv/config"`
|
|---|
| 358 |
|
|---|
| 359 | ## [8.4.0](https://github.com/motdotla/dotenv/compare/v8.3.0...v8.4.0) (2021-05-05)
|
|---|
| 360 |
|
|---|
| 361 | ### Changed
|
|---|
| 362 |
|
|---|
| 363 | - point to exact types file to work with VS Code
|
|---|
| 364 |
|
|---|
| 365 | ## [8.3.0](https://github.com/motdotla/dotenv/compare/v8.2.0...v8.3.0) (2021-05-05)
|
|---|
| 366 |
|
|---|
| 367 | ### Changed
|
|---|
| 368 |
|
|---|
| 369 | - _Breaking:_ drop support for Node v8 (mistake to be released as minor bump. later bumped to 9.0.0. see above.)
|
|---|
| 370 |
|
|---|
| 371 | ## [8.2.0](https://github.com/motdotla/dotenv/compare/v8.1.0...v8.2.0) (2019-10-16)
|
|---|
| 372 |
|
|---|
| 373 | ### Added
|
|---|
| 374 |
|
|---|
| 375 | - TypeScript types
|
|---|
| 376 |
|
|---|
| 377 | ## [8.1.0](https://github.com/motdotla/dotenv/compare/v8.0.0...v8.1.0) (2019-08-18)
|
|---|
| 378 |
|
|---|
| 379 | ### Changed
|
|---|
| 380 |
|
|---|
| 381 | - _Breaking:_ drop support for Node v6 ([#392](https://github.com/motdotla/dotenv/issues/392))
|
|---|
| 382 |
|
|---|
| 383 | # [8.0.0](https://github.com/motdotla/dotenv/compare/v7.0.0...v8.0.0) (2019-05-02)
|
|---|
| 384 |
|
|---|
| 385 | ### Changed
|
|---|
| 386 |
|
|---|
| 387 | - _Breaking:_ drop support for Node v6 ([#302](https://github.com/motdotla/dotenv/issues/392))
|
|---|
| 388 |
|
|---|
| 389 | ## [7.0.0] - 2019-03-12
|
|---|
| 390 |
|
|---|
| 391 | ### Fixed
|
|---|
| 392 |
|
|---|
| 393 | - Fix removing unbalanced quotes ([#376](https://github.com/motdotla/dotenv/pull/376))
|
|---|
| 394 |
|
|---|
| 395 | ### Removed
|
|---|
| 396 |
|
|---|
| 397 | - Removed `load` alias for `config` for consistency throughout code and documentation.
|
|---|
| 398 |
|
|---|
| 399 | ## [6.2.0] - 2018-12-03
|
|---|
| 400 |
|
|---|
| 401 | ### Added
|
|---|
| 402 |
|
|---|
| 403 | - Support preload configuration via environment variables ([#351](https://github.com/motdotla/dotenv/issues/351))
|
|---|
| 404 |
|
|---|
| 405 | ## [6.1.0] - 2018-10-08
|
|---|
| 406 |
|
|---|
| 407 | ### Added
|
|---|
| 408 |
|
|---|
| 409 | - `debug` option for `config` and `parse` methods will turn on logging
|
|---|
| 410 |
|
|---|
| 411 | ## [6.0.0] - 2018-06-02
|
|---|
| 412 |
|
|---|
| 413 | ### Changed
|
|---|
| 414 |
|
|---|
| 415 | - _Breaking:_ drop support for Node v4 ([#304](https://github.com/motdotla/dotenv/pull/304))
|
|---|
| 416 |
|
|---|
| 417 | ## [5.0.0] - 2018-01-29
|
|---|
| 418 |
|
|---|
| 419 | ### Added
|
|---|
| 420 |
|
|---|
| 421 | - Testing against Node v8 and v9
|
|---|
| 422 | - Documentation on trim behavior of values
|
|---|
| 423 | - Documentation on how to use with `import`
|
|---|
| 424 |
|
|---|
| 425 | ### Changed
|
|---|
| 426 |
|
|---|
| 427 | - _Breaking_: default `path` is now `path.resolve(process.cwd(), '.env')`
|
|---|
| 428 | - _Breaking_: does not write over keys already in `process.env` if the key has a falsy value
|
|---|
| 429 | - using `const` and `let` instead of `var`
|
|---|
| 430 |
|
|---|
| 431 | ### Removed
|
|---|
| 432 |
|
|---|
| 433 | - Testing against Node v7
|
|---|
| 434 |
|
|---|
| 435 | ## [4.0.0] - 2016-12-23
|
|---|
| 436 |
|
|---|
| 437 | ### Changed
|
|---|
| 438 |
|
|---|
| 439 | - Return Object with parsed content or error instead of false ([#165](https://github.com/motdotla/dotenv/pull/165)).
|
|---|
| 440 |
|
|---|
| 441 | ### Removed
|
|---|
| 442 |
|
|---|
| 443 | - `verbose` option removed in favor of returning result.
|
|---|
| 444 |
|
|---|
| 445 | ## [3.0.0] - 2016-12-20
|
|---|
| 446 |
|
|---|
| 447 | ### Added
|
|---|
| 448 |
|
|---|
| 449 | - `verbose` option will log any error messages. Off by default.
|
|---|
| 450 | - parses email addresses correctly
|
|---|
| 451 | - allow importing config method directly in ES6
|
|---|
| 452 |
|
|---|
| 453 | ### Changed
|
|---|
| 454 |
|
|---|
| 455 | - Suppress error messages by default ([#154](https://github.com/motdotla/dotenv/pull/154))
|
|---|
| 456 | - Ignoring more files for NPM to make package download smaller
|
|---|
| 457 |
|
|---|
| 458 | ### Fixed
|
|---|
| 459 |
|
|---|
| 460 | - False positive test due to case-sensitive variable ([#124](https://github.com/motdotla/dotenv/pull/124))
|
|---|
| 461 |
|
|---|
| 462 | ### Removed
|
|---|
| 463 |
|
|---|
| 464 | - `silent` option removed in favor of `verbose`
|
|---|
| 465 |
|
|---|
| 466 | ## [2.0.0] - 2016-01-20
|
|---|
| 467 |
|
|---|
| 468 | ### Added
|
|---|
| 469 |
|
|---|
| 470 | - 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
|
|---|
| 471 | - LICENSE to be more explicit about what was defined in `package.json`. Linked to from README
|
|---|
| 472 | - Testing nodejs v4 on travis-ci
|
|---|
| 473 | - added examples of how to use dotenv in different ways
|
|---|
| 474 | - return parsed object on success rather than boolean true
|
|---|
| 475 |
|
|---|
| 476 | ### Changed
|
|---|
| 477 |
|
|---|
| 478 | - README has shorter description not referencing ruby gem since we don't have or want feature parity
|
|---|
| 479 |
|
|---|
| 480 | ### Removed
|
|---|
| 481 |
|
|---|
| 482 | - Variable expansion and escaping so environment variables are encouraged to be fully orthogonal
|
|---|
| 483 |
|
|---|
| 484 | ## [1.2.0] - 2015-06-20
|
|---|
| 485 |
|
|---|
| 486 | ### Added
|
|---|
| 487 |
|
|---|
| 488 | - Preload hook to require dotenv without including it in your code
|
|---|
| 489 |
|
|---|
| 490 | ### Changed
|
|---|
| 491 |
|
|---|
| 492 | - clarified license to be "BSD-2-Clause" in `package.json`
|
|---|
| 493 |
|
|---|
| 494 | ### Fixed
|
|---|
| 495 |
|
|---|
| 496 | - retain spaces in string vars
|
|---|
| 497 |
|
|---|
| 498 | ## [1.1.0] - 2015-03-31
|
|---|
| 499 |
|
|---|
| 500 | ### Added
|
|---|
| 501 |
|
|---|
| 502 | - Silent option to silence `console.log` when `.env` missing
|
|---|
| 503 |
|
|---|
| 504 | ## [1.0.0] - 2015-03-13
|
|---|
| 505 |
|
|---|
| 506 | ### Removed
|
|---|
| 507 |
|
|---|
| 508 | - support for multiple `.env` files. should always use one `.env` file for the current environment
|
|---|
| 509 |
|
|---|
| 510 | [7.0.0]: https://github.com/motdotla/dotenv/compare/v6.2.0...v7.0.0
|
|---|
| 511 | [6.2.0]: https://github.com/motdotla/dotenv/compare/v6.1.0...v6.2.0
|
|---|
| 512 | [6.1.0]: https://github.com/motdotla/dotenv/compare/v6.0.0...v6.1.0
|
|---|
| 513 | [6.0.0]: https://github.com/motdotla/dotenv/compare/v5.0.0...v6.0.0
|
|---|
| 514 | [5.0.0]: https://github.com/motdotla/dotenv/compare/v4.0.0...v5.0.0
|
|---|
| 515 | [4.0.0]: https://github.com/motdotla/dotenv/compare/v3.0.0...v4.0.0
|
|---|
| 516 | [3.0.0]: https://github.com/motdotla/dotenv/compare/v2.0.0...v3.0.0
|
|---|
| 517 | [2.0.0]: https://github.com/motdotla/dotenv/compare/v1.2.0...v2.0.0
|
|---|
| 518 | [1.2.0]: https://github.com/motdotla/dotenv/compare/v1.1.0...v1.2.0
|
|---|
| 519 | [1.1.0]: https://github.com/motdotla/dotenv/compare/v1.0.0...v1.1.0
|
|---|
| 520 | [1.0.0]: https://github.com/motdotla/dotenv/compare/v0.4.0...v1.0.0
|
|---|