Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

macOS future strategy

未关闭
#4,317 11 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
macos

调研方向

从这个 issue 和链接的 PR #63055 开始,审查此处所述的当前 macOS package 和 release 方案。根据 Node.js 28 以及所述的 Apple 限制,评估提议的 Node.js 27 时间安排。项目就 universal pkg 和 x64 支持达成一致策略后,即视为完成。

由索引模型根据 Issue 内容生成。

描述

platform:macos

Currently the project builds three macOS packages available to download from nodejs.org:

  • macOS arm64 tarball
  • macOS x64 tarball
  • macOS universal binary pkg (i.e. the same installer installs either arm64 or x64).

To build the pkg we build Node.js twice on an arm64 macOS VM:

  • Once for x64 under Rosetta 2
  • Once for arm64 (native)

and then combine the two into the pkg, sign/notarize.

Apple have announced that the last release of macOS that will support Rosetta 2 will be macOS 27. That's the version two on from what we're currently on (macOS 15 -- Apple renumbered so the sequence goes macOS 15, macOS 26, macOS 27). The same Apple announcement said that the last macOS version to support x64 is Tahoe (26).

So we have two decisions:

  1. At some point we make the pkg builds arm64 only (as we currently need Rosetta 2 to build those without significant rework of how the releases are done).
  2. At some point we will need to drop the x64 macOS version of Node.js completely.

Planning is a little difficult with macOS because Apple do not usually announce End-of-Life dates... they just stop releasing after a while. Also they have made changes before around signing/gatekeeper which forced Xcode updates that in turn forced macOS version updates. So there's a large element of "our best guess" when trying to work out what we're likely to be able to support for the duration of a Node.js release line.

Starting the discussion now as I think our preference would be to make changes on semver major boundaries (unless Apple forces our hand as with the previously mentioned signing/gatekeeper change). So discuss first wrt. Node.js 27 (2027) and if we decide that is too soon, switch focus to Node.js 28 etc.

Refs: https://github.com/nodejs/node/pull/63055

主要语言
Jinja
星标
541
派生
185
平均合并
2 天 18 小时
30 天内合并 PR
6

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nodejs/build 的其他 Issue

查看 nodejs/build 的全部 Issue

相似的 Issue

更多 Build System Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。