Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

macOS future strategy

Đang mở
#4,317 11 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
macos

Hướng nghiên cứu

Bắt đầu với issue này và PR #63055 được liên kết, xem xét cách tiếp cận hiện tại đối với package và release macOS được mô tả ở đây. Đánh giá thời điểm đề xuất cho Node.js 27 so với Node.js 28 và các ràng buộc Apple đã nêu. Được xem là hoàn thành khi dự án có một chiến lược đã thống nhất cho universal pkg và hỗ trợ x64.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Jinja
Star
541
Fork
185
Merge trung bình
2 ngày 18 giờ
Pull request đã merge (30 ngày)
6

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nodejs/build

Tất cả issue của nodejs/build

Issue tương tự

Thêm issue về Build System

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.