Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v12.12.0 proposal #29919

Merged
merged 65 commits into from
Oct 11, 2019
Merged

v12.12.0 proposal #29919

merged 65 commits into from
Oct 11, 2019

Commits on Oct 9, 2019

  1. deps: patch V8 to 7.7.299.13

    Refs: v8/v8@7.7.299.11...7.7.299.13
    
    PR-URL: #29869
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    targos committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    3d88b76 View commit details
    Browse the repository at this point in the history
  2. src: add buildflag to force context-aware addons

    PR-URL: #29631
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    codebytere authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    6bfe8f4 View commit details
    Browse the repository at this point in the history
  3. test: --force-context-aware cli flag

    PR-URL: #29631
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    codebytere authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    54ef0fd View commit details
    Browse the repository at this point in the history
  4. tls: add option for private keys for OpenSSL engines

    Add `privateKeyIdentifier` and `privateKeyEngine` options
    to get private key from an OpenSSL engine in tls.createSecureContext().
    
    PR-URL: #28973
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    OYTIS authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    cf7b405 View commit details
    Browse the repository at this point in the history
  5. test: simplify force-context-aware test

    PR-URL: #29705
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Shelley Vohr <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    cjihrig authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    690a863 View commit details
    Browse the repository at this point in the history
  6. doc: remove redundant escape

    PR-URL: #29716
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    XhmikosR authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    f39259c View commit details
    Browse the repository at this point in the history
  7. doc: security maintenance processes

    The TSC has responsibility for Node.js security, so avoid fragmentation
    of the Node.js maintenance process documentation by adding it to the
    other guides.
    
    PR-URL: #29685
    Reviewed-By: Michael Dawson <[email protected]>
    sam-github authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    0b46bca View commit details
    Browse the repository at this point in the history
  8. deps: upgrade openssl sources to 1.1.1d

    This updates all sources in deps/openssl/openssl by:
        $ cd deps/openssl/
        $ rm -rf openssl
        $ tar zxf ~/tmp/openssl-1.1.0h.tar.gz
        $ mv openssl-1.1.0h openssl
        $ git add --all openssl
        $ git commit openssl
    
    PR-URL: #29550
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    sam-github authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    1766cfc View commit details
    Browse the repository at this point in the history
  9. deps: update archs files for OpenSSL-1.1.1

    After an OpenSSL source update, all the config files need to be
    regenerated and comitted by:
        $ cd deps/openssl/config
        $ make
        $ git add deps/openssl/config/archs
        $ git add deps/openssl/openssl/crypto/include/internal/bn_conf.h
        $ git add deps/openssl/openssl/crypto/include/internal/dso_conf.h
        $ git add deps/openssl/openssl/include/openssl/opensslconf.h
        $ git commit
    
    PR-URL: #29550
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    sam-github authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    5eb013b View commit details
    Browse the repository at this point in the history
  10. test: well-defined DH groups now verify clean

    OpenSSL 1.1.1d no longer generates warnings for some DH groups that used
    to be considered unsafe. See below for discussion. This is considered a
    bug fix.
    
    See:
    - openssl/openssl#9363
    - openssl/openssl#9363 (comment)
    
    PR-URL: #29550
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    sam-github authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    3153dd6 View commit details
    Browse the repository at this point in the history
  11. crypto: refactor array buffer view validation

    This is just a refactoring to reduce code and computational overhead.
    
    PR-URL: #29683
    Reviewed-By: James M Snell <[email protected]>
    BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    75f3b28 View commit details
    Browse the repository at this point in the history
  12. doc: improve process.ppid 'added in' info

    PR-URL: #29772
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    watson authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    bc48646 View commit details
    Browse the repository at this point in the history
  13. build: remove unused libatomic on ppc64, s390x

    The library is not necessary for ppc64 or s390x. It does no harm with
    some linkers, but devtoolset-6 creates runtime dependencies on all link
    libraries, even unused ones.
    
    Fixes: #27377
    Fixes: #29718
    
    PR-URL: #29727
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    sam-github authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    f91778d View commit details
    Browse the repository at this point in the history
  14. build: do not link against librt on linux

    PR-URL: #29727
    Fixes: #27377
    Fixes: #29718
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    sam-github authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    03ec4ce View commit details
    Browse the repository at this point in the history
  15. doc: fix nits in dgram.md

    * Make a section with a history remark a YAML section
      of the relevant method.
      Refs: #29761 (comment)
    * Make a bold line a real heading to be included in the TOC.
    * Add formal return types.
    * Reduce redundancy in a description.
    * Unify link format.
    * Fix ASCII sorting in bottom references.
    
    PR-URL: #29761
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    vsemozhetbyt authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    401f3e7 View commit details
    Browse the repository at this point in the history
  16. doc: clarify --pending-deprecation effects on Buffer() usage

    Refs: #29725 (comment)
    
    PR-URL: #29769
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Trott authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    906245e View commit details
    Browse the repository at this point in the history
  17. doc: complete cut off links in old changelog

    PR-URL: #29558
    Reviewed-By: Ruben Bridgewater <[email protected]>
    nschonni authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    60b1f6f View commit details
    Browse the repository at this point in the history
  18. doc: convert old changlogs SHA links to match newer format

    PR-URL: #29558
    Reviewed-By: Ruben Bridgewater <[email protected]>
    nschonni authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    de4652f View commit details
    Browse the repository at this point in the history
  19. doc: add missing reference link values

    Reference links were used in the document, but not define at the end.
    
    PR-URL: #29558
    Reviewed-By: Ruben Bridgewater <[email protected]>
    nschonni authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    d1a4aa3 View commit details
    Browse the repository at this point in the history
  20. doc: add dash between SHA and PR in changelog

    It gets confused as a reference link otherwis
    
    PR-URL: #29558
    Reviewed-By: Ruben Bridgewater <[email protected]>
    nschonni authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    62370ef View commit details
    Browse the repository at this point in the history
  21. doc: add documentation deprecation for process._tickCallback

    This change also supports --pending-deprecation for the new deprecation.
    
    PR-URL: #29781
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    lholmquist authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    014eb67 View commit details
    Browse the repository at this point in the history
  22. http2: use the latest settings

    Fixes: #29764
    
    PR-URL: #29780
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    ZYSzys authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    6a989da View commit details
    Browse the repository at this point in the history
  23. vm: refactor SourceTextModule

    - Removes redundant `instantiate` method
    - Refactors `link` to match the spec linking steps more accurately
    - Removes URL validation from SourceTextModule specifiers
    - DRYs some dynamic import logic
    
    Closes: #29030
    
    Co-Authored-By: Michaël Zasso <[email protected]>
    
    PR-URL: #29776
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    devsnek authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    6d88f0f View commit details
    Browse the repository at this point in the history
  24. doc: remove reference to stale CITGM job

    Remove reference to job that is out of date, has not
    been run for a long time and likely does not work
    properly.
    
    Refs: nodejs/citgm#741
    
    PR-URL: #29774
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    mhdawson authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    bede981 View commit details
    Browse the repository at this point in the history
  25. lib: stop using prepareStackTrace

    PR-URL: #29777
    Reviewed-By: Ben Coe <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    devsnek authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    74a69ab View commit details
    Browse the repository at this point in the history
  26. doc: add missing deprecation code

    PR-URL: #29820
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    cjihrig authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    8b4f210 View commit details
    Browse the repository at this point in the history
  27. tools: update ESLint to v6.5.1

    PR-URL: #29785
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Trott authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    79f6cd3 View commit details
    Browse the repository at this point in the history
  28. test: add test for writable.write() argument types

    PR-URL: #29746
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    ronag authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    bf1727a View commit details
    Browse the repository at this point in the history
  29. errors: make sure all Node.js errors show their properties

    This improves Node.js errors by always showing the attached properties
    when inspecting such an error. This applies especially to SystemError.
    It did often not show any properties but now all properties will be
    visible.
    
    This is done in a mainly backwards compatible way. Instead of using
    prototype getters and setters, the property is now set directly on the
    error.
    
    PR-URL: #29677
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    87fb1c2 View commit details
    Browse the repository at this point in the history
  30. crypto: remove arbitrary UTF16 restriction

    Since 71f633a, this is no longer necessary.
    
    Refs: #22622
    Fixes: #29793
    
    PR-URL: #29795
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    addaleax authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    ab4c53e View commit details
    Browse the repository at this point in the history
  31. stream: add comment about undocumented API

    PR-URL: #29805
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Masashi Hirano <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    ronag authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    320f649 View commit details
    Browse the repository at this point in the history
  32. doc: unify place of stability notes

    In most cases, stability note is the first info in a doc section
    after YAML. This PR makes it consistent across all docs,
    as this info seems the most relevant for a reader.
    
    PR-URL: #29799
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    vsemozhetbyt authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    aea0253 View commit details
    Browse the repository at this point in the history
  33. n-api,doc: clarify napi_finalize related APIs

    All these APIs have napi_finalize parameter but they don't behave
    exactly the same.
    
    Fixes: #29750
    
    PR-URL: #29797
    Reviewed-By: Gabriel Schulhof <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    legendecas authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    20896f7 View commit details
    Browse the repository at this point in the history
  34. net: emit close on unconnected socket

    Socket should always emit 'close'. Regardless
    whether it has been connected or not.
    
    PR-URL: #29803
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    ronag authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    65c4752 View commit details
    Browse the repository at this point in the history
  35. build: build docs on Travis

    PR-URL: #29783
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    richardlau authored and BridgeAR committed Oct 9, 2019
    3 Configuration menu
    Copy the full SHA
    d09f2b4 View commit details
    Browse the repository at this point in the history
  36. doc: reuse link indexes for n-api.md

    PR-URL: #29787
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gabriel Schulhof <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    legendecas authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    a00cd17 View commit details
    Browse the repository at this point in the history
  37. doc: fix return type for crypto.createDiffieHellmanGroup()

    PR-URL: #29696
    Reviewed-By: Rich Trott <[email protected]>
    exoego authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    a049860 View commit details
    Browse the repository at this point in the history
  38. doc: implement minor CSS improvements

    * split selectors to one per line
    * remove units from 0
    * use double colon pseudo selectors consistently
    * use `background-color` instead of the `background` shorthand since
      only the color is supposed to change
    * remove leading zeros from numbers
    * remove redundant values from shorthands
    * use lowercase hex for colors
    * use numeric values for `font-weight`
    
    PR-URL: #29669
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    XhmikosR authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    ea9bf4a View commit details
    Browse the repository at this point in the history
  39. tls: honor pauseOnConnect option

    `pauseOnConnect` is now passed along to the net.Socket constructor from
    the tls.Socket constructor. The `readable` flag must match the value of
    `pauseOnConnect`. Tests were added to cover all available net.Server
    options when used in the tls.Server constructor.
    
    Fixes: #29620
    Refs: #27665
    
    PR-URL: #29635
    Reviewed-By: Luigi Pinca <[email protected]>
    r1b authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    a7b56a5 View commit details
    Browse the repository at this point in the history
  40. src: fix ESM path resolution on Windows

    Windows has some reserved file names such as "con", "prn",
    "nul", etc. Such files can be accessed only if the path is
    prefixed with "\\.\"
    
    PR-URL: #29574
    Reviewed-By: Guy Bedford <[email protected]>
    Hakerh400 authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    3f6ce39 View commit details
    Browse the repository at this point in the history
  41. inspector: update faviconUrl

    PR-URL: #29562
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    dokugo authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    b2cce13 View commit details
    Browse the repository at this point in the history
  42. doc: add explicit bracket for markdown reference links

    Use explicit trailing `[]` for reference markdown links to prevent
    implicit links when references are added to documents.
    
    PR-URL: #29808
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    nschonni authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    a5c2154 View commit details
    Browse the repository at this point in the history
  43. http2: set default maxConcurrentStreams

    Set the default maxConcurrentStreams to
    NGHTTP2_DEFAULT_MAX_CONCURRENT_STREAMS.
    
    PR-URL: #29833
    Fixes: #29763
    Refs: nghttp2/nghttp2@16c4611
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    ZYSzys authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    3f15378 View commit details
    Browse the repository at this point in the history
  44. lib: introduce no-mixed-operators eslint rule to lib

    PR-URL: #29834
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    ZYSzys authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    9e5d691 View commit details
    Browse the repository at this point in the history
  45. process: add source-map support to stack traces

    PR-URL: #29564
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bcoe authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    ae8b2b4 View commit details
    Browse the repository at this point in the history
  46. esm: remove proxy for builtin exports

    PR-URL: #29737
    Reviewed-By: Guy Bedford <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Jan Krems <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    bfarias-godaddy authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    e7f604f View commit details
    Browse the repository at this point in the history
  47. stream: do not deadlock duplexpair

    If nothing is buffered then _read will not be called and the
    callback will not be invoked, effectivly deadlocking.
    
    Fixes: #29758
    
    PR-URL: #29836
    Refs: #29649
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    ronag authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    6c75cc1 View commit details
    Browse the repository at this point in the history
  48. test: add test for HTTP server response with Connection: close

    PR-URL: #29836
    Refs: #29758
    Refs: #29649
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    awwright authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    b309e20 View commit details
    Browse the repository at this point in the history
  49. dgram: use uv_udp_try_send()

    This improves dgram performance by avoiding unnecessary async
    operations.
    
    One issue with this commit is that it seems hard to actually create
    conditions under which the fallback path to the async case is
    actually taken, for all supported OS, so an internal CLI option
    is used for testing that path.
    
    Another caveat is that the lack of an async operation means
    that there are slight timing differences (essentially `nextTick()`
    rather than `setImmediate()` for the send callback).
    
    PR-URL: #29832
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    addaleax authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    600478a View commit details
    Browse the repository at this point in the history
  50. lib: make tick processor detect xcodebuild errors

    `node --prof-process` on macOS calls out to nm(1) to look up C++
    symbols. If Xcode hasn't been properly installed or its license
    hasn't been accepted yet, it prints out an error and exits.
    
    Before this commit, that error was swallowed and the output of
    the tick processor was not showing the C++ entry points.
    
    This commit detects that error message and turns it into an
    exception. No regression test because this particular condition
    is hard to test for without going to extreme lengths to mock
    the output of nm.
    
    Fixes: #29804
    
    PR-URL: #29830
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    60296a3 View commit details
    Browse the repository at this point in the history
  51. tools: prohibit Error.prepareStackTrace() usage

    This eslint rule makes sure that `prepareStackTrace()` is not used in
    Node.js core.
    
    PR-URL: #29827
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    ba4946a View commit details
    Browse the repository at this point in the history
  52. module: use v8 synthetic modules

    PR-URL: #29846
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    guybedford authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    90562ae View commit details
    Browse the repository at this point in the history
  53. http2: support passing options of http2.connect to net.connect

    PR-URL: #29816
    Fixes: #29811
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    ZYSzys authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    a240d45 View commit details
    Browse the repository at this point in the history
  54. doc: remove misleading paragraph about the Legacy URL API

    The Legacy URL API is deprecated, see:
    
    - https://nodejs.org/api/url.html#url_legacy_url_api
    - https://nodejs.org/api/deprecations.html#
    deprecations_dep0116_legacy_url_api
    
    PR-URL: #29844
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    sonicdoe authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    f566cd5 View commit details
    Browse the repository at this point in the history
  55. fs: introduce opendir() and fs.Dir

    This adds long-requested methods for asynchronously interacting and
    iterating through directory entries by using `uv_fs_opendir`,
    `uv_fs_readdir`, and `uv_fs_closedir`.
    
    `fs.opendir()` and friends return an `fs.Dir`, which contains methods
    for doing reads and cleanup. `fs.Dir` also has the async iterator
    symbol exposed.
    
    The `read()` method and friends only return `fs.Dirent`s for this API.
    Having a entry type or doing a `stat` call is deemed to be necessary in
    the majority of cases, so just returning dirents seems like the logical
    choice for a new api.
    
    Reading when there are no more entries returns `null` instead of a
    dirent. However the async iterator hides that (and does automatic
    cleanup).
    
    The code lives in separate files from the rest of fs, this is done
    partially to prevent over-pollution of those (already very large)
    files, but also in the case of js allows loading into `fsPromises`.
    
    Due to async_hooks, this introduces a new handle type of `DIRHANDLE`.
    
    This PR does not attempt to make complete optimization of
    this feature. Notable future improvements include:
    - Moving promise work into C++ land like FileHandle.
    - Possibly adding `readv()` to do multi-entry directory reads.
    - Aliasing `fs.readdir` to `fs.scandir` and doing a deprecation.
    
    Refs: nodejs/node-v0.x-archive#388
    Refs: #583
    Refs: libuv/libuv#2057
    
    PR-URL: #29349
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Fishrock123 authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    b76a2e5 View commit details
    Browse the repository at this point in the history
  56. Revert "esm: remove experimental status from JSON modules"

    This reverts commit ec8776d.
    
    PR-URL: #29754
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    guybedford authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    df218ce View commit details
    Browse the repository at this point in the history
  57. worker: do not use two-arg NewIsolate

    PR-URL: #29850
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    codebytere authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    a711304 View commit details
    Browse the repository at this point in the history
  58. test: debug output for dlopen-ping-pong test

    Make test failures easier to diagnose through progress logging, and
    reporting of dlerror().
    
    PR-URL: #29818
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Christian Clauss <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    sam-github authored and BridgeAR committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    adee998 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2019

  1. http2: allow passing FileHandle to respondWithFD

    This seems to make sense if we want to promote the use
    of `fs.promises`, although it’s not strictly necessary.
    
    PR-URL: #29876
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    addaleax authored and BridgeAR committed Oct 10, 2019
    Configuration menu
    Copy the full SHA
    2bcde83 View commit details
    Browse the repository at this point in the history
  2. fs: remove options.encoding from Dir.read*()

    This is unlikely to be necessary in any case, and causes much
    unwarrented complexity when implementing further
    optimizations.
    
    Refs: #29893 (comment)
    
    PR-URL: #29908
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Fishrock123 authored and BridgeAR committed Oct 10, 2019
    Configuration menu
    Copy the full SHA
    c56f765 View commit details
    Browse the repository at this point in the history
  3. doc: add more info to fs.Dir and fix typos

    Some doc bits / fixes which were missing from
    cbd8d71
    
    PR-URL: #29890
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Fishrock123 authored and BridgeAR committed Oct 10, 2019
    Configuration menu
    Copy the full SHA
    20b9ef9 View commit details
    Browse the repository at this point in the history
  4. doc: remove spaces inside code span elements

    Applies MarkdownLint MD038 rule
    
    PR-URL: #29329
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    nschonni authored and BridgeAR committed Oct 10, 2019
    Configuration menu
    Copy the full SHA
    ea6b6ab View commit details
    Browse the repository at this point in the history
  5. test: remove spaces inside code span elements

    Applies MarkdownLint MD038 rule
    
    PR-URL: #29329
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    nschonni authored and BridgeAR committed Oct 10, 2019
    Configuration menu
    Copy the full SHA
    6a5d401 View commit details
    Browse the repository at this point in the history
  6. test: remove extra process.exit()

    process.exit() has a tendency to hide test failures because
    it forces the process to exit. This test doesn't need the
    process.exit(), so this commit removes it.
    
    PR-URL: #29873
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yongsheng Zhang <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    cjihrig authored and BridgeAR committed Oct 10, 2019
    Configuration menu
    Copy the full SHA
    5fdf4a4 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2019

  1. 2019-10-11, Version 12.12.0 (Current)

    Notable changes:
    
    * build:
      * Add `--force-context-aware` flag to prevent usage of native node
        addons that aren't context aware
        #29631
    * deprecations:
      * Add documentation-only deprecation for `process._tickCallback()`
        #29781
    * esm:
      * Using JSON modules is experimental again
        #29754
    * fs:
      * Introduce `opendir()` and `fs.Dir` to iterate through directories
        #29349
    * process:
      * Add source-map support to stack traces by using
        `--source-map-support` #29564
    * tls:
      * Honor `pauseOnConnect` option
        #29635
      * Add option for private keys for OpenSSL engines
        #28973
    
    PR-URL: #29919
    BridgeAR committed Oct 11, 2019
    Configuration menu
    Copy the full SHA
    921493e View commit details
    Browse the repository at this point in the history