Electron v40.9.0
Release Notes
Features
Added
allowExtensionsprivilege toprotocol.registerSchemesAsPrivileged()to enable Chrome extensions on custom protocols. #50588 (Also in 41, 42)
Fixes
Fixed
fs.staton files inside asar archives returningundefinedforblksizeandblocksinstead of numeric values. #50875 (Also in 41, 42)Fixed a memory leak where Menu items were not cleaned up after Menu.setApplicationMenu was called repeatedly. #50831 (Also in 41, 42)
Fixed an intermittent
Invoke in DisallowJavascriptExecutionScopecrash on application quit when aWebContents(or other JS-emitting native object) is garbage-collected during shutdown. #50693 (Also in 41, 42)Fixed an issue on macOS where
show/hideevents andWebContentsvisibility state could be reported incorrectly when multipleWebContentsViews were attached to a window. #50713 (Also in 41, 42)Fixed an issue where DevTools would re-attach to the window when opened after previously being detached. #50817 (Also in 39, 41, 42)
Fixed an issue where
setSimpleFullScreenon macOS would exit when web content calledrequestFullscreen(). #50986 (Also in 42)Fixed an issue where concurrent
getFileHandlerequests on the same path could stall indefinitely. #50672 (Also in 41, 42)Fixed aspect ratio min/max size clamping to correctly account for extraSize on macOS. #50834 (Also in 41, 42)
Fixed the crash keys being lost and the crash reporter hanging on macOS when many dynamic crash keys were registered. #50838 (Also in 41, 42)
Moved Electron-specific help menu links to the default app only; unpackaged apps will no longer see these items in their default menu. #50860 (Also in 41, 42)