diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2017-06-22 18:47:44 +0200 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2018-02-12 14:58:55 +0100 |
commit | 60c9ad797994e544af21ce991dce2c3360ae1801 (patch) | |
tree | ec0edc4a09b201f3bd522998e2f8feded7b4e28b /doc | |
parent | 1a5f6705c611bc9376e8cd49ff2b03b08c3b97b0 (diff) | |
download | android-node-v8-60c9ad797994e544af21ce991dce2c3360ae1801.tar.gz android-node-v8-60c9ad797994e544af21ce991dce2c3360ae1801.tar.bz2 android-node-v8-60c9ad797994e544af21ce991dce2c3360ae1801.zip |
repl: remove deprecated NODE_REPL_HISTORY_FILE
PR-URL: https://github.com/nodejs/node/pull/13876
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/deprecations.md | 5 | ||||
-rw-r--r-- | doc/api/repl.md | 16 |
2 files changed, 3 insertions, 18 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index c18c9d58e0..c0778aebad 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -378,9 +378,10 @@ instead. <a id="DEP0041"></a> ### DEP0041: NODE\_REPL\_HISTORY\_FILE environment variable -Type: Documentation-only +Type: End-of-life -The `NODE_REPL_HISTORY_FILE` environment variable has been deprecated. +The `NODE_REPL_HISTORY_FILE` environment variable was removed. Please use +`NODE_REPL_HISTORY` instead. <a id="DEP0042"></a> ### DEP0042: tls.CryptoStream diff --git a/doc/api/repl.md b/doc/api/repl.md index 506f54a4b8..182c0434c0 100644 --- a/doc/api/repl.md +++ b/doc/api/repl.md @@ -506,22 +506,6 @@ by saving inputs to a `.node_repl_history` file located in the user's home directory. This can be disabled by setting the environment variable `NODE_REPL_HISTORY=""`. -#### NODE_REPL_HISTORY_FILE -<!-- YAML -added: v2.0.0 -deprecated: v3.0.0 ---> - -> Stability: 0 - Deprecated: Use `NODE_REPL_HISTORY` instead. - -Previously in Node.js/io.js v2.x, REPL history was controlled by using a -`NODE_REPL_HISTORY_FILE` environment variable, and the history was saved in JSON -format. This variable has now been deprecated, and the old JSON REPL history -file will be automatically converted to a simplified plain text format. This new -file will be saved to either the user's home directory, or a directory defined -by the `NODE_REPL_HISTORY` variable, as documented in the -[Environment Variable Options](#repl_environment_variable_options). - ### Using the Node.js REPL with advanced line-editors For advanced line-editors, start Node.js with the environment variable |