Skip to content

Commit 3b3b71e

Browse files
Hilzuaduh95
authored andcommitted
doc: mark .env files support as stable
As discussed in the referenced issue the feature should be ready to be marked as stable. Refs: #49148 (comment) PR-URL: #59925 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]>
1 parent d37f67d commit 3b3b71e

File tree

4 files changed

+16
-9
lines changed

4 files changed

+16
-9
lines changed

doc/api/cli.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -801,10 +801,12 @@ node --entry-url 'data:text/javascript,console.log("Hello")'
801801

802802
<!-- YAML
803803
added: v22.9.0
804+
changes:
805+
- version: REPLACEME
806+
pr-url: https://github.com/nodejs/node/pull/59925
807+
description: The `--env-file-if-exists` flag is no longer experimental.
804808
-->
805809

806-
> Stability: 1.1 - Active development
807-
808810
Behavior is the same as [`--env-file`][], but an error is not thrown if the file
809811
does not exist.
810812

@@ -813,15 +815,16 @@ does not exist.
813815
<!-- YAML
814816
added: v20.6.0
815817
changes:
818+
- version: REPLACEME
819+
pr-url: https://github.com/nodejs/node/pull/59925
820+
description: The `--env-file` flag is no longer experimental.
816821
- version:
817822
- v21.7.0
818823
- v20.12.0
819824
pr-url: https://github.com/nodejs/node/pull/51289
820825
description: Add support to multi-line values.
821826
-->
822827

823-
> Stability: 1.1 - Active development
824-
825828
Loads environment variables from a file relative to the current directory,
826829
making them available to applications on `process.env`. The [environment
827830
variables which configure Node.js][environment_variables], such as `NODE_OPTIONS`,

doc/api/environment_variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For more details refer to the [`process.env` documentation][].
1818

1919
Set of utilities for dealing with additional environment variables defined in `.env` files.
2020

21-
> Stability: 1.1 - Active development
21+
> Stability: 2 - Stable
2222
2323
<!--introduced_in=v20.12.0-->
2424

doc/api/process.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2750,10 +2750,12 @@ debugger. See [Signal Events][].
27502750
added:
27512751
- v21.7.0
27522752
- v20.12.0
2753+
changes:
2754+
- version: REPLACEME
2755+
pr-url: https://github.com/nodejs/node/pull/59925
2756+
description: This API is no longer experimental.
27532757
-->
27542758
2755-
> Stability: 1.1 - Active development
2756-
27572759
* `path` {string | URL | Buffer | undefined}. **Default:** `'./.env'`
27582760
27592761
Loads the `.env` file into `process.env`. Usage of `NODE_OPTIONS`

doc/api/util.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2137,10 +2137,12 @@ $ node negate.js --no-logfile --logfile=test.log --color --no-color
21372137
added:
21382138
- v21.7.0
21392139
- v20.12.0
2140+
changes:
2141+
- version: REPLACEME
2142+
pr-url: https://github.com/nodejs/node/pull/59925
2143+
description: This API is no longer experimental.
21402144
-->
21412145
2142-
> Stability: 1.1 - Active development
2143-
21442146
* `content` {string}
21452147
21462148
The raw contents of a `.env` file.

0 commit comments

Comments
 (0)