Skip to content

Update Node.js to v24 #194

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

Open
wants to merge 1 commit into
base: Master
Choose a base branch
from
Open

Update Node.js to v24 #194

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 7, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
node (source) ^23.0.0 -> ^24.0.0 age adoption passing confidence

Release Notes

nodejs/node (node)

v24.0.1: 2025-05-08, Version 24.0.1 (Current), @​aduh95

Compare Source

Notable Changes
Commits

v24.0.0: 2025-05-06, Version 24.0.0 (Current), @​RafaelGSS and @​juanarbol

Compare Source

We’re excited to announce the release of Node.js 24! This release brings
several significant updates, including the upgrade of the V8 JavaScript
engine to version 13.6 and npm to version 11. Starting with
Node.js 24, support for MSVC has been removed, and ClangCL is now required
to compile Node.js on Windows. The AsyncLocalStorage API now uses
AsyncContextFrame by default, and URLPattern is available globally.
These changes, along with many other improvements, continue to push the
platform forward.

As a reminder, Node.js 24 will enter long-term support (LTS) in October,
but until then, it will be the "Current" release for the next six months.
We encourage you to explore the new features and benefits offered by this
latest release and evaluate their potential impact on your applications.

Notable Changes

V8 13.6

The V8 engine is updated to version 13.6, which includes several new
JavaScript features:

The V8 update was a contribution by Michaël Zasso in #​58070.

npm 11

Node.js 24 comes with npm 11, which includes several improvements and new
features. This update brings enhanced performance, improved security features,
and better compatibility with modern JavaScript packages.

The npm update was a contribution by the npm team in #​56274.

AsyncLocalStorage defaults to AsyncContextFrame

AsyncLocalStorage now uses AsyncContextFrame by default, which provides a
more efficient implementation of asynchronous context tracking.
This change improves performance and makes the API more robust for advanced
use cases.

This change was a contribution by Stephen Belanger in #​55552.

URLPattern as a global

The URLPattern
API is now exposed on the global object, making it easier to use without
explicit imports. This API provides a powerful pattern matching system for URLs,
similar to how regular expressions work for strings.

This feature was a contribution by Jonas Badalič in #​56950.

Permission Model Improvements

The experimental Permission Model introduced in Node.js 20 has been improved,
and the flag has been changed from --experimental-permission to simply
--permission, indicating its increasing stability and readiness for broader
adoption.

This change was a contribution by Rafael Gonzaga in #​56240.

Test Runner Enhancements

The test runner module now automatically waits for subtests to finish,
eliminating the need to manually await test promises. This makes writing tests
more intuitive and reduces common errors related to unhandled promises.

The test runner improvements were contributions by Colin Ihrig in #​56664.

Undici 7

Node.js 24 includes Undici 7, which brings numerous improvements to the
HTTP client capabilities, including better performance and support for newer
HTTP features.

Deprecations and Removals

