Skip to content

Update Node.js to v22#250

Merged
sergioalvz merged 1 commit intotrunkfrom
renovate/node-22.x
Sep 9, 2025
Merged

Update Node.js to v22#250
sergioalvz merged 1 commit intotrunkfrom
renovate/node-22.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Dec 8, 2024

This PR contains the following updates:

Package Type Update Change Age Confidence
node (source) major 20.13.0 -> 22.19.0 age confidence
@types/node (source) devDependencies major 20.12.11 -> 22.18.1 age confidence
node uses-with major 20.13.0 -> 22.19.0 age confidence

Release Notes

nodejs/node (node)

v22.19.0

Compare Source

v22.18.0

Compare Source

v22.17.1

Compare Source

v22.17.0: 2025-06-24, Version 22.17.0 'Jod' (LTS), @​aduh95

Compare Source

Notable Changes
⚠️ Deprecations
Instantiating node:http classes without new

Constructing classes like IncomingMessage or ServerResponse without the new
keyword is now discouraged. This clarifies API expectations and aligns with standard
JavaScript behavior. It may warn or error in future versions.

Contributed by Yagiz Nizipli in #​58518.

options.shell = "" in node:child_process

Using an empty string for shell previously had undefined behavior. This change
encourages explicit choices (e.g., shell: true or a shell path) and avoids
relying on implementation quirks.

Contributed by Antoine du Hamel and Renegade334 #​58564.

HTTP/2 priority signaling

The HTTP/2 prioritization API (e.g., stream.priority) is now deprecated due to
poor real-world support. Applications should avoid using priority hints and expect future removal.

Contributed by Matteo Collina and Antoine du Hamel #​58313.

✅ Features graduated to stable
assert.partialDeepStrictEqual()

This method compares only a subset of properties in deep object comparisons,
useful for flexible test assertions. Its stabilization means it's now safe for
general use and won't change unexpectedly in future releases.

Contributed by Ruben Bridgewater in #​57370.

Miscellaneous
  • dirent.parentPath
  • filehandle.readableWebStream()
  • fs.glob()
  • fs.openAsBlob()
  • node:readline/promises
  • port.hasRef()
  • readable.compose()
  • readable.iterator()
  • readable.readableAborted
  • readable.readableDidRead
  • Duplex.fromWeb()
  • Duplex.toWeb()
  • Readable.fromWeb()
  • Readable.isDisturbed()
  • Readable.toWeb()
  • stream.isErrored()
  • stream.isReadable()
  • URL.createObjectURL()
  • URL.revokeObjectURL()
  • v8.setHeapSnapshotNearHeapLimit()
  • Writable.fromWeb()
  • Writable.toWeb()
  • writable.writableAborted
  • Startup Snapshot API
  • ERR_INPUT_TYPE_NOT_ALLOWED
  • ERR_UNKNOWN_FILE_EXTENSION
  • ERR_UNKNOWN_MODULE_FORMAT
  • ERR_USE_AFTER_CLOSE

Contributed by James M Snell in
#​57513 and
#​58541.

Semver-minor features
🔧 fs.FileHandle.readableWebStream gets autoClose option

This gives developers explicit control over whether the file descriptor should
be closed when the stream ends. Helps avoid subtle resource leaks.

Contributed by James M Snell in #​58548.

🔧 fs.Dir now supports explicit resource management

This improves ergonomics around async iteration of directories. Developers can
now manually control when a directory is closed using .close() or with Symbol.asyncDispose.

Contributed by Antoine du Hamel in #​58206.

📊 http2 gains diagnostics channel: http2.server.stream.finish

Adds observability support for when a stream finishes. Useful for logging,
monitoring, and debugging HTTP/2 behavior without patching internals.

Contributed by Darshan Sen in #​58560.

🔐 Permissions: implicit allow-fs-read to entrypoint

Node.js permissions model now allows read access to the entry file by default.
It makes running permission-restricted apps smoother while preserving security.

Contributed by Rafael Gonzaga in #​58579.

🎨 util.styleText() adds 'none' style

This lets developers remove styling cleanly without hacks. Useful for overriding
inherited terminal styles when composing styled strings.

Contributed by James M Snell in #​58437.

🧑‍💻 Community updates
Commits

v22.16.0: 2025-05-21, Version 22.16.0 'Jod' (LTS), @​aduh95

Compare Source

