Skip to content

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

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/node-22.x
Closed

chore(deps): update node.js to v22#1187
renovate[bot] wants to merge 1 commit intomainfrom
renovate/node-22.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 28, 2024

This PR contains the following updates:

Package Type Update Change Age Confidence
node (source) major 20 -> 22 age confidence
@types/node (source) devDependencies minor 22.13.4 -> 22.16.5 age confidence
node stage 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 from 88a9b3d to faa5a71 Compare October 29, 2024 01:00
@renovate renovate bot changed the title chore(deps): update dependency @types/node to v22.8.2 chore(deps): update node.js to v22 Oct 29, 2024
@renovate renovate bot force-pushed the renovate/node-22.x branch from faa5a71 to 5f35d0f Compare October 29, 2024 17:45
@renovate renovate bot changed the title chore(deps): update node.js to v22 chore(deps): update dependency node to v22 Oct 29, 2024
@renovate renovate bot force-pushed the renovate/node-22.x branch 6 times, most recently from ea0221a to 586a244 Compare November 7, 2024 04:56
@renovate renovate bot changed the title chore(deps): update dependency node to v22 chore(deps): update node.js to v22 Nov 13, 2024
@renovate renovate bot force-pushed the renovate/node-22.x branch 7 times, most recently from ff8a8ae to b864df4 Compare November 26, 2024 05:00
@renovate renovate bot force-pushed the renovate/node-22.x branch 4 times, most recently from 1915963 to 33d7b21 Compare December 4, 2024 10:59
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from 27b912e to fbcb863 Compare December 11, 2024 09:48
@renovate renovate bot force-pushed the renovate/node-22.x branch 3 times, most recently from 27e85e2 to 11ebe01 Compare January 3, 2025 07:43
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from 965974a to 879bc95 Compare January 16, 2025 04:52
@renovate renovate bot force-pushed the renovate/node-22.x branch from 879bc95 to a5149a0 Compare January 23, 2025 05:11
@renovate renovate bot force-pushed the renovate/node-22.x branch 7 times, most recently from 13e1fda to fda535b Compare May 8, 2025 14:58
@renovate renovate bot force-pushed the renovate/node-22.x branch 3 times, most recently from 5907db7 to b039e2b Compare May 20, 2025 23:47
@renovate renovate bot force-pushed the renovate/node-22.x branch 5 times, most recently from b199551 to 1bf2382 Compare May 30, 2025 18:45
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from 9281189 to 6130f6f Compare June 10, 2025 08:31
@renovate renovate bot force-pushed the renovate/node-22.x branch from 6130f6f to a2efe3d Compare June 16, 2025 09:48
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from ab30a04 to 4a4015e Compare June 28, 2025 10:09
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from 2675179 to 54a9867 Compare July 8, 2025 22:13
@renovate renovate bot force-pushed the renovate/node-22.x branch 5 times, most recently from 9f3999c to 04ff963 Compare July 15, 2025 07:41
@renovate renovate bot force-pushed the renovate/node-22.x branch from 04ff963 to 219b474 Compare July 19, 2025 06:58
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