Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 08b9eb8

Browse filesBrowse 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
Copy full SHA for 08b9eb8

File tree

Expand file treeCollapse file tree

4 files changed

+16
-9
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

4 files changed

+16
-9
lines changed
Open diff view settings
Collapse file

‎doc/api/cli.md‎

Copy file name to clipboardExpand all lines: doc/api/cli.md
+7-4Lines changed: 7 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
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`,
Collapse file

‎doc/api/environment_variables.md‎

Copy file name to clipboardExpand all lines: doc/api/environment_variables.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
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

Collapse file

‎doc/api/process.md‎

Copy file name to clipboardExpand all lines: doc/api/process.md
+4-2Lines changed: 4 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
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`
Collapse file

‎doc/api/util.md‎

Copy file name to clipboardExpand all lines: doc/api/util.md
+4-2Lines changed: 4 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.