Skip to content

Update Node.js to v22 #300

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: 1.29.x
Choose a base branch
from
Open

Update Node.js to v22 #300

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 26, 2024

This PR contains the following updates:

Package Type Update Change
node (source) engines major ^21.7.0 -> ^22.0.0

Release Notes

nodejs/node (node)

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 is behind base branch, 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

Read more information about the use of Renovate Bot within Laminas.

@renovate renovate bot added the renovate label Apr 26, 2024
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from 3e0a5a4 to db48266 Compare May 5, 2024 18:05
@renovate renovate bot changed the base branch from 1.26.x to 1.27.x May 5, 2024 18:11
@renovate renovate bot force-pushed the renovate/node-22.x branch from db48266 to e65873d Compare May 16, 2024 19:10
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from 4d36409 to f994fcf Compare June 17, 2024 11:02
@renovate renovate bot force-pushed the renovate/node-22.x branch from f994fcf to 32d5b67 Compare June 22, 2024 02:21
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from 73bc290 to 5117205 Compare July 9, 2024 16:46
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from 9663b40 to 5c47d79 Compare July 19, 2024 22:12
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from 515e9c7 to 1161b26 Compare July 30, 2024 16:59
@renovate renovate bot changed the base branch from 1.27.x to 1.28.x July 30, 2024 17:05
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from a4b25bb to 69ad362 Compare August 8, 2024 11:34
@renovate renovate bot force-pushed the renovate/node-22.x branch from 69ad362 to 54e8880 Compare August 23, 2024 00:45
@renovate renovate bot force-pushed the renovate/node-22.x branch 3 times, most recently from bb515a2 to 9294953 Compare September 10, 2024 21:13
@renovate renovate bot force-pushed the renovate/node-22.x branch from 9294953 to 19071a1 Compare September 18, 2024 04:40
@renovate renovate bot force-pushed the renovate/node-22.x branch from 19071a1 to 7c1ab46 Compare September 26, 2024 16:07
@renovate renovate bot changed the title Update node Docker tag to v22 Update dependency @types/node to v22 Oct 17, 2024
@renovate renovate bot force-pushed the renovate/node-22.x branch from 7c1ab46 to 9fdc11b Compare October 29, 2024 14:45
@renovate renovate bot changed the title Update dependency @types/node to v22 Update Node.js to v22 Oct 29, 2024
@renovate renovate bot force-pushed the renovate/node-22.x branch from 9fdc11b to 6aba13d Compare November 23, 2024 22:21
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from e934888 to d4a5d17 Compare December 9, 2024 21:14
@renovate renovate bot changed the base branch from 1.28.x to 1.29.x December 10, 2024 01:16
@renovate renovate bot force-pushed the renovate/node-22.x branch 3 times, most recently from 43ae047 to 099a1cf Compare January 17, 2025 11:32
@renovate renovate bot force-pushed the renovate/node-22.x branch from 099a1cf to aeb7069 Compare March 2, 2025 01:53
| datasource   | package | from    | to       |
| ------------ | ------- | ------- | -------- |
| node-version | node    | v21.7.3 | v22.18.0 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/node-22.x branch from aeb7069 to 5aabd3d Compare August 1, 2025 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants