#49444: revert: use deprecated setAllowedFileTypes in macOS dialogs
Merged
Description of Change
Closes #48191
Fixes some issues with file type recognition owing to the new UTType conformance-based matching. Chrome also tried to update this and ran into the same issues and fell back. See this comment for longer explanation. We should follow Chrome's lead here.
Checklist
- PR description included
-
npm testpasses - PR release notes describe the change in a way relevant to app developers, and are capitalized, punctuated, and past tense.
Release Notes
Notes: Fixed an issue where some packages weren't correctly filtered on macOS in dialogs.
Backports
41-x-y
MergedPR Number
#49470Merged At
Jan 21, 2026, 10:57:40 AM
Released In
v41.0.0-alpha.2Release Date
Jan 22, 2026, 7:33:39 AM
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