Release Notes for 9.0.0
Stack Upgrades
- Chromium v83.0.4103.50
- Node v12.14.1
- V8
8.3
Breaking Changes
- Changed the default value of
app.allowRendererProcessReuse
totrue
. 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 forBrowserWindow
s. #23330 - Added
session.listWordsInSpellCheckerDictionary
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 toapp.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 withfile://
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