You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

210 lines
5.6 KiB

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