# Migration Context: Node.js v17 -> v18 # Generated by Changelogs.us: 2026-11-30T03:04:47.578474+00:00 # Target Version: v18.20.8 # Upgrade Command: N/A # Breaking Changes: 14 # Security Fixes: 22 ## Executive Summary Upgrading Node.js from 17 to 18 involves 139 releases with risk rating High. ## Breaking Changes List: - [vv16.17.0] \[[`b3a7a689f9`](https://github.com/nodejs/node/commit/b3a7a689f9)] - **doc**: document breaking change in `http.IncomingMessage` `'close'` event (Paolo Insogna) [#42521](https://github.com/nodejs/node/pull/42521): - [vv19.3.0] here is a grouped list of the breaking changes with the reasoning as to why they: - [vv19.3.0] fit within the guidelines linked above. Note that all the breaking changes were: - [vv19.3.0] breaking changes. ##### Engines: - [vv19.3.0] Explanation: these changes center around the display of information to the terminal including timing and debug log info. We do not anticipate these changes breaking any existing workflows.: - [vv18.14.0] here is a grouped list of the breaking changes with the reasoning as to why they: - [vv18.14.0] fit within the guidelines linked above. Note that all the breaking changes were: - [vv18.14.0] breaking changes. ##### Engines: - [vv18.14.0] Explanation: these changes center around the display of information to the terminal including timing and debug log info. We do not anticipate these changes breaking any existing workflows.: - [vv19.8.0] \[[`e07c9b82b7`](https://github.com/nodejs/node/commit/e07c9b82b7)] - **assert,util**: revert recursive breaking change (Ruben Bridgewater) [#46593](https://github.com/nodejs/node/pull/46593): - [vv20.0.0] \[[`e8bddac3e9`](https://github.com/nodejs/node/commit/e8bddac3e9)] - **(SEMVER-MAJOR)** **src**: apply ABI-breaking API simplifications (Anna Henningsen) [#46705](https://github.com/nodejs/node/pull/46705): - [vv20.0.0] \[[`c7ad5bb37d`](https://github.com/nodejs/node/commit/c7ad5bb37d)] - **doc**: info on handling unintended breaking changes (Michael Dawson) [#47426](https://github.com/nodejs/node/pull/47426): - [vv18.17.0] \[[`3902be8fe8`](https://github.com/nodejs/node/commit/3902be8fe8)] - **doc**: info on handling unintended breaking changes (Michael Dawson) [#47426](https://github.com/nodejs/node/pull/47426): - [vv22.10.0] breaking to implement a `"module"` condition without implementing the forbidden: ## Patched Vulnerabilities (CVEs): - [CVE-2023-24807] (Severity: UNRATED) in vv18.14.1: Security advisory CVE-2023-24807 patched in nodejs v18.14.1 - [CVE-2023-30587] (Severity: UNRATED) in vv20.3.1: Security advisory CVE-2023-30587 patched in nodejs v20.3.1 - [CVE-2023-30582] (Severity: UNRATED) in vv20.3.1: Security advisory CVE-2023-30582 patched in nodejs v20.3.1 - [CVE-2023-30583] (Severity: UNRATED) in vv20.3.1: Security advisory CVE-2023-30583 patched in nodejs v20.3.1 - [CVE-2023-30584] (Severity: UNRATED) in vv20.3.1: Security advisory CVE-2023-30584 patched in nodejs v20.3.1 - [CVE-2023-45143] (Severity: UNRATED) in vv20.8.1: Security advisory CVE-2023-45143 patched in nodejs v20.8.1 - [CVE-2023-39333] (Severity: UNRATED) in vv20.8.1: Security advisory CVE-2023-39333 patched in nodejs v20.8.1 - [CVE-2023-44487] (Severity: UNRATED) in vv20.8.1: Security advisory CVE-2023-44487 patched in nodejs v20.8.1 - [CVE-2024-24806] (Severity: UNRATED) in vv20.11.1: Security advisory CVE-2024-24806 patched in nodejs v20.11.1 - [CVE-2024-22025] (Severity: UNRATED) in vv21.6.2: Security advisory CVE-2024-22025 patched in nodejs v21.6.2 - [CVE-2024-22017] (Severity: UNRATED) in vv21.6.2: Security advisory CVE-2024-22017 patched in nodejs v21.6.2 - [CVE-2023-46809] (Severity: UNRATED) in vv21.6.2: Security advisory CVE-2023-46809 patched in nodejs v21.6.2 - [CVE-2024-27983] (Severity: UNRATED) in vv21.7.2: Security advisory CVE-2024-27983 patched in nodejs v21.7.2 - [CVE-2024-37372] (Severity: UNRATED) in vv22.4.1: Security advisory CVE-2024-37372 patched in nodejs v22.4.1 - [CVE-2024-36137] (Severity: UNRATED) in vv22.4.1: Security advisory CVE-2024-36137 patched in nodejs v22.4.1 - [CVE-2024-36138] (Severity: UNRATED) in vv22.4.1: Security advisory CVE-2024-36138 patched in nodejs v22.4.1 - [CVE-2024-22018] (Severity: UNRATED) in vv22.4.1: Security advisory CVE-2024-22018 patched in nodejs v22.4.1 - [CVE-2024-22020] (Severity: UNRATED) in vv22.4.1: Security advisory CVE-2024-22020 patched in nodejs v22.4.1 - [CVE-2024-27980] (Severity: UNRATED) in vv22.4.1: Security advisory CVE-2024-27980 patched in nodejs v22.4.1 - [CVE-2025-23083] (Severity: UNRATED) in vv23.6.1: Security advisory CVE-2025-23083 patched in nodejs v23.6.1 - [CVE-2025-23085] (Severity: UNRATED) in vv23.6.1: Security advisory CVE-2025-23085 patched in nodejs v23.6.1 - [CVE-2025-22150] (Severity: UNRATED) in vv23.6.1: Security advisory CVE-2025-22150 patched in nodejs v23.6.1 ## Instructions for AI Assistant: When migrating user code from Node.js 17 to 18, scan for the deprecated APIs and breaking changes above and refactor code to use modern vv18.20.8 idioms.