Myles Borins
5bfbd75e47
2020-03-11 Version 13.11.0 (Current)
...
Notable changes:
* async_hooks:
- add sync enterWith to ALS (Stephen Belanger)
https://github.com/nodejs/node/pull/31945
* cli:
- allow --jitless V8 flag in NODE\_OPTIONS (Andrew Neitsch)
https://github.com/nodejs/node/pull/32100
* fs:
- return first folder made by mkdir recursive (Benjamin Coe)
https://github.com/nodejs/node/pull/31530
* n-api:
- define release 6 (Gabriel Schulhof)
https://github.com/nodejs/node/pull/32058
* src:
- create a getter for kernel version (Juan José Arboleda)
https://github.com/nodejs/node/pull/31732
* wasi:
- add returnOnExit option (Colin Ihrig)
https://github.com/nodejs/node/pull/32101
PR-URL: https://github.com/nodejs/node/pull/32185
2020-03-11 23:54:53 -04:00
Andrey Pechkurov
51e8f28dcc
doc,test: add server.timeout property to http2 public API
...
Both http and https modules have server.timeout property
in public API. This commit adds documentation section and test
for server.timeout in http2 module, so it becomes consistent
with http and https.
Also improves description of callback argument in documentation
for server.setTimeout().
PR-URL: https://github.com/nodejs/node/pull/31693
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-03-11 19:33:48 +01:00
Joe Pea
a220202a47
doc: include the error type in the request.resolve doc
...
PR-URL: https://github.com/nodejs/node/pull/32152
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-03-11 17:41:54 +01:00
Denys Otrishko
4b84010e5a
doc: clear up child_process command resolution
...
Fixes: https://github.com/nodejs/node/issues/20605
Refs: https://github.com/libuv/libuv/pull/1837
PR-URL: https://github.com/nodejs/node/pull/32091
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-03-11 17:36:17 +01:00
Sam Roberts
6de7b635a6
doc: clarify windows specific behaviour
...
It was not possible to understand which, if either, of the sentences
after the first ("Windows does not... emulation") apply specifically to
Windows. Specifically, `kill(pid, 0)` works on Linux and Windows and I
couldn't find it documented anywhere else, but the unconditional
termination occurs only on Windows.
PR-URL: https://github.com/nodejs/node/pull/32079
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-03-11 17:34:25 +01:00
Anna Henningsen
c41e360de7
doc: improve Buffer documentation
...
Various improvements to the Buffer docs.
PR-URL: https://github.com/nodejs/node/pull/32086
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-03-11 17:07:39 +01:00
himself65
ce8f5eee8e
doc: add support encoding link on string_decoder.md
...
PR-URL: https://github.com/nodejs/node/pull/31911
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-03-11 17:06:13 +01:00
Harshitha KP
e4a72d6b60
doc: add entry for AsyncHook class
...
fixes: https://github.com/nodejs/node/issues/31661
PR-URL: https://github.com/nodejs/node/pull/31865
Fixes: https://github.com/nodejs/node/issues/31661
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-03-11 17:01:08 +01:00
Lucas Holmquist
b6da55f0fd
fs: make fs.read params optional
...
This makes all the parameters of the `fs.read` function, except
for `fd` and the callback(when not using as a promise) optional.
They will default to sensible defaults.
Fixes: https://github.com/nodejs/node/issues/31237
PR-URL: https://github.com/nodejs/node/pull/31402
Reviewed-By: Robert Nagy <ronagy@icloud.com >
2020-03-11 16:47:29 +01:00
Gerhard Stoebich
28fae8bff1
doc: change worker.takeHeapSnapshot to getHeapSnapshot
...
Adapt doc to match implementation which exports getHeapSnapshot().
PR-URL: https://github.com/nodejs/node/pull/32061
Refs: https://github.com/nodejs/node/pull/31569
Refs: https://github.com/nodejs/node/blob/987a67339518d0380177a2e589f2bbd274230d0e/lib/internal/worker.js#L323
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Shelley Vohr <codebytere@gmail.com >
Reviewed-By: Matheus Marchini <mat@mmarchini.me >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-03-10 10:21:52 -07:00
Rich Trott
73f2dbc911
doc: remove personal pronoun usage in policy.md
...
Per our style guide, avoid personal pronouns (I, you, we, etc.) in
reference documentation.
PR-URL: https://github.com/nodejs/node/pull/32142
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-03-09 19:47:29 -07:00
Rich Trott
fb36266f28
doc: remove personal pronoun usage in fs.md
...
Per our style guide, avoid personal pronouns (I, you, we, etc.) in
reference documentation.
PR-URL: https://github.com/nodejs/node/pull/32142
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-03-09 19:47:27 -07:00
Rich Trott
c37c21b6ef
doc: remove personal pronoun usage in errors.md
...
Per our style guide, avoid personal pronouns (I, you, we, etc.) in
reference documentation.
PR-URL: https://github.com/nodejs/node/pull/32142
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-03-09 19:47:26 -07:00
Rich Trott
36ce039347
doc: remove personal pronoun usage in addons.md
...
Per our style guide, avoid personal pronouns (I, you, we, etc.) in
reference documentation.
PR-URL: https://github.com/nodejs/node/pull/32142
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-03-09 19:47:24 -07:00
Andrew Neitsch
9e69d97c60
cli: allow --jitless V8 flag in NODE_OPTIONS
...
This work is modeled on #30094 which allowed
`--disallow-code-generation-from-strings` in `NODE_OPTIONS`.
The `--jitless` v8 option has been supported since 12.0.0. As a v8
option, node automatically picks it up, but there have been a few issues
that were resolved by simply telling users about the option: #26758 ,
This PR:
- allows `--jitless` in `NODE_OPTIONS`
- documents `--jitless`
- moves `--experimental-loader=module` to locally restore alphabetical
order in option documentation
Refs: https://github.com/nodejs/node/pull/30094
Refs: https://github.com/nodejs/node/issues/26758
Refs: https://github.com/nodejs/node/issues/28800
PR-URL: https://github.com/nodejs/node/pull/32100
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Shelley Vohr <codebytere@gmail.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-03-09 13:14:51 -07:00
Gabriel Schulhof and legendecas
c0c81ed204
n-api: define release 6
...
Mark all N-APIs that have been added since version 5 as stable.
PR-URL: https://github.com/nodejs/node/pull/32058
Fixes: https://github.com/nodejs/abi-stable-node/issues/393
Co-Authored-By: legendecas <legendecas@gmail.com >
Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2020-03-09 11:58:51 -07:00
Stephen Belanger
d368dcc63a
async_hooks: add sync enterWith to ALS
...
This allows transitioning the entire following sync and async execution
sub-tree to the given async storage context. With this one can be sure
the context binding will remain for any following sync activity and all
descending async execution whereas the `run*(...)` methods must wrap
everything that is intended to exist within the context. This is helpful
for scenarios such as prepending a `'connection'` event to an http
server which binds everything that occurs within each request to
the given context. This is helpful for APMs to minimize the need
for patching and especially adding closures.
PR-URL: https://github.com/nodejs/node/pull/31945
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2020-03-09 14:24:21 -04:00
Harshitha KP
e9fa5ae3a1
src: handle NULL env scenario
...
Convert hard assertion into a throw with a useful error
message in src/module_wrap.cc.
PR-URL: https://github.com/nodejs/node/pull/31899
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-03-09 13:25:02 +01:00
Anna Henningsen
ef95de3492
doc: link setRawMode() from signal docs
...
Fixes: https://github.com/nodejs/node/issues/32065
PR-URL: https://github.com/nodejs/node/pull/32088
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2020-03-09 13:19:03 +01:00
Juan José Arboleda
c1e672595f
src: create a getter for kernel version
...
PR-URL: https://github.com/nodejs/node/pull/31732
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-03-09 12:44:16 +01:00
Gil Tayar
9dbe6ab277
doc: document self-referencing a package name
...
Added a section for "Self-referencing a package using its name" that
documents importing a package's own exports (this was missed when
adding the feature).
PR-URL: https://github.com/nodejs/node/pull/31680
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com >
2020-03-09 12:36:13 +01:00
cjihrig
99e57259ec
doc: document fs.watchFile() bigint option
...
This commit documents the bigint option to fs.watchFile(), which
has been supported since v10.5.0.
PR-URL: https://github.com/nodejs/node/pull/32128
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
2020-03-08 15:14:38 -04:00
cjihrig
6aff62fcb3
wasi: add returnOnExit option
...
This commit adds a WASI option allowing the __wasi_proc_exit()
function to return an exit code instead of forcefully terminating
the process.
PR-URL: https://github.com/nodejs/node/pull/32101
Fixes: https://github.com/nodejs/node/issues/32093
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2020-03-08 11:05:23 -04:00
Robert Nagy
8700d89306
http: fix socket re-use races
...
Whether and when a socket is destroyed or not after a timeout is up to
the user. This leaves an edge case where a socket that has emitted
'timeout' might be re-used from the free pool. Even if destroy is called
on the socket, it won't be removed from the freelist until 'close' which
can happen several ticks later.
Sockets are removed from the free list on the 'close' event.
However, there is a delay between calling destroy() and 'close'
being emitted. This means that it possible for a socket that has
been destroyed to be re-used from the free list, causing unexpected
failures.
PR-URL: https://github.com/nodejs/node/pull/32000
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-03-07 20:51:12 +01:00
Rich Trott
b6cd2155c3
doc: remove em dashes
...
Our documentation uses em dashes inconsistently. They are treated
inconsistently typographically too. (For example, they are sometimes
surrounded by spaces and sometimes not.) They are also often confused
with ordinary hyphens such as in the CHANGELOG, where they are
inadvertently mixed together in a single list. The difference is
not obvious in the raw markdown but is very noticeable when rendered,
appearing to be a typographical error (which it in fact is).
The em dash is never needed. There are always alternatives. Remove em
dashes entirely.
PR-URL: https://github.com/nodejs/node/pull/32080
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-03-05 22:25:42 -08:00
Shelley Vohr
75466869fb
2020-03-04 Version 13.10.0 (Current)
...
Notable changes:
* async_hooks
* introduce async-context API (vdeturckheim) #26540
* stream
* support passing generator functions into pipeline() (Robert Nagy) #31223
* tls
* expose SSL\_export\_keying\_material (simon) #31814
* vm
* implement vm.measureMemory() for per-context memory measurement (Joyee Cheung) #31824
PR-URL: https://github.com/nodejs/node/pull/32027
2020-03-04 09:53:11 -08:00
Harshitha KP
37287d3f58
doc: visibility of Worker threads cli options
...
Fixes: https://github.com/nodejs/node/issues/28518
PR-URL: https://github.com/nodejs/node/pull/31380
Fixes: https://github.com/nodejs/node/issues/28518
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-03-04 13:32:01 +00:00
Rich Trott
4c35b62f64
doc: revise --zero-fill-buffers text in buffer.md
...
There was an unclear sentence fragment that needed fixing, so I edited
the entire paragraph for clarity. I also removed irrelevant information
about behavior before Node.js 8.0.0. That version of Node.js is no
longer supported and these docs will never apply to 8.0.0. (At the time
of this writing, 10.x is the oldest supported line, and so changes to
the docs will never be backported farther than the 10.x docs.)
PR-URL: https://github.com/nodejs/node/pull/32019
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-03-02 07:04:40 -08:00
unknown
6bcea0a383
doc: add link to sem-ver info
...
PR-URL: https://github.com/nodejs/node/pull/31985
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2020-03-02 04:07:33 +00:00
Robert Nagy
311e12b962
stream: fix multiple destroy calls
...
Previously destroy could be called multiple times causing inconsistent
and hard to predict behavior. Furthermore, since the stream _destroy
implementation can only be called once, the behavior of applying destroy
multiple times becomes unclear.
This changes so that only the first destroy() call is executed and any
subsequent calls are noops.
PR-URL: https://github.com/nodejs/node/pull/29197
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-02-29 09:34:43 +01:00
cjihrig
331d636240
errors: remove unused ERR_SOCKET_CANNOT_SEND error
...
This error is no longer used within core. This commit removes it.
PR-URL: https://github.com/nodejs/node/pull/31958
Refs: https://github.com/nodejs/help/issues/2484
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-02-27 21:01:32 -05:00
Luigi Pinca
a777cfa843
doc: remove repetition
...
Merge two similar sentences into one.
PR-URL: https://github.com/nodejs/node/pull/31868
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2020-02-27 16:57:07 -05:00
Andrey Pechkurov
6510a741c4
async_hooks: add store arg in AsyncLocalStorage
...
This commit introduces store as the first argument in
AsyncLocalStorage's run methods. The change is motivated by the
following expectation: most users are going to use a custom object
as the store and an extra Map created by the previous implementation
is an overhead for their use case.
Important note. This is a backwards incompatible change.
It was discussed and agreed an incompatible change is ok
since the API is still experimental and the modified
methods were only added within the last week so usage
will be minimal to none.
PR-URL: https://github.com/nodejs/node/pull/31930
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2020-02-27 15:00:23 -05:00
James M Snell
c6ed01cf6d
doc: update zlib doc
...
Just some general improvements to zlib docs and examples
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/31665
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-02-26 16:56:16 -08:00
James M Snell
cbaae7a2f8
doc: clarify http2.connect authority details
...
Fixes: https://github.com/nodejs/node/issues/31827
PR-URL: https://github.com/nodejs/node/pull/31828
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
Signed-off-by: James M Snell <jasnell@gmail.com >
2020-02-26 16:19:49 -08:00
Joyee Cheung
fb7304503f
vm: implement vm.measureMemory() for per-context memory measurement
...
This patch implements `vm.measureMemory()` with the new
`v8::Isolate::MeasureMemory()` API to measure per-context memory
usage. This should be experimental, since detailed memory
measurement requires further integration with the V8 API
that should be available in a future V8 update.
PR-URL: https://github.com/nodejs/node/pull/31824
Refs: https://github.com/ulan/performance-measure-memory
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2020-02-26 17:52:39 +08:00
Rich Trott
24aa9bda46
doc: updated YAML version representation in readline.md
...
All other versions in YAML throughout the docs start with _v_. Fix two
cases in `readline.md` that did not.
PR-URL: https://github.com/nodejs/node/pull/31924
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-02-25 13:53:22 -08:00
James M Snell
d3715c76b5
http: move OutboundMessage.prototype.flush to EOL
...
API was deprecated long ago. Move to end of life and remove.
PR-URL: https://github.com/nodejs/node/pull/31164
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2020-02-24 08:46:37 -08:00
Eric Eastwood
be2f3a3bf8
doc: update assert.rejects() docs with a validation function example
...
Spawned from my own struggle to use in https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1702#note_268452483
PR-URL: https://github.com/nodejs/node/pull/31271
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2020-02-24 03:49:12 -08:00
vdeturckheim and Andrey Pechkurov
9c702922cd
async_hooks: introduce async-context API
...
Adding AsyncLocalStorage class to async_hooks
module.
This API provide a simple CLS-like set
of features.
Co-authored-by: Andrey Pechkurov <apechkurov@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/26540
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2020-02-23 20:24:02 +01:00
Shelley Vohr
72b6cea25d
cli: --perf-prof only works on Linux
...
PR-URL: https://github.com/nodejs/node/pull/31892
Reviewed-By: Matheus Marchini <mat@mmarchini.me >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2020-02-23 10:08:22 -08:00
Ben Noordhuis
793cfe54cd
doc,crypto: re-document oaepLabel option
...
Erroneously removed in https://github.com/nodejs/node/pull/29516 .
Fixes: https://github.com/nodejs/node/issues/31810
Refs: https://github.com/nodejs/node/pull/29516
PR-URL: https://github.com/nodejs/node/pull/31825
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2020-02-23 01:25:40 -04:00
simon
341c06f088
tls: expose SSL_export_keying_material
...
Fixes: https://github.com/nodejs/node/issues/31802
PR-URL: https://github.com/nodejs/node/pull/31814
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2020-02-23 01:21:04 -04:00
Tobias Nießen
fa1fc6bf9f
doc: fix anchor for ERR_TLS_INVALID_CONTEXT
...
PR-URL: https://github.com/nodejs/node/pull/31915
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2020-02-22 22:12:54 -04:00
Vse Mozhet Byt
2f23918ca5
doc: update stream.pipeline() signature
...
The `...transforms` parameter is optional.
Refs: https://github.com/nodejs/node/blob/0875837417/lib/internal/streams/pipeline.js#L130-L132
Refs: https://github.com/nodejs/node/blob/e559842188/doc/api/stream.md#streams-compatibility-with-async-generators-and-async-iterators
PR-URL: https://github.com/nodejs/node/pull/31789
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2020-02-22 08:18:43 +01:00
Harshitha KP
2d3717ad84
worker: emit runtime error on loop creation failure
...
Instead of hard asserting throw a runtime error,
that is more consumable.
Fixes: https://github.com/nodejs/node/issues/31614
PR-URL: https://github.com/nodejs/node/pull/31621
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-02-19 19:54:59 +01:00
Gus Caplan
b8e41774d4
fs: add fs/promises alias module
...
PR-URL: https://github.com/nodejs/node/pull/31553
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Yuta Hiroto <hello@hiroppy.me >
2020-02-18 22:15:50 -08:00
Robert Nagy
7c524fb092
doc: fix Writable.write callback description
...
Clarifies a userland invariant until a better
solution can be found.
Also moves a misplaced sentence from _write to
write.
Refs: https://github.com/nodejs/node/pull/31756
Refs: https://github.com/nodejs/node/pull/31765
PR-URL: https://github.com/nodejs/node/pull/31812
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-02-19 00:28:46 +01:00
Shelley Vohr
0c3c0e7184
2020-02-18, Version 13.9.0 (Current)
...
Notable changes:
* async_hooks
* add executionAsyncResource (Matteo Collina) #30959
* crypto
* add crypto.diffieHellman (Tobias Nießen) #31178
* add DH support to generateKeyPair (Tobias Nießen) #31178
* simplify DH groups (Tobias Nießen) #31178
* add key type 'dh' (Tobias Nießen) #31178
* test
* skip keygen tests on arm systems (Tobias Nießen) #31178
* perf_hooks
* add property flags to GCPerformanceEntry (Kirill Fomichev) #29547
* process
* report ArrayBuffer memory in `memoryUsage()` (Anna Henningsen) #31550
* readline
* make tab size configurable (Ruben Bridgewater) #31318
* report
* add support for Workers (Anna Henningsen) #31386
* worker
* add ability to take heap snapshot from parent thread (Anna Henningsen) #31569
* added new collaborators
* add ronag to collaborators (Robert Nagy) #31498
PR-URL: https://github.com/nodejs/node/pull/31837
2020-02-18 12:40:21 -08:00
Guy Bedford
58de9b46b8
module: package "exports" error refinements
...
PR-URL: https://github.com/nodejs/node/pull/31625
Reviewed-By: Jan Krems <jan.krems@gmail.com >
2020-02-18 13:34:40 +02:00