Skip to content

Commit 074bbb2

Browse files
committed
chore(release): v4.0.0
1 parent 610a35d commit 074bbb2

File tree

2 files changed

+34
-3
lines changed

2 files changed

+34
-3
lines changed

CHANGELOG.md

+33-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
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+
129
# [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)
230

331

@@ -23,23 +51,26 @@
2351
* **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))
2452
* **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))
2553
* **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))
2754
* **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)
2855
* **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))
2956
* **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))
3057

58+
3159
### BREAKING CHANGES
3260

3361
* **dotenv-flow:** New type definitions do replace the `@types/dotenv-flow` package but might be conflicting.
3462
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)).
3665
* **dotenv-flow:** The exposed internal API method `.listDotenvFiles(dirname, options)` is replaced with `.listFiles(options)`.
3766
The new method receives optional `options.path`, `options.node_env`, and `options.pattern` and returns a list of existing `.env*` files.
3867
* **dotenv:** Dropped Node.js versions support prior to v12.
3968
* **dotenv:** Added multiline values, inline comments, and backticks support.
4069
Please check the contents of your `.env*` files and make sure that
4170
all the `#` and backtick symbols are properly quoted if they are part of the value.
4271

72+
73+
4374
# [3.3.0](https://github.com/kerimdzhanov/dotenv-flow/compare/v3.2.0...v3.3.0) (2023-08-26)
4475

4576

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dotenv-flow",
3-
"version": "4.0.0-rc.3",
3+
"version": "4.0.0",
44
"description": "Loads environment variables from `.env.[development|test|production][.local]` files",
55
"keywords": [
66
"dotenv",

0 commit comments

Comments
 (0)