Skip to content

Commit 7828c03

Browse files
committed
doc: mark --env-file and --env-file-if-exists as stable
As discussed in the referenced issue the feature should be ready to be marked as stable. Refs: #49148 (comment)
1 parent f6f8eb7 commit 7828c03

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

doc/api/cli.md

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

882882
<!-- YAML
883883
added: v22.9.0
884+
changes:
885+
- version: REPLACEME
886+
pr-url: TODO
887+
description: The `--env-file-if-exists` flag is now stable.
884888
-->
885889

886-
> Stability: 1.1 - Active development
887-
888890
Behavior is the same as [`--env-file`][], but an error is not thrown if the file
889891
does not exist.
890892

@@ -893,15 +895,16 @@ does not exist.
893895
<!-- YAML
894896
added: v20.6.0
895897
changes:
898+
- version: REPLACEME
899+
pr-url: TODO
900+
description: The `--env-file` flag is now stable.
896901
- version:
897902
- v21.7.0
898903
- v20.12.0
899904
pr-url: https://github.com/nodejs/node/pull/51289
900905
description: Add support to multi-line values.
901906
-->
902907

903-
> Stability: 1.1 - Active development
904-
905908
Loads environment variables from a file relative to the current directory,
906909
making them available to applications on `process.env`. The [environment
907910
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

0 commit comments

Comments
 (0)