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

v21.4.0 release proposal #51043

Merged
merged 38 commits into from
Dec 5, 2023
Merged

v21.4.0 release proposal #51043

merged 38 commits into from
Dec 5, 2023

Commits on Dec 4, 2023

  1. doc: remove flicker on page load on dark theme

    Theme applying logic get loaded and executed in async mode, so often
    there is a
    delay in applying the proper theme to a page which leads to flicker on
    dark theme. Resolved by moving critical logic to the page head
    
    PR-URL: #50942
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Claudio Wunder <[email protected]>
    demakoff authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    ec74b93 View commit details
    Browse the repository at this point in the history
  2. fs: remove workaround for esm package

    PR-URL: #50907
    Reviewed-By: Robert Nagy <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    anonrig authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    c1ee506 View commit details
    Browse the repository at this point in the history
  3. doc: add doc for Unix abstract socket

    PR-URL: #50904
    Refs: #49667
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Paolo Insogna <[email protected]>
    theanarkh authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    eecab88 View commit details
    Browse the repository at this point in the history
  4. test: consolidate utf8 text fixtures in tests

    We previously used a text that appears to be an excerpt of
    https://zh.wikipedia.org/wiki/%E5%8D%97%E8%B6%8A%E5%9B%BD
    and can have copyright/license complications. It may
    also include some geopolitical nuances. The text has been
    repeated through out the code base without much reuse.
    
    This patch consolidates the fixtures by adding a common helper
    string as `fixtures.utf8TestText` which is identical to a copy
    in test/fixtures/utf8_test_text.txt. It also updates the text
    to a copy of 蘭亭集序, It was chosen because:
    
    1. It's a well-known Chinese classical piece written in 353 CE
       and therefore in public domain. The string is copied from
       https://zh.wikisource.org/zh-hant/%E8%98%AD%E4%BA%AD%E9%9B%86%E5%BA%8F
       which contains a disclaimer of copyright for this reason.
    2. The text is in suitable length for general UTF8 string
       read/write tests (including punctuations, 389 code points and
       1167 bytes).
    3. This is also commonly used as reference text for Chinese text
       layout tests.
    4. It's a timeless and harmless preface for a collection of poems,
       written by a uncontroversial figure who passed away >1600 years
       ago and contains no geopolitical nuances. Background and an
       English translation of this text can be found at
       https://en.wikipedia.org/wiki/Lantingji_Xu
    
    PR-URL: #50732
    Reviewed-By: Yagiz Nizipli <[email protected]>
    joyeecheung authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    94462d4 View commit details
    Browse the repository at this point in the history
  5. doc: document non-node_modules-only runtime deprecation

    We already have this special kind of runtime deprecation for
    Buffer constructors which does not fit into the original
    description of runtiem deprecations. Document this kind of
    deprecation separately.
    
    PR-URL: #50748
    Reviewed-By: Geoffrey Booth <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    joyeecheung authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    30a6f19 View commit details
    Browse the repository at this point in the history
  6. lib: streamline process.binding() handling

    - Make processBindingAllowList a separate list from
      runtimeDeprecatedList and legacyWrapperList instead of being
      an umbrella one, so it's easier to see the stages the bindings
      are in.
    - Cache process.binding() results so we don't need to mutate
      runtimeDeprecatedList.
    
    PR-URL: #50773
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    joyeecheung authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    c37d18d View commit details
    Browse the repository at this point in the history
  7. tools: fix current version check

    PR-URL: #50951
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    marco-ippolito authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    1e40c4a View commit details
    Browse the repository at this point in the history
  8. src: print MKSNAPSHOT debug logs to stderr

    PR-URL: #50759
    Refs: #50740
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    joyeecheung authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    74f5a1c View commit details
    Browse the repository at this point in the history
  9. test: log more information in SEA tests

    - Use spawnSyncAndExitWithoutError to log more information on error.
    - Use NODE_DEBUG_NATIVE to log internals
    - Skip the test when available disk space < 120MB
    
    PR-URL: #50759
    Refs: #50740
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    joyeecheung authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    ac3a6ee View commit details
    Browse the repository at this point in the history
  10. doc: run license-builder

    PR-URL: #50926
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    github-actions[bot] authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    cedc342 View commit details
    Browse the repository at this point in the history
  11. doc: reserve 121 for Electron 29

    PR-URL: #50957
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    codebytere authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    759ebca View commit details
    Browse the repository at this point in the history
  12. benchmark: update number of iterations for util.inspect

    PR-URL: #50651
    Refs: #50571
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    kylo5aby authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    dc049ac View commit details
    Browse the repository at this point in the history
  13. typings: fix JSDoc in internal/modules/esm/hooks

    PR-URL: #50887
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: Jacob Smith <[email protected]>
    himself65 authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    3faed33 View commit details
    Browse the repository at this point in the history
  14. doc: fix some errors in esm resolution algorithms

    PR-URL: #50898
    Reviewed-By: Guy Bedford <[email protected]>
    Reviewed-By: Geoffrey Booth <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    chjj authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    7adf239 View commit details
    Browse the repository at this point in the history
  15. deps: update undici to 5.28.0

    PR-URL: #50915
    Reviewed-By: Matthew Aitken <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    nodejs-github-bot authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    4b1bed0 View commit details
    Browse the repository at this point in the history
  16. lib,src: replace toUSVString with toWellFormed()

    PR-URL: #47342
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    anonrig authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    246cf73 View commit details
    Browse the repository at this point in the history
  17. doc: add procedure when CVEs don't get published

    This was the workaround provided by HackerOne team
    
    PR-URL: #50945
    Refs: nodejs/security-wg#1058
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    RafaelGSS authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    b7036f2 View commit details
    Browse the repository at this point in the history
  18. tools: update lint-md-dependencies to [email protected]

    PR-URL: #50913
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    nodejs-github-bot authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    ca10cbb View commit details
    Browse the repository at this point in the history
  19. meta: move one or more collaborators to emeritus

    PR-URL: #50931
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    nodejs-github-bot authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    bed1b93 View commit details
    Browse the repository at this point in the history
  20. lib: refactor to use validateFunction in diagnostics_channel

    Use validateFunction to remove duplicate implementation.
    
    PR-URL: #50955
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    deokjinkim authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    1cf087d View commit details
    Browse the repository at this point in the history
  21. tools: add triggers to update release links workflow

    PR-URL: #50974
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    MoLow authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    8e1a70a View commit details
    Browse the repository at this point in the history
  22. url: throw error if argument length of revokeObjectURL is 0

    Added a check to see if url wasn't included as an argument
    which will then throw an error.
    
    Fixes: #50432
    PR-URL: #50433
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Zeyu "Alex" Yang <[email protected]>
    DylanTet authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    6a087ce View commit details
    Browse the repository at this point in the history
  23. test: replace forEach to for.. test-webcrypto-export-import-cfrg.js

    PR-URL: #50785
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    aparzi authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    3a1c664 View commit details
    Browse the repository at this point in the history
  24. benchmark: update iterations in benchmark/crypto/get-ciphers.js

    Fixes: #50571
    PR-URL: #50863
    Refs: #50571
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Lei Shi authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    f79b54e View commit details
    Browse the repository at this point in the history
  25. loader: speed up line length calc used by moduleProvider

    When using a loader, for say TypeScript, the esm loader invokes the
    `lineLengths` function via `maybeCacheSourceMap` when sourcemaps are
    enabled. Therefore, `lineLengths` ends up getting called quite often
    when running large servers written in TypeScript for example. Making
    `lineLengths` faster should therefore speed up server startup times
    for anyone using a loader with node with sourcemaps enabled.
    
    The change itself is fairly simple and is all about removing creation
    of unnecessary memory and iterating the whole source content only once
    with the hope of making the function cache friendly.
    
    PR-URL: #50969
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Geoffrey Booth <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: Jacob Smith <[email protected]>
    zeusdeux authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    9bc7917 View commit details
    Browse the repository at this point in the history
  26. deps: update undici to 5.28.1

    PR-URL: #50975
    Reviewed-By: Filip Skokan <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Matthew Aitken <[email protected]>
    nodejs-github-bot authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    099ebdb View commit details
    Browse the repository at this point in the history
  27. fs: introduce dirent.parentPath

    The goal is to replace `dirent.path` using a name that's less likely to
    create confusion.
    `dirent.path` value has not been stable, moving it to a different
    property name should avoid breaking some upgrading user expectations.
    
    PR-URL: #50976
    Reviewed-By: Ethan Arrowood <[email protected]>
    Reviewed-By: LiviaMedeiros <[email protected]>
    aduh95 authored and targos committed Dec 4, 2023
    1 Configuration menu
    Copy the full SHA
    32acafe View commit details
    Browse the repository at this point in the history
  28. benchmark: update iterations in benchmark/crypto/hkdf.js

    Fixes: #50571
    PR-URL: #50866
    Refs: #50571
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Lei Shi authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    b24ee15 View commit details
    Browse the repository at this point in the history
  29. fs: use default w flag for writeFileSync with utf8 encoding

    PR-URL: #50990
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    MuriloKakazu authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    7245486 View commit details
    Browse the repository at this point in the history
  30. deps: update googletest to b10fad3

    PR-URL: #50555
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    nodejs-github-bot authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    59a45dd View commit details
    Browse the repository at this point in the history
  31. deps: update googletest to 76bb2af

    PR-URL: #50555
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    nodejs-github-bot authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    d7c562a View commit details
    Browse the repository at this point in the history
  32. src: fix backtrace with tail [[noreturn]] abort

    A function tail calls [[noreturn]] node::Abort will print an incorrect
    call stack because the frame pc was advanced when calling node::Abort
    to an invalid op, which may vary on different platforms.
    
    Dumps the backtrace in the ABORT macro instead to avoid calling
    backtrace in a tail [[noreturn]] call. Removes the [[noreturn]]
    attribute if a function calls backtrace and may be called as a tail
    statement.
    
    [[noreturn]] attribute of public functions like `napi_fatal_error` and
    `node::OnFatalError` can not be removed as compilers may complain
    about no return values after the removal.
    
    PR-URL: #50849
    Refs: #50761
    Reviewed-By: Joyee Cheung <[email protected]>
    legendecas authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    f6ff11c View commit details
    Browse the repository at this point in the history
  33. meta: bump github/codeql-action from 2.22.5 to 2.22.8

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.5 to 2.22.8.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@74483a3...407ffaf)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    PR-URL: #50998
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    dependabot[bot] authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    1dbe1af View commit details
    Browse the repository at this point in the history
  34. meta: bump step-security/harden-runner from 2.6.0 to 2.6.1

    Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.6.0 to 2.6.1.
    - [Release notes](https://github.com/step-security/harden-runner/releases)
    - [Commits](step-security/harden-runner@1b05615...eb238b5)
    
    ---
    updated-dependencies:
    - dependency-name: step-security/harden-runner
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    PR-URL: #50999
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    dependabot[bot] authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    812ab9e View commit details
    Browse the repository at this point in the history
  35. src: disable uncaught exception abortion for ESM syntax detection

    PR-URL: #50987
    Reviewed-By: Geoffrey Booth <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Jacob Smith <[email protected]>
    anonrig authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    709ac47 View commit details
    Browse the repository at this point in the history
  36. doc: add additional details about --input-type

    PR-URL: #50796
    Fixes: #50781
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Geoffrey Booth <[email protected]>
    shubham9411 authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    b281e98 View commit details
    Browse the repository at this point in the history
  37. src: make ModifyCodeGenerationFromStrings more robust

    1. Fallback to true when the context is not (yet) initialized
       with the kAllowCodeGenerationFromStrings field.
    2. Fallback to true when the Environment isn't assigned to
       the context or when the Environment cannot call into
       JavaScript.
    
    PR-URL: #50763
    Refs: #50761
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    joyeecheung authored and targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    1e7d101 View commit details
    Browse the repository at this point in the history
  38. 2023-12-05, Version 21.4.0 (Current)

    Notable changes:
    
    fs:
      * (SEMVER-MINOR) introduce `dirent.parentPath` (Antoine du Hamel) #50976
      * use default w flag for writeFileSync with utf8 encoding (Murilo Kakazu) #50990
    
    PR-URL: #51043
    targos committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    67ada40 View commit details
    Browse the repository at this point in the history