Electron v9.0.0 Release Notes

Release Date: 2020-05-19 // almost 4 years ago
  • ๐Ÿš€ Release Notes for 9.0.0

    โฌ†๏ธ Stack Upgrades

    ๐Ÿ’ฅ Breaking Changes

    • ๐Ÿ”„ Changed the default value of app.allowRendererProcessReuse to true. This will prevent loading of non-context-aware native modules in renderer processes. (See #18397 for more information on this change.) #22401
    • โœ‚ Removed deprecated <webview>.getWebContents(). #20986
    • โœ‚ Removed the deprecated 'setLayoutZoomLevelLimits' method. #21383
    • ๐Ÿ‘ฏ IPC between main and renderer processes now uses the Structured Clone Algorithm. #20214
    • ๐Ÿ”€ Split shell.openItem(path) into synchronous and asynchronous methods. #20682

    ๐Ÿ”‹ Features

    • โž• Added fullScreen property support for BrowserWindows. #23330
    • โž• Added session.listWordsFromSpellCheckerDictionary API to list custom words in the dictionary. #22128
    • โž• Added session.removeWordFromSpellCheckerDictionary API to remove custom words in the dictionary. #22368
    • โž• Added session.serviceWorkerContext API to access basic service worker info and receive console logs from service workers. #22313
    • โž• Added a new force parameter to app.focus() on macOS to allow apps to forcefully take focus. #23447
    • โž• Added chrome.i18n extension API. #22570
    • โž• Added chrome.tabs.connect extension API for background pages. #22549
    • โž• Added support for property access to some getter/setter pairs on BrowserWindow. #23208
    • Added support for the chrome.extension.getBackgroundPage API when building with enable_electron_extensions. #22177
    • ๐Ÿ‘ Allow an optional callback parameter for WebFrame.executeJavaScript* methods, which is called synchronously unless the target context is paused. #22501
    • โช Restored support for pdfium-based PDF viewer. #22131

    ๐Ÿ›  Fixes

    • Don't allow window to go behind menu bar on mac. #22828
    • ๐Ÿ›  Fixed webRequest module not working with file:// protocol. #22919
    • ๐Ÿ›  Fixed webRequest not working for CORS requests. #22468
    • ๐Ÿ›  Fixed win.setMenuBarVisibility(false) not hiding menu bar. #23263
    • ๐Ÿ›  Fixed an issue where changing theme on macOS would break window maximizability state. #22724
    • ๐Ÿ›  Fixed crash in network service process when using protocol.registerSchemeAsPrivileged api. #22917
    • ๐Ÿ›  Fixed crash that could occur when calling session.fromPartition inside the ready event. #23472
    • ๐Ÿ›  Fixed incorrect hit testing on top of ::after element with layoutNG. #23190
    • ๐Ÿ›  Fixed missing debug symbols for crashpad handler on macOS. #23573
    • ๐Ÿ›  Fixed possible freeze on window with disabled background throttling. #22852
    • ๐Ÿ›  Fixed the print button functionality in the PDF viewer extension. #23173
    • Limited manipulation of custom spellchecker dictionary words to persistent sessions. #22683
    • โœ‚ Removed extraneous crashpad_handler binary from the Linux distribution files. #23575
    • ๐Ÿง crashReporter is now explicitly initialized only in the main process, and implicitly initialized in other child processes. This fixes an issue preventing the crash reporter from functioning in sandboxed renderers on Linux. #23461
    • ๐Ÿ›  Fixed broken Views API builds. #22642

    ๐ŸŽ Performance

    • ๐Ÿ‘Œ Improved window events handler efficiency on Linux. #23260
    • ๐Ÿง Made setting window icons slightly faster on Linux. #22736