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.

117 lines
3.5 KiB

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