chore(deps): upgrade Node.js to v24#48
Closed
tznthou wants to merge 1 commit into
Closed
Conversation
- .node-version 22 -> 24 - package.json engines: <23.0.0 -> <25.0.0 - CI workflows setup-node 20 -> 24 (ci.yml, electron-smoke.yml, release.yml) Node 24 is Active LTS; Electron 41 already bundles Node 24, so dev/CI now aligns with the runtime's built-in Node, and node 20 has reached EOL. better-sqlite3 goes through electron-rebuild (Electron ABI, decoupled from the environment node ABI), and every workflow already pins Python 3.11 for the node-gyp fallback path, so native build risk is covered. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Owner
Author
|
暫緩 node 24 升級。 根因:node 24 + electron 41.7.0 在 linux/windows 的 postinstall「Done」卻不生成 path.txt(electron 套件 install.js × node 24 上游 bug,參見 electron/electron#49983 類問題,OPEN 未修),導致 評估:升 node 非硬需求 —— app runtime 用 Electron 41 內建 node,與 CI/開發環境 node 完全解耦;node 20 EOL 僅影響 CI build 環境(短暫、不對外),實際風險極低;目前 node 20 CI 全綠。 決定:暫緩,維持 CI node 20。待 electron 修上游 bug 或有實際 dep 需求再升。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
升級 Node.js v20/22 → v24,Renovate 第二波第二輪的綠燈項目之二。
改動(7 處 / 5 檔,純版本宣告)
.node-version22 → 24package.jsonengines<23.0.0→<25.0.0'20'→'24':ci.yml(lint-typecheck + test)、electron-smoke.yml、release.yml(macOS + Windows)為何低風險
electron-rebuild(Electron ABI,與環境 node ABI 脫鉤)驗證
🤖 Generated with Claude Code