Skip to content

chore(deps): update node.js to v22 #41

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: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 8, 2024

This PR contains the following updates:

Package Type Update Change Age Confidence
node (source) major 20.12.2 -> 22.17.1 age confidence
node (source) volta major 20.12.2 -> 22.17.1 age confidence
node (source) engines major 20.12.2 -> 22.17.1 age confidence
@types/node (source) devDependencies major ^20 -> ^22.0.0 age confidence
node final major 20-alpine -> 22-alpine age confidence

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 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.

@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from 1f42432 to a7bd289 Compare December 8, 2024 22:17
@renovate renovate bot force-pushed the renovate/node-22.x branch from a7bd289 to 661ca3a Compare December 19, 2024 19:26
@pooriaset pooriaset force-pushed the main branch 6 times, most recently from aa55755 to ca40c26 Compare December 30, 2024 14:17
@renovate renovate bot force-pushed the renovate/node-22.x branch from 661ca3a to ceedd3b Compare January 4, 2025 06:51
@trag-bot trag-bot bot changed the title chore(deps): update node.js to v22 chore(deps): update node.js to v22 | Update Node.js to version 22 and dependencies Jan 4, 2025
@renovate renovate bot force-pushed the renovate/node-22.x branch from ceedd3b to e075173 Compare January 8, 2025 15:37
@renovate renovate bot changed the title chore(deps): update node.js to v22 | Update Node.js to version 22 and dependencies chore(deps): update node.js to v22 Jan 8, 2025
@trag-bot trag-bot bot changed the title chore(deps): update node.js to v22 chore(deps): update node.js to v22 | Update Node.js version to 22.13.0 across project Jan 8, 2025
@renovate renovate bot changed the title chore(deps): update node.js to v22 | Update Node.js version to 22.13.0 across project chore(deps): update node.js to v22 Jan 8, 2025
@renovate renovate bot force-pushed the renovate/node-22.x branch from e075173 to e36385a Compare January 9, 2025 15:05
@trag-bot trag-bot bot changed the title chore(deps): update node.js to v22 chore(deps): update node.js to v22 | Update Node.js version to 22.13.0 across project Jan 9, 2025
@renovate renovate bot force-pushed the renovate/node-22.x branch from e36385a to 08921d1 Compare January 21, 2025 17:16
@renovate renovate bot changed the title chore(deps): update node.js to v22 | Update Node.js version to 22.13.0 across project chore(deps): update node.js to v22 Jan 21, 2025
@trag-bot trag-bot bot changed the title chore(deps): update node.js to v22 chore(deps): update node.js to v22 | Update Node.js version to 22.13.1 across project Jan 21, 2025
@renovate renovate bot changed the title chore(deps): update node.js to v22 | Update Node.js version to 22.13.1 across project chore(deps): update node.js to v22 Jan 21, 2025
@renovate renovate bot force-pushed the renovate/node-22.x branch from 08921d1 to 1fe4135 Compare February 11, 2025 17:27
Copy link

@trag-bot trag-bot bot changed the title chore(deps): update node.js to v22 chore(deps): update node.js to v22 | Update Node.js to v22 and align dependencies Feb 11, 2025
@renovate renovate bot changed the title chore(deps): update node.js to v22 | Update Node.js to v22 and align dependencies chore(deps): update node.js to v22 Feb 11, 2025
@renovate renovate bot changed the title chore(deps): update node.js to v22 chore(deps): update dependency @types/node to v22 Feb 19, 2025
@renovate renovate bot changed the title chore(deps): update dependency @types/node to v22 chore(deps): update node.js to v22 Mar 3, 2025
@renovate renovate bot force-pushed the renovate/node-22.x branch from 1fe4135 to 4a4ba74 Compare April 23, 2025 07:47
@trag-bot trag-bot bot changed the title chore(deps): update node.js to v22 chore(deps): update node.js to v22 | Update Node.js to version 22 and dependencies Apr 23, 2025
@renovate renovate bot changed the title chore(deps): update node.js to v22 | Update Node.js to version 22 and dependencies chore(deps): update node.js to v22 Apr 23, 2025
@renovate renovate bot force-pushed the renovate/node-22.x branch from 4a4ba74 to df8608c Compare May 14, 2025 22:52
@trag-bot trag-bot bot changed the title chore(deps): update node.js to v22 chore(deps): update node.js to v22 | Update Node.js version to 22.15.1 and dependencies May 14, 2025
@renovate renovate bot changed the title chore(deps): update node.js to v22 | Update Node.js version to 22.15.1 and dependencies chore(deps): update node.js to v22 May 15, 2025
@renovate renovate bot force-pushed the renovate/node-22.x branch from df8608c to 0120c0d Compare May 21, 2025 19:36
@trag-bot trag-bot bot changed the title chore(deps): update node.js to v22 chore(deps): update node.js to v22 | Update Node.js to v22 and dependencies May 21, 2025
@renovate renovate bot changed the title chore(deps): update node.js to v22 | Update Node.js to v22 and dependencies chore(deps): update node.js to v22 May 21, 2025
@renovate renovate bot force-pushed the renovate/node-22.x branch from 0120c0d to e237cde Compare June 25, 2025 02:46
@trag-bot trag-bot bot changed the title chore(deps): update node.js to v22 chore(deps): update node.js to v22 | Update Node.js to v22 for improved compatibility Jun 25, 2025
@renovate renovate bot changed the title chore(deps): update node.js to v22 | Update Node.js to v22 for improved compatibility chore(deps): update node.js to v22 Jun 25, 2025
@renovate renovate bot force-pushed the renovate/node-22.x branch from e237cde to 8c11db3 Compare July 15, 2025 23:09
Copy link

@trag-bot trag-bot bot changed the title chore(deps): update node.js to v22 chore(deps): update node.js to v22 | Update Node.js to v22 for improved compatibility Jul 15, 2025
Copy link

trag-bot bot commented Jul 15, 2025

Pull request summary

  • Updated Node.js version in .nvmrc from 20.12.2 to 22.17.1.
  • Changed the base image in Dockerfile from node:20-alpine to node:22-alpine.
  • Updated @types/node version in package.json from ^20 to ^22.0.0.
  • Modified the engines section in package.json to reflect the new Node.js version 22.17.1.
  • Updated volta configuration in package.json to use Node.js version 22.17.1.
  • Added new @types/node version 22.16.4 in yarn.lock to support the updated type definitions.
  • Updated all references to @types/node in yarn.lock to ensure compatibility with version ^22.0.0.
  • Introduced undici-types version 6.21.0 in yarn.lock as a dependency for the new @types/node.
  • Ensured all dependencies are aligned with the new Node.js version to prevent compatibility issues.

@renovate renovate bot changed the title chore(deps): update node.js to v22 | Update Node.js to v22 for improved compatibility chore(deps): update node.js to v22 Jul 16, 2025
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