Notable Changes
  • [c3ceaebb7a] - deps: update timezone to 2025b (Node.js GitHub Bot) #​57857
  • [5059a746ec] - doc: add dario-piotrowicz to collaborators (Dario Piotrowicz) #​58102
  • [c8ceaaf397] - (SEMVER-MINOR) doc: graduate multiple experimental apis (James M Snell) #​57765
  • [e21b37d9df] - (SEMVER-MINOR) esm: graduate import.meta properties (James M Snell) #​58011
  • [832640c35e] - (SEMVER-MINOR) esm: support top-level Wasm without package type (Guy Bedford) #​57610
  • [c510391d2f] - (SEMVER-MINOR) sqlite: add StatementSync.prototype.columns() (Colin Ihrig) #​57490
  • [5d1230bec0] - (SEMVER-MINOR) src: set default config as node.config.json (Marco Ippolito) #​57171
  • [30bb1ccbb0] - (SEMVER-MINOR) src: create THROW_ERR_OPTIONS_BEFORE_BOOTSTRAPPING (Marco Ippolito) #​57016
  • [0350c6f478] - (SEMVER-MINOR) src: add config file support (Marco Ippolito) #​57016
  • [e1d3a9e192] - (SEMVER-MINOR) src: add ExecutionAsyncId getter for any Context (Attila Szegedi) #​57820
  • [0ec912f452] - (SEMVER-MINOR) stream: preserve AsyncLocalStorage context in finished() (Gürgün Dayıoğlu) #​57865
  • [43490c8797] - (SEMVER-MINOR) util: add types.isFloat16Array() (Livia Medeiros) #​57879
  • [dda6ca9172] - (SEMVER-MINOR) worker: add worker.getHeapStatistics() (Matteo Collina) #​57888
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 these updates again.


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

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

@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 8, 2024

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
codecoolture Ready Ready Preview Comment Sep 9, 2025 5:36am

@renovate renovate Bot force-pushed the renovate/node-22.x branch from ee86eb6 to 39ec297 Compare December 8, 2024 22:38
@renovate renovate Bot force-pushed the renovate/node-22.x branch from 39ec297 to b17310c Compare December 9, 2024 06:07
@renovate renovate Bot force-pushed the renovate/node-22.x branch from b17310c to 7bfbd2c Compare December 11, 2024 15:23
@renovate renovate Bot force-pushed the renovate/node-22.x branch from 7bfbd2c to 6a4d117 Compare January 1, 2025 02:31
@renovate renovate Bot force-pushed the renovate/node-22.x branch from 6a4d117 to 6ce1aa3 Compare January 2, 2025 19:05
@renovate renovate Bot force-pushed the renovate/node-22.x branch from 6ce1aa3 to 7cc9b56 Compare January 3, 2025 06:47
@renovate renovate Bot force-pushed the renovate/node-22.x branch from 7cc9b56 to 4412eb0 Compare January 7, 2025 20:33
@renovate renovate Bot force-pushed the renovate/node-22.x branch from 4412eb0 to 4a6757b Compare January 13, 2025 21:25
@renovate renovate Bot force-pushed the renovate/node-22.x branch from 4a6757b to e1707cc Compare January 16, 2025 01:03
@renovate renovate Bot force-pushed the renovate/node-22.x branch from e1707cc to 585adf3 Compare January 21, 2025 18:24
@renovate renovate Bot force-pushed the renovate/node-22.x branch from 585adf3 to a4e6304 Compare January 23, 2025 05:25
@renovate renovate Bot force-pushed the renovate/node-22.x branch from a4e6304 to a3598dc Compare January 23, 2025 09:51
@renovate renovate Bot force-pushed the renovate/node-22.x branch from a3598dc to 18da0e3 Compare January 23, 2025 23:15
@renovate renovate Bot force-pushed the renovate/node-22.x branch from 18da0e3 to 1ab3536 Compare January 28, 2025 05:00
@renovate renovate Bot force-pushed the renovate/node-22.x branch from 2c3cb67 to d9c6d8a Compare February 28, 2025 23:42
@renovate renovate Bot force-pushed the renovate/node-22.x branch from d9c6d8a to 7396ea9 Compare March 1, 2025 09:55
@renovate renovate Bot force-pushed the renovate/node-22.x branch from 7396ea9 to fb97295 Compare March 3, 2025 11:49
@renovate renovate Bot changed the title Update dependency @types/node to v22 Update Node.js to v22 Mar 3, 2025
@renovate renovate Bot force-pushed the renovate/node-22.x branch from fb97295 to 5fdbf4b Compare March 3, 2025 21:57
@renovate renovate Bot force-pushed the renovate/node-22.x branch from 5fdbf4b to 0f2a24e Compare March 8, 2025 10:33
@renovate renovate Bot force-pushed the renovate/node-22.x branch from 0f2a24e to 7cc3859 Compare March 11, 2025 17:15
@renovate renovate Bot force-pushed the renovate/node-22.x branch from 7cc3859 to 6ee4f68 Compare March 21, 2025 11:27
@renovate renovate Bot force-pushed the renovate/node-22.x branch from 6ee4f68 to c4f2528 Compare March 24, 2025 12:49
@renovate renovate Bot force-pushed the renovate/node-22.x branch from c4f2528 to 72e6839 Compare March 27, 2025 07:10
@renovate renovate Bot force-pushed the renovate/node-22.x branch from 72e6839 to 3752b30 Compare April 1, 2025 06:37
@renovate renovate Bot force-pushed the renovate/node-22.x branch from 3752b30 to 234c284 Compare April 1, 2025 10:18
@renovate renovate Bot force-pushed the renovate/node-22.x branch from 234c284 to bb44281 Compare April 1, 2025 16:55
@renovate renovate Bot force-pushed the renovate/node-22.x branch from bb44281 to dd0570e Compare April 2, 2025 22:35
@renovate renovate Bot force-pushed the renovate/node-22.x branch from dd0570e to 33b392c Compare April 11, 2025 22:11
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.

1 participant