|
| 1 | +# [4.0.0](https://github.com/kerimdzhanov/dotenv-flow/compare/v3.3.0...v4.0.0) (2023-09-28) |
| 2 | + |
| 3 | + |
| 4 | +### Features |
| 5 | + |
| 6 | +* **dotenv-flow:** add `options.pattern` for customizing `.env*` files' naming convention, closes [#8](https://github.com/kerimdzhanov/dotenv-flow/issues/8) ([#71](https://github.com/kerimdzhanov/dotenv-flow/issues/71)) ([f77c553](https://github.com/kerimdzhanov/dotenv-flow/commit/f77c55383e78b153753cf8027ce8d2b408fa96cc)) |
| 7 | +* **dotenv-flow:** add debug messaging and errors warning ([#76](https://github.com/kerimdzhanov/dotenv-flow/issues/76)) ([7656b50](https://github.com/kerimdzhanov/dotenv-flow/commit/7656b5078c7a4c28c74e8111035743c9929c3bce)) |
| 8 | +* **dotenv-flow:** add type definitions ([#77](https://github.com/kerimdzhanov/dotenv-flow/issues/77)) ([be94089](https://github.com/kerimdzhanov/dotenv-flow/commit/be940897d3bdbcc434df89e96931a1c2d32cd8df)) |
| 9 | +* **dotenv-flow:** return error if none of the `.env*` files is found ([#70](https://github.com/kerimdzhanov/dotenv-flow/issues/70)) ([80ff430](https://github.com/kerimdzhanov/dotenv-flow/commit/80ff430783fcf7e76c4ecdd58be0965efd1bf94a)), closes [#41](https://github.com/kerimdzhanov/dotenv-flow/issues/41) |
| 10 | +* **dotenv-flow:** rework `.listFiles` to return only existing files + their full paths ([#75](https://github.com/kerimdzhanov/dotenv-flow/issues/75)) ([b1b0497](https://github.com/kerimdzhanov/dotenv-flow/commit/b1b04971bbc4fdfb64acb9c7d3b9f33caf89434f)) |
| 11 | +* **dotenv:** upgrade dotenv to v16.0.0 ([#54](https://github.com/kerimdzhanov/dotenv-flow/issues/54)) ([778938c](https://github.com/kerimdzhanov/dotenv-flow/commit/778938cee2915c4fad511ececa6f4cc6f50eeccd)) |
| 12 | + |
| 13 | + |
| 14 | +### BREAKING CHANGES |
| 15 | + |
| 16 | +* **dotenv-flow:** New type definitions do replace the `@types/dotenv-flow` package but might be conflicting. |
| 17 | + The recommendation is to remove `@types/dotenv-flow` from dependencies if using dotenv-flow v4 or above. |
| 18 | +* **dotenv-flow:** Deprecated `options.cwd` has been removed, use `options.path` instead ([#72](https://github.com/kerimdzhanov/dotenv-flow/issues/72)) ([3b3956c](https://github.com/kerimdzhanov/dotenv-flow/commit/3b3956c4ddb12c380f07b36ac0dcba56b7b4b003)). |
| 19 | +* **dotenv-flow:** The `.config()` method now returns an error if none of the appropriate `.env*` files is found ([#70](https://github.com/kerimdzhanov/dotenv-flow/issues/70)) ([80ff430](https://github.com/kerimdzhanov/dotenv-flow/commit/80ff430783fcf7e76c4ecdd58be0965efd1bf94a)). |
| 20 | +* **dotenv-flow:** The exposed internal API method `.listDotenvFiles(dirname, options)` is replaced with `.listFiles(options)`. |
| 21 | + The new method receives optional `options.path`, `options.node_env`, and `options.pattern` and returns a list of existing `.env*` files. |
| 22 | +* **dotenv:** Dropped Node.js versions support prior to v12. |
| 23 | +* **dotenv:** Added multiline values, inline comments, and backticks support. |
| 24 | + Please check the contents of your `.env*` files and make sure that |
| 25 | + all the `#` and backtick symbols are properly quoted if they are part of the value. |
| 26 | + |
| 27 | + |
| 28 | + |
1 | 29 | # [4.0.0-rc.3](https://github.com/kerimdzhanov/dotenv-flow/compare/v4.0.0-rc.2...v4.0.0-rc.3) (2023-09-26)
|
2 | 30 |
|
3 | 31 |
|
|
23 | 51 | * **dotenv-flow:** add `options.pattern` for customizing `.env*` files' naming convention, closes [#8](https://github.com/kerimdzhanov/dotenv-flow/issues/8) ([#71](https://github.com/kerimdzhanov/dotenv-flow/issues/71)) ([f77c553](https://github.com/kerimdzhanov/dotenv-flow/commit/f77c55383e78b153753cf8027ce8d2b408fa96cc))
|
24 | 52 | * **dotenv-flow:** add debug messaging and errors warning ([#76](https://github.com/kerimdzhanov/dotenv-flow/issues/76)) ([7656b50](https://github.com/kerimdzhanov/dotenv-flow/commit/7656b5078c7a4c28c74e8111035743c9929c3bce))
|
25 | 53 | * **dotenv-flow:** add type definitions ([#77](https://github.com/kerimdzhanov/dotenv-flow/issues/77)) ([be94089](https://github.com/kerimdzhanov/dotenv-flow/commit/be940897d3bdbcc434df89e96931a1c2d32cd8df))
|
26 |
| -* **dotenv-flow:** remove deprecated `options.cwd` ([#72](https://github.com/kerimdzhanov/dotenv-flow/issues/72)) ([3b3956c](https://github.com/kerimdzhanov/dotenv-flow/commit/3b3956c4ddb12c380f07b36ac0dcba56b7b4b003)) |
27 | 54 | * **dotenv-flow:** return error if none of the `.env*` files is found ([#70](https://github.com/kerimdzhanov/dotenv-flow/issues/70)) ([80ff430](https://github.com/kerimdzhanov/dotenv-flow/commit/80ff430783fcf7e76c4ecdd58be0965efd1bf94a)), closes [#41](https://github.com/kerimdzhanov/dotenv-flow/issues/41)
|
28 | 55 | * **dotenv-flow:** rework `.listFiles` to return only existing files + their full paths ([#75](https://github.com/kerimdzhanov/dotenv-flow/issues/75)) ([b1b0497](https://github.com/kerimdzhanov/dotenv-flow/commit/b1b04971bbc4fdfb64acb9c7d3b9f33caf89434f))
|
29 | 56 | * **dotenv:** upgrade dotenv to v16.0.0 ([#54](https://github.com/kerimdzhanov/dotenv-flow/issues/54)) ([778938c](https://github.com/kerimdzhanov/dotenv-flow/commit/778938cee2915c4fad511ececa6f4cc6f50eeccd))
|
30 | 57 |
|
| 58 | + |
31 | 59 | ### BREAKING CHANGES
|
32 | 60 |
|
33 | 61 | * **dotenv-flow:** New type definitions do replace the `@types/dotenv-flow` package but might be conflicting.
|
34 | 62 | The recommendation is to remove `@types/dotenv-flow` from dependencies if using dotenv-flow v4 or above.
|
35 |
| -* **dotenv-flow:** Deprecated `options.cwd` has been removed, use `options.path` instead. |
| 63 | +* **dotenv-flow:** Deprecated `options.cwd` has been removed, use `options.path` instead ([#72](https://github.com/kerimdzhanov/dotenv-flow/issues/72)) ([3b3956c](https://github.com/kerimdzhanov/dotenv-flow/commit/3b3956c4ddb12c380f07b36ac0dcba56b7b4b003)). |
| 64 | +* **dotenv-flow:** The `.config()` method now returns an error if none of the appropriate `.env*` files is found ([#70](https://github.com/kerimdzhanov/dotenv-flow/issues/70)) ([80ff430](https://github.com/kerimdzhanov/dotenv-flow/commit/80ff430783fcf7e76c4ecdd58be0965efd1bf94a)). |
36 | 65 | * **dotenv-flow:** The exposed internal API method `.listDotenvFiles(dirname, options)` is replaced with `.listFiles(options)`.
|
37 | 66 | The new method receives optional `options.path`, `options.node_env`, and `options.pattern` and returns a list of existing `.env*` files.
|
38 | 67 | * **dotenv:** Dropped Node.js versions support prior to v12.
|
39 | 68 | * **dotenv:** Added multiline values, inline comments, and backticks support.
|
40 | 69 | Please check the contents of your `.env*` files and make sure that
|
41 | 70 | all the `#` and backtick symbols are properly quoted if they are part of the value.
|
42 | 71 |
|
| 72 | + |
| 73 | + |
43 | 74 | # [3.3.0](https://github.com/kerimdzhanov/dotenv-flow/compare/v3.2.0...v3.3.0) (2023-08-26)
|
44 | 75 |
|
45 | 76 |
|
|
0 commit comments