Several APIs have been deprecated or removed in this release:

  • Runtime deprecation of url.parse() - use the WHATWG URL API instead (#​55017)
  • Removal of deprecated tls.createSecurePair (#​57361)
  • Runtime deprecation of SlowBuffer (#​55175)
  • Runtime deprecation of instantiating REPL without new (#​54869)
  • Deprecation of using Zlib classes without new (#​55718)
  • Deprecation of passing args to spawn and execFile in child_process (#​57199)
Semver-Major Commits
  • [c6b934380a] - (SEMVER-MAJOR) src: enable Float16Array on global object (Michaël Zasso) #​58154
  • [69efb81a73] - (SEMVER-MAJOR) src: enable explicit resource management (Michaël Zasso) #​58154
  • [b00ff4270e] - (SEMVER-MAJOR) src,test: unregister the isolate after disposal and before freeing (Joyee Cheung) #​58070
  • [b81697d860] - (SEMVER-MAJOR) src: use non-deprecated WriteUtf8V2() method (Yagiz Nizipli) #​58070
  • [1f06169b87] - (SEMVER-MAJOR) src: use non-deprecated Utf8LengthV2() method (Yagiz Nizipli) #​58070
  • [eae9a296f0] - (SEMVER-MAJOR) src: use V8-owned CppHeap (Joyee Cheung) #​58070
  • [087c254a11] - (SEMVER-MAJOR) test: fix test-fs-write for V8 13.6 (Michaël Zasso) #​58070
  • [9e49bedd8e] - (SEMVER-MAJOR) build: update list of installed cppgc headers (Michaël Zasso) #​58070
  • [93cca8a43e] - (SEMVER-MAJOR) tools: update V8 gypfiles for 13.6 (Michaël Zasso) #​58070
  • [347daa07be] - (SEMVER-MAJOR) tools: update V8 gypfiles for 13.5 (Michaël Zasso) #​58070
  • [2a35d5a86c] - (SEMVER-MAJOR) build: fix V8 TLS config for shared lib builds (Michaël Zasso) #​58070
  • [b0fb5a09cf] - (SEMVER-MAJOR) build: pass -fPIC to linker as well for shared builds (Michaël Zasso) #​58070
  • [dd4c5d6c73] - (SEMVER-MAJOR) src,test: add V8 API to test the hash seed (Michaël Zasso) #​58070
  • [1d5d7b6eed] - (SEMVER-MAJOR) src: use v8::ExternalMemoryAccounter (Michaël Zasso) #​58070
  • [3779e43cce] - (SEMVER-MAJOR) tools: update license-builder and LICENSE for V8 deps (Michaël Zasso) #​58070
  • [82c2255206] - (SEMVER-MAJOR) deps: remove deps/simdutf (Michaël Zasso) #​58070
  • [8a258eb7b1] - (SEMVER-MAJOR) test: handle explicit resource management globals (Michaël Zasso) #​58070
  • [9e0d9b6024] - (SEMVER-MAJOR) test: adapt assert tests to stack trace changes (Michaël Zasso) #​58070
  • [f7406aa56d] - (SEMVER-MAJOR) test: update test-linux-perf-logger (Michaël Zasso) #​58070
  • [c7493fac5e] - (SEMVER-MAJOR) Revert "test: disable fast API call count checks" (Michaël Zasso) #​58070
  • [50a8527867] - (SEMVER-MAJOR) src: replace uses of FastApiTypedArray (Michaël Zasso) #​58070
  • [9c1ebb713c] - (SEMVER-MAJOR) build: add /bigobj to compile V8 on Windows (Michaël Zasso) #​58070
  • [fb3d5ea45d] - (SEMVER-MAJOR) tools: update V8 gypfiles for 13.4 (Michaël Zasso) #​58070
  • [756abacf73] - (SEMVER-MAJOR) build,src,tools: adapt build config for V8 13.3 (Michaël Zasso) #​58070
  • [f8953e54b0] - (SEMVER-MAJOR) tools: update V8 gypfiles for 13.2 (Michaël Zasso) #​58070
  • [c8a0e205e1] - (SEMVER-MAJOR) tools: update V8 gypfiles for 13.1 (Michaël Zasso) #​58070
  • [1689ee84ce] - (SEMVER-MAJOR) build: enable shared RO heap with ptr compression (Michaël Zasso) #​58070
  • [15f2fb9467] - (SEMVER-MAJOR) build: remove support for s390 32-bit (Richard Lau) #​58070
  • [4ab254c9f2] - (SEMVER-MAJOR) deps: V8: backport 954187b (Joyee Cheung) #​58070
  • [732923b927] - (SEMVER-MAJOR) deps: patch V8 to support compilation with MSVC (StefanStojanovic) #​58070
  • [972834d7c0] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #​58070
  • [7098bff3a9] - (SEMVER-MAJOR) deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #​58070
  • [dc82c40d4a] - (SEMVER-MAJOR) deps: use std::map in MSVC STL for EphemeronRememberedSet (Joyee Cheung) #​58070
  • [42f5130ee2] - (SEMVER-MAJOR) deps: patch V8 for illumos (Dan McDonald) #​58070
  • [23b17dbd9e] - (SEMVER-MAJOR) deps: remove problematic comment from v8-internal (Michaël Zasso) #​58070
  • [c5d71fcdab] - (SEMVER-MAJOR) deps: define V8_PRESERVE_MOST as no-op on Windows (Stefan Stojanovic) #​58070
  • [fbc2005b15] - (SEMVER-MAJOR) deps: fix FP16 bitcasts.h (Stefan Stojanovic) #​58070
  • [57f9430503] - (SEMVER-MAJOR) deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #​58070
  • [f26cab1b85] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 137 (Michaël Zasso) #​58070
  • [f8923a4f17] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #​58070
  • [c7964bc02b] - (SEMVER-MAJOR) deps: update V8 to 13.6.233.8 (Michaël Zasso) #​58070
  • [6682861d6f] - (SEMVER-MAJOR) build: downgrade armv7 support to experimental (Michaël Zasso) #​58071
  • [0579e0ec93] - (SEMVER-MAJOR) buffer: move SlowBuffer to EOL (James M Snell) #​58008
  • [a55f5d5e63] - (SEMVER-MAJOR) readline: add stricter validation for functions called after closed (Dario Piotrowicz) #​57680
  • [d16b0bae55] - (SEMVER-MAJOR) http2: session tracking and graceful server close (Kushagra Pandey) #​57586
  • [e2b94dc3f9] - (SEMVER-MAJOR) readline: fix unicode line separators being ignored (Dario Piotrowicz) #​57591
  • [4a47ce5ff9] - (SEMVER-MAJOR) Revert "assert,util: revert recursive breaking change" (Ruben Bridgewater) #​57622
  • [7d4db69049] - (SEMVER-MAJOR) http: remove outgoingmessage _headers and _headersList (Yagiz Nizipli) #​57551
  • [fabf9384e0] - (SEMVER-MAJOR) fs: remove ability to call truncate with fd (Yagiz Nizipli) #​57567
  • [a587bd2ee2] - (SEMVER-MAJOR) net: make _setSimultaneousAccepts() end-of-life deprecated (Yagiz Nizipli) #​57550
  • [c6bca3fd34] - (SEMVER-MAJOR) child_process: deprecate passing args to spawn and execFile (Daniel Venable) #​57199
  • [e42c01b56d] - (SEMVER-MAJOR) buffer: make buflen in integer range (zhenweijin) #​51821
  • [cc08ad56b8] - (SEMVER-MAJOR) tls: remove deprecated tls.createSecurePair (Jonas) #​57361
  • [6f2a6b262b] - (SEMVER-MAJOR) tls: make server.prototype.setOptions end-of-life (Yagiz Nizipli) #​57339
  • [0c371d919e] - (SEMVER-MAJOR) lib: remove obsolete Cipher export (James M Snell) #​57266
  • [2cbf3c38db] - (SEMVER-MAJOR) timers: check for immediate instance in clearImmediate (Gürgün Dayıoğlu) #​57069
  • [4f512faf4a] - (SEMVER-MAJOR) lib: unexpose six process bindings (Michaël Zasso) #​57149
  • [8b40221777] - (SEMVER-MAJOR) build: bump supported macOS version to 13.5 (Michaël Zasso) #​57115
  • [5d7091f1bc] - (SEMVER-MAJOR) timers: set several methods EOL (Yagiz Nizipli) #​56966
  • [d1f8ccb10d] - (SEMVER-MAJOR) url: expose urlpattern as global (Jonas) #​56950
  • [ed52ab913b] - (SEMVER-MAJOR) build: increase minimum Xcode version to 16.1 (Michaël Zasso) #​56824
  • [1a2eb15bc6] - (SEMVER-MAJOR) test_runner: remove promises returned by t.test() (Colin Ihrig) #​56664
  • [96718268fe] - (SEMVER-MAJOR) test_runner: remove promises returned by test() (Colin Ihrig) #​56664
  • [aa3523ec22] - (SEMVER-MAJOR) test_runner: automatically wait for subtests to finish (Colin Ihrig) #​56664
  • [6857dbc018] - (SEMVER-MAJOR) test: disable fast API call count checks (Michaël Zasso) #​55014
  • [89f661dd66] - (SEMVER-MAJOR) build: link V8 with atomic library (Michaël Zasso) #​55014
  • [7e8752006a] - (SEMVER-MAJOR) src: update GetForegroundTaskRunner override (Etienne Pierre-doray) #​55014
  • [44b0e423dc] - (SEMVER-MAJOR) build: remove support for ppc 32-bit (Michaël Zasso) #​55014
  • [6f965260dd] - (SEMVER-MAJOR) tools: update V8 gypfiles for 13.0 (Michaël Zasso) #​55014
  • [52d39441d0] - (SEMVER-MAJOR) deps: V8: cherry-pick f915fa4 (Olivier Flückiger) #​55014
  • [99ffe3555a] - (SEMVER-MAJOR) deps: V8: cherry-pick 0d5d6e7 (Yagiz Nizipli) #​55014
  • [5d8011d91c] - (SEMVER-MAJOR) deps: V8: cherry-pick 0c11fee (Michaël Zasso) #​55014
  • [d85d2f8350] - (SEMVER-MAJOR) deps: define V8_PRESERVE_MOST as no-op on Windows (Stefan Stojanovic) #​55014
  • [e8f55f7b7a] - (SEMVER-MAJOR) deps: always define V8_NODISCARD as no-op (Michaël Zasso) #​55014
  • [b3c1b63a5d] - (SEMVER-MAJOR) deps: fix FP16 bitcasts.h (Stefan Stojanovic) #​55014
  • [d0361f0bba] - (SEMVER-MAJOR) deps: patch V8 to support compilation with MSVC (StefanStojanovic) #​55014
  • [a4e0fce896] - (SEMVER-MAJOR) deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #​55014
  • [4f8fd566cc] - (SEMVER-MAJOR) deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #​55014
  • [1142f78f1d] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #​55014
  • [7917b67313] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 134 (Michaël Zasso) #​55014
  • [1f654e655c] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #​55014
  • [5edec0e39a] - (SEMVER-MAJOR) deps: update V8 to 13.0.245.25 (Michaël Zasso) #​55014
  • [25b22e4754] - (SEMVER-MAJOR) deps: upgrade npm to 11.0.0 (npm team) #​56274
  • [529b56ef9d] - (SEMVER-MAJOR) fs: deprecate passing invalid types in fs.existsSync (Carlos Espa) #​55753
  • [bf3bc4ec2f] - (SEMVER-MAJOR) src: drop --experimental-permission in favour of --permission (Rafael Gonzaga) #​56240
  • [fd8de670da] - (SEMVER-MAJOR) stream: catch and forward error from dest.write (jakecastelli) #​55270
  • [47b80c293d] - (SEMVER-MAJOR) deps: update undici to 7.0.0 (Node.js GitHub Bot) #​56070
  • [58982d712b] - (SEMVER-MAJOR) src: add async context frame to AsyncResource (Gerhard Stöbich) #​56082
  • [4ee87b8bc3] - (SEMVER-MAJOR) zlib: deprecate classes usage without new (Yagiz Nizipli) #​55718
  • [b02cd411c2] - (SEMVER-MAJOR) fs: runtime deprecate fs.F_OK, fs.R_OK, fs.W_OK, fs.X_OK (Livia Medeiros) #​49686
  • [d9540b51eb] - (SEMVER-MAJOR) fs: remove dirent.path (Antoine du Hamel) #​55548
  • [0368f2f662] - (SEMVER-MAJOR) repl: runtime deprecate instantiating without new (Aviv Keller) #​54869
  • [03dcd7077a] - (SEMVER-MAJOR) src: nuke deprecated and un-used enum members in OptionEnvvarSettings (Juan José) #​53079
  • [51ae57673d] - (SEMVER-MAJOR) lib: make ALS default to AsyncContextFrame (Stephen Belanger) #​55552
  • [11fbdd8c9d] - (SEMVER-MAJOR) url: runtime deprecate url.parse (Yagiz Nizipli) #​55017
  • [019efe1453] - (SEMVER-MAJOR) lib: runtime deprecate SlowBuffer (Rafael Gonzaga) #​55175
Semver-Minor Commits
  • [bf9f25719a] - (SEMVER-MINOR) esm: graduate import.meta properties (James M Snell) #​58011
  • [947c6a4405] - (SEMVER-MINOR) src: add ExecutionAsyncId getter for any Context (Attila Szegedi) #​57820
  • [ea04184328] - (SEMVER-MINOR) worker: add worker.getHeapStatistics() (Matteo Collina) #​57888
  • [ec79f7686d] - (SEMVER-MINOR) util: add types.isFloat16Array() (Livia Medeiros) #​57879
  • [13dee58d0e] - (SEMVER-MINOR) test_runner: add global setup and teardown functionality (Pietro Marchini) #​57438
  • [932c2d9c70] - (SEMVER-MINOR) stream: preserve AsyncLocalStorage context in finished() (Gürgün Dayıoğlu) #​57865
  • [18d6249580] - (SEMVER-MINOR) repl: add support for multiline history (Giovanni Bucci) #​57400
  • [c3e44342d9] - (SEMVER-MINOR) lib: add defaultValue and name options to AsyncLocalStorage (James M Snell) #​57766
  • [f99f815641] - (SEMVER-MINOR) doc: graduate multiple experimental apis (James M Snell) #​57765
  • [21f3c96199] - (SEMVER-MINOR) esm: support top-level Wasm without package type (Guy Bedford) #​57610
  • [ada34bd0ea] - (SEMVER-MINOR) http: support http proxy for fetch under NODE_USE_ENV_PROXY (Joyee Cheung) #​57165
  • [05cf1410b1] - (SEMVER-MINOR) assert: mark partialDeepStrictEqual() as stable (Ruben Bridgewater) #​57370
  • [57e49ee777] - (SEMVER-MINOR) esm: support source phase imports for WebAssembly (Guy Bedford) #​56919
  • [55413004c8] - (SEMVER-MINOR) stream: handle generator destruction from Duplex.from() (Matthieu Sieben) #​55096
Semver-Patch Commits

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

semanticdiff-com bot commented May 7, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  package-lock.json  1% smaller
  package.json  0% smaller

Copy link

restack-app bot commented May 7, 2025

No applications have been configured for previews targeting branch: Master. To do so go to restack console and configure your applications for previews.

Copy link

coderabbitai bot commented May 7, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Join our Discord community for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

👋 Hi there!

Everything looks good!


Automatically generated with the help of gpt-3.5-turbo.
Feedback? Please don't hesitate to drop me an email at [email protected].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants