Release Notes for v4.1.2
Fixes
- Added missing buffer size check in
nativeImage.createFromBuffer
/nativeImage.addRepresentation
. Data URLs only parsed according to the MIME type as PNG or JPEG. #17567 - Added support for testing the new Japanese Era with a placeholder era name. Set an environment variable named
ICU_ENABLE_TENTATIVE_ERA
to true to enable the placeholder era. #17518 - Fixed an issue whereby foreground visibility of a window was not correctly taken into account for
win.isVisible()
on macOS. #17492 - Fixed an issue with netLog module properties not being returned correctly. #17544
- Fixed issue on KDE where tray icons would be displayed incorrectly as a 22x22 version of the provided tray image but cropped from the center. #17497
- Fixed issue where preload scripts would sometimes run twice in the same process in different contexts resulting in broken native node module loading. #17596
- Generated
.framework
files on macOS now have the correct permissions. This fixes an issue where a crash occurred if a user attempted to launch an Electron app that another user downloaded on macOS. #17582
Documentation
- Documentation changes: #17494