Skip to content

Commit bb04959

Browse files
authored
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 51df7b9 commit bb04959

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
@@ -883,10 +883,12 @@ node --entry-url 'data:text/javascript,console.log("Hello")'
883883

884884
<!-- YAML
885885
added: v22.9.0
886+
changes:
887+
- version: REPLACEME
888+
pr-url: https://github.com/nodejs/node/pull/59925
889+
description: The `--env-file-if-exists` flag is no longer experimental.
886890
-->
887891

888-
> Stability: 1.1 - Active development
889-
890892
Behavior is the same as [`--env-file`][], but an error is not thrown if the file
891893
does not exist.
892894

@@ -895,15 +897,16 @@ does not exist.
895897
<!-- YAML
896898
added: v20.6.0
897899
changes:
900+
- version: REPLACEME
901+
pr-url: https://github.com/nodejs/node/pull/59925
902+
description: The `--env-file` flag is no longer experimental.
898903
- version:
899904
- v21.7.0
900905
- v20.12.0
901906
pr-url: https://github.com/nodejs/node/pull/51289
902907
description: Add support to multi-line values.
903908
-->
904909

905-
> Stability: 1.1 - Active development
906-
907910
Loads environment variables from a file relative to the current directory,
908911
making them available to applications on `process.env`. The [environment
909912
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
@@ -2696,10 +2696,12 @@ debugger. See [Signal Events][].
26962696
added:
26972697
- v21.7.0
26982698
- v20.12.0
2699+
changes:
2700+
- version: REPLACEME
2701+
pr-url: https://github.com/nodejs/node/pull/59925
2702+
description: This API is no longer experimental.
26992703
-->
27002704
2701-
> Stability: 1.1 - Active development
2702-
27032705
* `path` {string | URL | Buffer | undefined}. **Default:** `'./.env'`
27042706
27052707
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
@@ -2211,10 +2211,12 @@ $ node negate.js --no-logfile --logfile=test.log --color --no-color
22112211
added:
22122212
- v21.7.0
22132213
- v20.12.0
2214+
changes:
2215+
- version: REPLACEME
2216+
pr-url: https://github.com/nodejs/node/pull/59925
2217+
description: This API is no longer experimental.
22142218
-->
22152219
2216-
> Stability: 1.1 - Active development
2217-
22182220
* `content` {string}
22192221
22202222
The raw contents of a `.env` file.

0 commit comments

Comments
 (0)