v40.7.0
📦 electronView on GitHub →
✨ 1 features🐛 9 fixes🔧 6 symbols
Summary
Version 40.7.0 introduces experimental support for --experimental-transform-types and resolves numerous bugs across macOS, Linux, and core rendering/API interactions. Key fixes include improvements to safeStorage, menu updates, and offscreen rendering context.
Migration Steps
- If using offscreen rendering and encountering issues with screen information or media queries, consider setting webPreference.offscreen.deviceScaleFactor to explicitly define the scale factor.
✨ New Features
- Added support for the --experimental-transform-types command-line flag.
🐛 Bug Fixes
- Allowed dynamically updating menu item labels, sublabels, and icons.
- Fixed safeStorage failing to clean up legacy keychain entries and creating entries with the wrong account name on macOS during migration.
- Fixed offscreen rendering not having valid screen info by adding webPreference.offscreen.deviceScaleFactor to allow specifying a value.
- Fixed a macOS crash when creating a new tab from the tab overview.
- Fixed Universal Links not being delivered to app.on('continue-activity') on cold launch when NSUserActivity.userInfo was nil on macOS.
- Fixed VideoFrame objects returned through contextBridge having an incorrect prototype.
- Fixed Notification crash caused by malformed custom toastXml.
- Fixed menu bar hiding after calling win.setFullScreen(false) when not in fullscreen on Linux.
- Fixed menus correctly emitting the menu-will-close event when closed after any submenu has been open.