Skip to content

Commit 2874136

Browse files
committed
chore(release): v4.0.0-rc.1
1 parent 778938c commit 2874136

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# [4.0.0-rc.1](https://github.com/kerimdzhanov/dotenv-flow/compare/v3.3.0...v4.0.0-rc.1) (2023-09-20)
2+
3+
### Features
4+
5+
* **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))
6+
* **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))
7+
* **dotenv-flow:** add type definitions ([#77](https://github.com/kerimdzhanov/dotenv-flow/issues/77)) ([be94089](https://github.com/kerimdzhanov/dotenv-flow/commit/be940897d3bdbcc434df89e96931a1c2d32cd8df))
8+
* **dotenv-flow:** remove deprecated `options.cwd` ([#72](https://github.com/kerimdzhanov/dotenv-flow/issues/72)) ([3b3956c](https://github.com/kerimdzhanov/dotenv-flow/commit/3b3956c4ddb12c380f07b36ac0dcba56b7b4b003))
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+
### BREAKING CHANGES
14+
15+
* **dotenv-flow:** New type definitions do replace the `@types/dotenv-flow` package but might be conflicting.
16+
The recommendation is to remove `@types/dotenv-flow` from dependencies if using dotenv-flow v4 or above.
17+
* **dotenv-flow:** Deprecated `options.cwd` has been removed, use `options.path` instead.
18+
* **dotenv-flow:** The exposed internal API method `.listDotenvFiles(dirname, options)` is replaced with `.listFiles(options)`.
19+
The new method receives optional `options.path`, `options.node_env`, and `options.pattern` and returns a list of existing `.env*` files.
20+
* **dotenv:** Dropped Node.js versions support prior to v12.
21+
* **dotenv:** Added multiline values, inline comments, and backticks support.
22+
Please check the contents of your `.env*` files and make sure that
23+
all the `#` and backtick symbols are properly quoted if they are part of the value.
24+
125
# [3.3.0](https://github.com/kerimdzhanov/dotenv-flow/compare/v3.2.0...v3.3.0) (2023-08-26)
226

327

package.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
{
22
"name": "dotenv-flow",
3-
"version": "3.3.0",
3+
"version": "4.0.0-rc.1",
44
"description": "Loads environment variables from `.env.[development|test|production][.local]` files",
55
"keywords": [
66
"dotenv",
77
"node_env",
88
"development",
99
"test",
1010
"production",
11-
"local"
11+
"local",
12+
"env",
13+
"environment",
14+
"variables"
1215
],
1316
"homepage": "https://github.com/kerimdzhanov/dotenv-flow#readme",
1417
"repository": {
@@ -46,7 +49,7 @@
4649
"typescript": "^5.2.2"
4750
},
4851
"engines": {
49-
"node": ">= 8.0.0"
52+
"node": ">= 12.0.0"
5053
},
5154
"scripts": {
5255
"test": "yarn run test:unit && yarn run test:integration && yarn run test:types",

0 commit comments

Comments
 (0)