Skip to content

Commit 08b9eb8

Browse files
Hilzutargos
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 <luigipinca@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
1 parent 3e8fdc1 commit 08b9eb8

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

816816
<!-- YAML
817817
added: v22.9.0
818+
changes:
819+
- version: REPLACEME
820+
pr-url: https://github.com/nodejs/node/pull/59925
821+
description: The `--env-file-if-exists` flag is no longer experimental.
818822
-->
819823

820-
> Stability: 1.1 - Active development
821-
822824
Behavior is the same as [`--env-file`][], but an error is not thrown if the file
823825
does not exist.
824826

@@ -827,15 +829,16 @@ does not exist.
827829
<!-- YAML
828830
added: v20.6.0
829831
changes:
832+
- version: REPLACEME
833+
pr-url: https://github.com/nodejs/node/pull/59925
834+
description: The `--env-file` flag is no longer experimental.
830835
- version:
831836
- v21.7.0
832837
- v20.12.0
833838
pr-url: https://github.com/nodejs/node/pull/51289
834839
description: Add support to multi-line values.
835840
-->
836841

837-
> Stability: 1.1 - Active development
838-
839842
Loads environment variables from a file relative to the current directory,
840843
making them available to applications on `process.env`. The [environment
841844
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
@@ -2779,10 +2779,12 @@ debugger. See [Signal Events][].
27792779
added:
27802780
- v21.7.0
27812781
- v20.12.0
2782+
changes:
2783+
- version: REPLACEME
2784+
pr-url: https://github.com/nodejs/node/pull/59925
2785+
description: This API is no longer experimental.
27822786
-->
27832787
2784-
> Stability: 1.1 - Active development
2785-
27862788
* `path` {string | URL | Buffer | undefined}. **Default:** `'./.env'`
27872789
27882790
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
@@ -2188,10 +2188,12 @@ $ node negate.js --no-logfile --logfile=test.log --color --no-color
21882188
added:
21892189
- v21.7.0
21902190
- v20.12.0
2191+
changes:
2192+
- version: REPLACEME
2193+
pr-url: https://github.com/nodejs/node/pull/59925
2194+
description: This API is no longer experimental.
21912195
-->
21922196
2193-
> Stability: 1.1 - Active development
2194-
21952197
* `content` {string}
21962198
21972199
The raw contents of a `.env` file.

0 commit comments

Comments
 (0)