Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Apr 23, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

Summary by Sourcery

Merge main branch from nodejs/node repository, updating Node.js to version 22.15.0 with various improvements and feature additions

New Features:

  • Add TLSA record query and parsing in DNS module
  • Implement partial error comparison in assert module
  • Add zstd compression support
  • Implement tls.getCACertificates()
  • Add v8.getCppHeapStatistics() method
  • Support reading certificates from macOS system store
  • Add execve() system call
  • Expose diff function used by assertion errors

Bug Fixes:

  • Fix various error handling improvements
  • Improve module resolution and hooks
  • Update dependencies and tooling

Enhancements:

  • Improve assert module performance
  • Update root certificates to NSS 3.108
  • Allow --cpu-prof* in NODE_OPTIONS
  • Support system CA certificates on Windows
  • Add support for reading certificates from macOS system store

Documentation:

  • Mark several experimental APIs as stable
  • Update documentation for various modules
  • Improve API descriptions

RafaelGSS and others added 3 commits April 23, 2025 09:11
Notable changes:

assert:
  * (SEMVER-MINOR) implement partial error comparison (Ruben Bridgewater) #57370
  * (SEMVER-MINOR) improve partialDeepStrictEqual (Ruben Bridgewater) #57370
cli:
  * (SEMVER-MINOR) allow --cpu-prof* in NODE_OPTIONS (Carlos Espa) #57018
crypto:
  * update root certificates to NSS 3.108 (Node.js GitHub Bot) #57381
  * (SEMVER-MINOR) support --use-system-ca on Windows (Joyee Cheung) #56833
  * (SEMVER-MINOR) added support for reading certificates from macOS system store (Tim Jacomb) #56599
deps:
  * update timezone to 2025a (Node.js GitHub Bot) #56876
deps,tools:
  * (SEMVER-MINOR) add zstd 1.5.6 (Jan Martin) #52100
dns:
  * (SEMVER-MINOR) add TLSA record query and parsing (Rithvik Vibhu) #52983
doc:
  * add @geeksilva97 to collaborators (Edy Silva) #57241
module:
  * (SEMVER-MINOR) use synchronous hooks for preparsing in import(cjs) (Joyee Cheung) #55698
  * (SEMVER-MINOR) implement module.registerHooks() (Joyee Cheung) #55698
process:
  * (SEMVER-MINOR) add execve (Paolo Insogna) #56496
  * (SEMVER-MINOR) add threadCpuUsage (Paolo Insogna) #56467
sqlite:
  * (SEMVER-MINOR) add StatementSync.prototype.columns() (Colin Ihrig) #57490
  * (SEMVER-MINOR) allow returning `ArrayBufferView`s from user-defined functions (René) #56790
src:
  * set signal inspector io thread name (RafaelGSS) #56416
  * set thread name for main thread and v8 worker (RafaelGSS) #56416
  * set worker thread name using worker.name (RafaelGSS) #56416
  * use a default thread name for inspector (RafaelGSS) #56416
tls:
  * (SEMVER-MINOR) implement tls.getCACertificates() (Joyee Cheung) #57107
util:
  * (SEMVER-MINOR) expose diff function used by the assertion errors (Giovanni Bucci) #57462
v8:
  * (SEMVER-MINOR) add v8.getCppHeapStatistics() method (Aditi) #57146
zlib:
  * (SEMVER-MINOR) add zstd support (Jan Martin) #52100

PR-URL: #57840
PR-URL: #57987
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
PR-URL: #57664
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@pull pull bot added the ⤵️ pull label Apr 23, 2025
@cr-gpt
Copy link

cr-gpt bot commented Apr 23, 2025

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information

@pull pull bot merged commit 7bc37af into Abaso007:main Apr 23, 2025
1 check passed
@sourcery-ai
Copy link

sourcery-ai bot commented Apr 23, 2025

Reviewer's Guide by Sourcery

This pull request introduces version 22.15.0 'Jod' (LTS) with several new features, performance improvements, dependency updates, and documentation enhancements. Key changes include partial error comparison in assert, TLSA record support in DNS, module.registerHooks() for module customization, execve in process, ArrayBufferView support in SQLite, tls.getCACertificates(), zstd support in zlib, and v8.getCppHeapStatistics(). It also updates dependencies like OpenSSL, zlib, and V8, and improves error handling and code quality.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Updated dependencies to their latest versions.
  • Updated c-ares to v1.34.5
  • Updated undici to 6.21.2
  • Cherry-picked a V8 commit
  • Updated googletest to 0bdccf4
  • Updated acorn to 8.14.1
  • Updated amaro to 0.4.1, 0.3.2 and 0.3.1
  • Updated simdjson to 3.12.2, 3.12.0 and 3.11.6
  • Updated archs files for openssl-3.0.16
  • Upgraded openssl sources to quictls/openssl-3.0.16
  • Updated corepack to 0.32.0
  • Updated gyp file for ngtcp2 1.11.0
  • Updated cjs-module-lexer to 2.1.0
  • Updated ngtcp2 to 1.11.0
  • Updated sqlite to 3.49.1 and 3.49.0
  • Cherry-picked a V8 commit
  • Updated cjs-module-lexer to 2.0.0
  • Updated timezone to 2025a
  • Updated zlib to 1.3.0.1-motley-788cb3c
deps
tools
Implemented partial error comparison and improved partialDeepStrictEqual in the assert module.
  • Implemented partial error comparison
  • Improved partialDeepStrictEqual performance
  • Improved myers diff performance
  • Improved performance
  • Adjusted assert runtimes
  • Skipped running some assert benchmarks by default
  • Added assert partialDeepStrictEqual benchmark
assert
benchmark
util
Added support for TLSA record query and parsing in the dns module.
  • Added TLSA record query and parsing
  • Restored dns query cache ttl
  • Removed redundant code using common variable
dns
Implemented module.registerHooks() and used synchronous hooks for preparsing in import(cjs).
  • Used synchronous hooks for preparsing in import(cjs)
  • Implemented module.registerHooks()
  • Handled cached linked async jobs in require(esm)
  • Added dynamic file-specific ESM warnings
  • Improved error message from asynchronicity in require(esm)
  • Allowed omitting context in synchronous next hooks
  • Fixed require.resolve() crash on non-string paths
  • Fixed url change in load sync hook chain
module
Added execve function to the process module.
  • Added execve
process
Allowed returning ArrayBufferViews from user-defined functions in the sqlite module. sqlite
Implemented tls.getCACertificates() in the tls module.
  • Implemented tls.getCACertificates()
  • Removed unnecessary type check on normalize
tls
Added zstd support to the zlib module.
  • Added zstd support
  • Used modern class syntax for zstd classes
  • Made all zstd functions experimental
zlib
Updated root certificates to NSS 3.108 in the crypto module.
  • Ensured expected JWK alg in SubtleCrypto.importKey RSA imports
  • Updated root certificates to NSS 3.108
  • Added support for intermediate certs in --use-system-ca
  • Supported --use-system-ca on non-Windows and non-macOS
  • Fixed missing OPENSSL_NO_ENGINE guard
  • Supported --use-system-ca on Windows
  • Fixed X509* leak in --use-system-ca
  • Added api to get openssl security level
  • Added support for reading certificates from macOS system store
  • Cleaned up root certificates and skip PEM deserialization
crypto
Exposed diff function used by the assertion errors in the util module.
  • Avoided run debug when enabled is false
  • Exposed diff function used by the assertion errors
  • Enforced shouldColorize in styleText array arg
util
Added v8.getCppHeapStatistics() method to the v8 module.
  • Added v8.getCppHeapStatistics() method
v8

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants