VerteDinde

#49697: fix: restore macos 12 support in Node 24

Merged
Created: Feb 5, 2026, 5:39:27 PM
Merged: Feb 6, 2026, 9:48:38 AM
3 comments
Target: main

Description of Change

Addresses #49691
Ref nodejs/node@8b40221

This PR fixes an unintentional/unannounced breaking change, where certain native modules would no longer build for MacOS 12 (which has been EOL'ed by Apple and Node). Electron will follow Chromium's lead and deprecate MacOS 12 with M151 (see https://crbug.com/473856753), and so we should allow for building until then.

This patch can be removed at the M151 branch point.

Checklist

Release Notes

Notes: Fixed an issue where native modules would either crash or not compile for MacOS 12.

Backports

40-x-y
In-flight
PR Number
#49702
Waiting to be merged
41-x-y
In-flight
PR Number
#49703
Waiting to be merged

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron