electron-bot
released this
Release Notes for v5.0.1
Fixes
- Fixed
fs.promisesAPIs not working with ASAR paths. #18115 - Fixed an issue on Windows where calling
.show()on a BrowserWindow did not focus the window. #18080 - Fixed crash when Electron run from SMB network share. #17908
- Fixed crash when quitting Electron with an inspector attached. #18076
- Removed non-existent
gpu-crashedevent on<webview>. #18004
Other Changes
Assets
51
Release Notes for v4.2.0
This release is a minor bump as it contains exactly one new feature. app.userAgentFallback, this feature is outlined below along with the other fixes and changes that went into this release. The 4.2.x series is now only release line in the 4.x.y major release line that will receive bug fixes and security fixes. It is recommended you upgrade to 4.2.x.
Features
- Added new
app.userAgentFallbackproperty to allow setting the apps useragent globally. #18110
Fixes
- Fixed an issue on Windows where calling
.show()on a BrowserWindow did not focus the window. #18079 - Fixed issue where you couldn't respond to stream protocol requests with multiple values for the same header. #18094
Other Changes
- Removed Vulkan validation layers DLLs from electron.zip, which are only meant to be used for Chromium development. #18060
Assets
51
Bug Fixes/Changes
-
fix: report module name when require fails in sandboxed renderers. #17703
-
docs: note desktop audio limitation on macOS. #17816
-
fix: emit process 'loaded' event in sandboxed renderers. #17809
-
fix: reset the NSUserNotication handle on dismiss. #17820
-
chore: bump libcc (3-1-x). #17850
-
fix: copy pixels in AddImageSkiaRepFromBuffer (#17843). #17861
Assets
51
electron-bot
released this
Note: This is a beta release. Please file new issues for any bugs you find in it.
This release is published to npm under the beta tag and can be installed via npm install electron@beta, or npm i electron@6.0.0-beta.1.
Release Notes for v6.0.0-beta.1
Breaking Changes
- Fixed disparity between
netmodule headers and Node.js'http.IncomingMessageheaders. #17517 - Made
ShowItemInFolderasynchronous with no return value. #17121 - Made app log directory creation opt-in with a new function
app.setAppLogsPath. #17841 - Upgraded to Chromium 76.0.3774.1
Features
- Added Promise support for the Cookies API. #16464
- Added
chrome.runtime.getManifestAPI for Chrome extensions. #16891 - Added
<webview>.getWebContentsId(), which does not depend of theremotemodule. #17407 - Added
all_framessupport for Chrome extension content scripts. #17258 - Added
disableHtmlFullscreenWindowResizeoption towebPreferencesto allow preventing window from resizing when entering HTML5 fullscreen. #17203 - Added
excludedFromShownWindowsMenuproperty to allow for windows to be excluded from the windows menu. #17404 - Added
process.getSystemVersion(), which is available in sandboxed renderers and returns the actual operating system version instead of kernel version on macOS. #16599 - Added
process.versions.electronto get the electron version in the forked process. #16450 - Added
renderer-process-crashedevent toapp, which is emitted when any renderer process crashes. #17315 - Added
systemPreferences.getAnimationSettings()returning system animation settings provided by Chromium. #17382 - Added
tray.getTitle()to allows users to see the title set next to the status bar icon on macOS. #17385 - Added a new Event property
triggeredByAccelerator, which is called back in customclickevents onMenuItems. #16954 - Added ability disable fetching thumbnails for in
desktopCapturer.getSources(). #14906 - Added additional error information to errors thrown when using the
remotemodule. #17851 - Added an option to enable
MenuItemson macOS to work optionally whenvisible: false. #16853 - Added file preview for file picker in Linux. #16447
- Added flexible autoresize option for
BrowserViews inBrowserWindow. #16184 - Added native Touch ID authentication support for macOS. #16707
- Added new
monochrome,internal,acceleratorEnabled,colorDepthanddepthPerComponentproperties to the Display API Structure. #16870 - Added new inspectSharedWorker() API to enable opening devtools for a shared worker. #16615
- Added safer
nativeImage.createFromBitmap(), which does not decode PNG/JPEG. #17337 - Added support for Scroll Lock accelerator. #16873
- Added world isolation to Chrome extension content scripts. #17032
- Converted
app.dock.show()such that it now returns a Promise. #16904 - Converted
contentTracing.getCategories()to return a promise instead taking a callback. #16583 - Converted
contentTracing.getTraceBufferUsage()to return a Promise instead of taking a callback. #16600 - Converted
contents.executeJavaScript(),webFrame.executeJavaScript(),webFrame.executeJavaScriptInIsolatedWorld()andwebviewTag.executeJavaScript()to return Promises instead of taking callbacks. #17312 - Converted
dialog.showCertificateTrustDialog()to return a Promise instead of taking a callback. #17181 - Converted
netLog.stopLogging()to return a Promise instead of taking a callback. #16862 - Converted
session.clearAuthCache()to return a promise instead of optionally taking a callback. #17259 - Converted
session.clearHostResolverCache()to return a Promise instead of taking a callback. #17229 - Converted
session.clearStorageData()such that it returns a Promise instead of taking a callback. #17249 - Converted
session.getBlobData()to return a Promise instead of taking a callback. #17303 - Converted
session.getCacheSize()andsession.clearCache()to return promises instead of taking callbacks. #17185 - Converted
session.setProxy()andsession.resolveProxy()to return Promises instead of taking callbacks. #17222 - Converted
webContents.hasServiceWorker()to return a promise instead of taking a callback. #16535 - Converted
webContents.printToPDF()to return a Promise instead of taking a callback. #16795 - Converted
webContents.savePage()to return a Promise instead of taking a callback. #16742 - Enabled
NodeIntegrationInSubFramesoption usage forwebviewtags. #17226 - Exposed
colorSpaceto theDisplayobject. #17405 - Feat: add native emoji and color picker methods for Windows and MacOS. #17359
- Fixed Chrome extension content scripts not loading in sandboxed renderer. #16218
- For security reasons, preload scripts can now only be loaded from a subpath of app path (
app.getAppPath()). #17308 - Implemented
BrowserWindow.moveTop()on Linux/x11. #16629 - Moved
webFramecustom scheme APIs to browser process underprotocol. #16416 - Process now emits 'loaded' event in sandboxed renderers. #17680
- Promisified
inAppPurchase.getProducts()andinAppPurchase.purchaseProduct(). #17355 - Replaced
powerMonitorquerySystemIdleStateandquerySystemIdleTimewith synchronous APIs. #17144 - Split
dialog.showMessageBox()into a synchronous version and a version that returns a Promise. #17298 - Split
dialog.showOpenDialog()into a synchronous version and a version that returns a Promise. #16973 - Split
dialog.showSaveDialog()into a synchronous version and a version that returns a Promise. #17054
Fixes
- Added missing module name to the exception message thrown when
requirefails in sandboxed renderers. #17413 - DevTools Extensions now load correctly. #17614
- Enabled autofill popups on Mac. #16308
- Ensured that
webContents.hasServiceWorker()rejects with an error for invalid URLs. #16571 - Fixed
beginFrameSubscriptionreturning blurred images on HiDPI displays. #17444 - Fixed
webFrame.setSpellCheckProvidermemory leak. #16448 - Fixed a crash when failed to get devices in desktopCapturer on Windows. #17973
- Fixed a possible crash on exit. #17879
- Fixed an issue preventing the Flash plugin from loading on Linux. #17823
- Fixed crash when Electron run from SMB network share. #17909
- Fixed inconsistent behavior where modifying the buffer would change
nativeImagepixels, while decoded PNG / JPEG data is a copy. #17843 - Fixed issue where sandboxed renderers could sometimes leak globals outside of the preload script. #17712
- Fixed offscreen rendering not working with viz compositor. #17538
- Fixed race condition where the
remotemodule would sometimes fail to fetch properties of a remote object. #17464 - Fixed the callback of
beginFrameSubscriptionpassingBufferinstead ofNativeImage. #17548 - Focus methods no longer steal focus when users are active on other apps. #16400
- Improved the way frameless windows are handled on Windows. #16596
- Injected chrome extensions that have content scripts with a
.in thepatternfield now treat it as a raw.instead of a wildcard. #17593 - No-notes. #17214
- Removed non-existent
gpu-crashedevent on<webview>. #17317 - Updated the
protocol.registerSchemesAsPrivilegedAPI options key. #16601 - Using
webContents.sendInputEventto send aWebMouseWheelEventnow has the expected effect. #17757
Other Changes
- no-notes. #16552
- Converted
accessibilitySupportEnabledto a proper JS property onapp. #17362 - Converted
applicationMenuto a proper JS property on theappmodule. #17361 - Enabled
sandboxand disabledremotemodule in default_app. #17318 - Enabled sandboxing of devtools and chrome extension background script host renderers. #16864
- Fixed race condition in the
desktopCapturermodule where some requests for sources would never be resolved or unhandled exceptions would be thrown in the main process. #18042 - No-notes. #16685
- Removed Vulkan validation layers DLLs from electron.zip, which are only meant to be used for Chromium development. #18062
- Removed
hasServiceWorkerandunregisterServiceWorkerAPIs from the WebContents modules. #16717 - Removed deprecated modules internally using
remote.requirein sandboxed renderer context. Useremote.requireexplicitly instead (unless the remote module is disabled). #15957 - Removed native mksnapshot binaries for arm/arm64 as they no longer work. #17561
- Removed special handling that forced
dialogmethods called over theremotemodule to return their result synchronously but not block the main process. #17412 - Reset version to 6.0.0-beta.0 in prep for 6.0.0-beta.1. 37f4bd4
- The
clipboardmodule in renderers no longer depends on theremotemodule on Linux. #17200
Documentation
Assets
49
electron-bot
released this
Release Notes for v4.1.5
Fixes
-
- Added support for the new Japanese Era Reiwa (令和) to JavaScript date/time formatting APIs.
- Updated ICU library to version 62.2
- Updated IANA time zone data to tzdata2019a. #17833
- Added missing module name to the exception message thrown when
requirefails in sandboxed renderers. #17704 - Back-ported additional fix for font rendering in MacOS Mojave. #17737
- Fixed
'loaded'event not being emitted in sandboxed renderers. #17807 - Fixed crash when manually dismissing notifications before quit on macOS. #17821
- Fixed inconsistent behavior where modifying the buffer would change
nativeImagepixels, while decoded PNG / JPEG data is a copy. #17862 - Fixed session preload scripts not being executed in sandboxed renderers. #17875
- Fixed the "rc4" cipher (#16214) (4.1.x). #17873
Other Changes
- Removed unused Vulkan libraries from bundle. #17789
Documentation
Assets
51
electron-bot
released this
Release Notes for v5.0.0
Breaking Changes
- Upgraded to Chromium
73.0.3683.119, Node.js12.0.0, and V87.3.492.27.
Features
- Added `ELECTRON_DISABLE_SANDBOX environment variable to make it easier to disable sandboxing in Docker-based Linux CI environments. #16662
- Added Promise support for the Cookies API. #16702
- Added
activateoption towebContents.openDevTools. #13852 - Added
app.commandLine.hasSwitch()/app.commandLine.getSwitchValue(). #16282 - Added
fileMenu/viewMenu/appMenuroles. #16328 - Added
ipc-messageandipc-message-syncevents towebContents. #16468 - Added
preload-errorevent towebContentsemitted when preload script fails (parse error, unhandled exception, etc.). #16411 - Added
win.removeMenu()to remove application menus instead of usingwin.setMenu(null). #16657 - Added a way to query for system colors on MacOS via
systemPreferences.getSystemColor(). #16248 - Added about panel customization on linux. #15658
- Added caps lock and numlock as keyboard accelerator modifiers. #16725
- Added event and method to detect high contrast color schemes . #15493
- Added getMemoryFootprint API. #14847
- Added macOS support for
systemPreferences.getAccentColor(). #16251 - Added macOS support to
systemPreferences.getColor(). #16249 - Added methods to
DownloadItemthat enable customization of the save dialog options duringwill-downloadevents. #15497 - Added response header support to
protocol.registerFileProtocolto matchprotocol.registerStreamProtocol. #16098 - Added support for DesktopCapturerSource.appIcon. 1f55f163
- Added support for multiple browser views per
BrowserWindow. #16148 - Added support for running preload scripts and nodeIntegration in iframes. #16425
- Allow for MacOS notifications to be immediately delivered. #16060
- Allow numpad keys to be used as accelerators. #15689
- Allow partial setting of window bounds with win.setBounds(). #15677
- Allow registering of multiple globalShortcuts. #15542
- Allowed filtering of
remote.getBuiltin(),remote.getCurrentWindow(),remote.getCurrentWebContentsand<webview>.getWebContents(). #16293 - Converted
contentTracing.getCategories()to return a promise instead taking a callback. #16624 - Converted
contentTracing.startRecording()andcontentTracing.stopRecording()to return a promise instead taking a callback. #16642 - Converted
debugger.sendCommand()to return a Promise instead of taking a callback. #16931 - Converted
zoomLevel()andzoomFactor()forwebContentsand<webview>to return a promise instead taking a callback. #16410 - Deprecated modules internally using
remote.requirein sandboxed renderer context. #15145 - Enabled
NodeIntegrationInSubFramesoption usage forwebviewtags. #17398 - Enabled the setuid sandbox on Linux, allowing Electron to launch sandboxed processes in environments that disable CLONE_NEWUSER for unprivileged users. #17343
- Exposed an API to allow apps to determine their status as a trusted accessibility client. #16119
- Provided user system's region with
app.getLocaleCountryCode(). #15035 - Enabled mixed-sandbox mode by default.
enableMixedSandboxand the--enable-mixed-sandboxcommand-line switch still exist for compatibility, but are deprecated and have no effect. #15894 - Mixed-sandbox mode works on Linux. #15870
- Promisified
app.getFileIcon. #15742 - Promisified
shell.openExternal()by splitting it into a sync and async method. #16176 - Promisified win.capturePage(). #15743
- Implemented the
browser-backwardandbrowser-forwardapp-commandevents available in BrowserWindow on Linux. #15441 - Unified behavior between the default app and packaged apps (application menu /
window-all-closedhandling). #16310 - Updated SpellCheck API to support asynchronous results. #14032
- Updated
Menu.buildFromTemplate()to allow it to acceptMenuItems in addition to plain objects. #16783 - Upgraded to Chromium 71.0.3578.98. #15966
- Updated WebContents.loadURL and loadFile to return a promise. #15855
Fixes
- 'win.setParentWindow(parent)' is now supported on Windows. #15775
- Fixed a crash on Linux when starting a sandboxed renderer: the
resourcesPathproperty is no longer available onprocessin sandboxed renderers. #15701 - Added new switch:
--disable-color-correct-rendering. #15898 - Added a check for invalid menu index to prevent out-of-range crashes on insertion. #17435
- Added a patch to fix incorrect enumeration and instantiation of Node.js ciphers in the Crypto module. #16909
- Added missing buffer size check in
nativeImage.createFromBuffer/nativeImage.addRepresentation. Data URLs only parsed according to the MIME type as PNG or JPEG. #17568 - Allowed blocking of
desktopCapturer.getSources()calls by handling thedesktop-capturer-get-sourcesevent. #15964 - Fixed a MacOS color picker dialog. #17254
- Be more lenient about whitespace in webview's "webpreferences" feature string. #15602
- Corrected windowMenu MenuItem role on MacOS. #15930
- Disabled CORB checks when web security preference is disabled. #15737
- Electron no longer forwards IPC filtering events to
appfor dev-tools and extensions. #16613 - Fixed hiddenInset titleBar console spam. #15576
- Fixed make certain values on
processread-only. #15628 - Fixed move NativeWindow tracking to OSR WCV. #15585
- Fixed Chromium sandbox v2 related crashes in MAS builds. #16969
- Fixed
<webview>not working withcontextIsolation+sandbox. #16469 - Fixed
<webview>tag not working when usingcontextIsolation. #16067 - Fixed
defaultIdnot taking affect when set to0and no "cancel" button was present on macOS. #17150 - Fixed
webContents.print()not working correctly. #17117 - Fixed
windowmenurole not showing the window list on macOS. #16387 - Fixed a bug that made all cookies non persistent. . #15836
- Fixed a bug when retrieving security scoped bookmarks in
ShowOpenDialogandShowSaveDialog. #17177 - Fixed a bug where
window.openerof a window created with window.open from a sandboxed renderer was null. #15821 - Fixed a bug which caused global shortcuts with the Windows key not to work properly on Windows. #17566
- Fixed a crash when calling ECDH.setPrivateKey(). #17296
- Fixed a problem where the focus would move to the browser window after the user (SHIFT +) tabbed through all the elements in the page (#12919). #16042
- Fixed an assertion when calling
ECDH.getPrivateKey(),diffieHellman.generateKeys()ordiffieHellman.get*(). #17255 - Fixed an issue where
Notificationobjects constructed in the main process would randomly not be shown to the user. #17484 - Fixed an issue where data streamed from registerStreamProtocol could be truncated before completion. #16553
- Fixed an issue where on Linux, the setuid sandbox was incorrectly enabled when passing
--enable-mixed-sandbox. #15722 - Fixed an issue whereby foreground visibility of a window was not correctly taken into account for
win.isVisible()on macOS. #17491 - Fixed an issue with netLog module properties not being returned correctly. #17545
- Fixed an issue with promise methods not resolving correctly over ipc in the renderer process. #16433
- Fixed and re-enabled osr after it was turned off following updates to Chromium 71/72. #16616
- Fixed app freeze when using custom stream protocol. #17264
- Fixed broken save dialog on macOS for
<a>downloads. #16640 - Fixed a bug that caused menu accelerators to stop working on some linux. #15094
- Fixed child windows invisible if opened with window.open from BrowserView with nativeWindowOpen enabled. #12686
- Fixed crash on exit when using
BrowserView. #15541 - Fixed crash when
nativeImage.createFromBuffer()is called with invalidbuffer. #17374 - Fixed crash when calling setProgressBar on macOS. #16728
- Fixed crash when passing callbacks which return
undefinedto some APIs. #17481 - Fixed crash when showing a tray menu while one is already shown. #17509
- Fixed default font fallback for non-latin scripts. #15486
- Fixed defunct processes after quitting. #16672
- Fixed incorrect display of 'zoom in' accelerator on mac. #15502
- Fixed incorrect foreground color on GTK menubar. #15878
- Fixed issue where preload scripts would sometimes run twice in the same process in different contexts resulting in broken native node module loading. #17597
- Fixed issue whereby a user was not well informed when interacting with a menu submenu that did not have any visible
MenuItems. #16848 - Fixed memory leak caused by webFrame.setSpellCheckProvider. #16525
- Fixed memory leak when using webFrame and spell checker. #16851
- Fixed missing remote object error when calling remote function created in preload script. #15444
- Fixed regression regarding
localStoragequota not being bypassed. #15596 - Fixed returning headers with multiple values for stream protocols. #14887
- Fixed session preload scripts not being executed in sandboxed renderers. #16578
- Fixed some MAS rejection errors by removing usages of private APIs. #17293
- Fixed some accelerators having
Shiftappended to them twice . #15400 - Fixed submenus not responding to the
visible: falseMenuItemproperty. #16846 - Fixed support for precision trackpad/mouse scrolling on Windows. #15830
- Fixed the
enableproperty having no effect for top-level submenuMenuItems. #16858 - Fixed the handling of the escape key in dialogs created by
window.confirm. The "Cancel" button is now triggered by the escape key, and the "OK" button is now triggered by the return key. #17578 - Implemented proper Location object for BrowserWindowProxy. #15019
- Improved the contrast/visibility of the "focused" menu item in menus on Windows. #17360
- Injected chrome extensions that have content scripts with a
.in thepatternfield now treat it as a raw.instead of a wildcard. #17594 - Launching the node inspector through
--inspectnow listens on the correct port when one is provided. #17439 - Made getUserMedia APIs work again on C72+ (backport: 5-0-x). #16768
- Moved
webFramecustom scheme APIs to browser process underprotocol. #16625 - Added missing require in chromium-spec #16153
- Restored support for AES-CFB cipher, which was lost when switching from OpenSSL to BoringSSL. #16618
- Restored support for RIPEMD160 digest, which was lost when switching from OpenSSL to BoringSSL. #16572
- Fixed support async child process methods without callback in asar. #15927
- The
safeDialogswebPreferences option now actually works onfile://URLs. #17579 - TouchBarSegmentedControl instances now correctly update when you update the
segmentsarray and removelabelorimagedynamically. #17334
Other Changes
- Switched to V2 sandbox on mac. #15647
- Fixed Windows Electron tests to run first to show those failures first#16655
- Added
webFrame.setIsolatedWorldInfoAPI and deprecated related APIs. #16932 - Added legacy callback function tests to prevent regressions as the promisification initiative continues. #16436
- Deprecated
ServiceWorkerAPIs onWebContentsin preparation for their removal. #16732 - Fixed version bump script for first beta. 29e5195c
- Improved tray icon context menu and menu bar accessibility. #15302
- Merged code in
brightrayintoatom. #15240 - Exposed missing
process.getCreationTime()in sandboxed renderers. #15824 - Removed
api::WebContents::CreateFrom. #15241 - Removed hardcoded Google API key. #15478
- Removed potential double free when managing WebContents. #15280
- Removed support for deprecated construction of a TouchBar with an array of items, use an options object instead. #15650
- Reset npm version to 5.0.0-beta.0. 3926d9d7
- The default values of
nodeIntegrationandwebviewTagare nowfalseto improve security. #16235
Documentation
Assets
51
electron-bot
released this
Note: This is a beta release. Please file new issues for any bugs you find in it.
This release is published to npm under the beta tag and can be installed via npm install electron@beta, or npm i electron@5.0.0-beta.9.
Release Notes for v5.0.0-beta.9
Fixes
- Added missing module name to the exception message thrown when
requirefails in sandboxed renderers. #17705 - Fixed
'loaded'event not being emitted in sandboxed renderers. #17808 - Fixed an issue preventing the Flash plugin from loading on Linux. #17829
- Fixed an issue with default filenames not showing in download items on macOS. #17797
- Fixed crash when manually dismissing notifications before quit on macOS. #17822
- Fixed crash when passing empty strings to recording in the
contentTracingmodule. #17711 - Fixed crash when pressing
Altkey withsetMenuBarVisibilityto false. #17795 - Fixed inconsistent behavior where modifying the buffer would change
nativeImagepixels, while decoded PNG / JPEG data is a copy. #17863 - Fixed issue where
chromedriverwould not connect correctly if you didn't provide a customremote-debugging-port. #17817 - Fixed issue where sandboxed renderers could sometimes leak globals outside of the preload script. #17830
- Fixed race condition where the
remotemodule would sometimes fail to fetch properties of a remote object. #17825 - Upgraded to node-12 with v8 7.3. #17752
Other Changes
- Removed unused Vulkan libraries from bundle. #17788
- Updated Chromium to 73.0.3683.105. #17707
- Updated Chromium to 73.0.3683.112. #17770
- Updated Chromium to 73.0.3683.116. #17805
- Updated Chromium to 73.0.3683.117. #17839
Documentation
Assets
51
electron-bot
released this
Note: This is a beta release. Please file new issues for any bugs you find in it.
This release is published to npm under the beta tag and can be installed via npm install electron@beta, or npm i electron@5.0.0-beta.8.
Release Notes for v5.0.0-beta.8
Fixes
- DevTools Extensions now load correctly. #17616
- Fixed a bug which caused global shortcuts with the Windows key not to work properly on Windows. #17566
- Fixed an issue with netLog module properties not being returned correctly. #17545
- Fixed issue where preload scripts would sometimes run twice in the same process in different contexts resulting in broken native node module loading. #17597
- Fixed offscreen rendering not working with viz compositor. #17572
- Fixed the handling of the escape key in dialogs created by
window.confirm. The "Cancel" button is now triggered by the escape key, and the "OK" button is now triggered by the return key. #17578 - Injected chrome extensions that have content scripts with a
.in thepatternfield now treat it as a raw.instead of a wildcard. #17594
Other Changes
Documentation
- Documentation changes: #17663
Assets
51
electron-bot
released this
Release Notes for v4.1.4
Fixes
- Backported fix for crashes in RenderFrameImpl::OnSelectPopupMenuItem(s). #17659
- Backported fix for https://bugs.chromium.org/p/chromium/issues/detail?id=888678. #17632
- Fixed
process.getProcessMemoryInfonot being exposed to sandbox renderers. #17669 - Fixed re-entracy problem with InvalidateFrameSinkId(). #17658
- Fixed the --explicitly-allowed-ports switch. #17642
Documentation
- Documentation changes: #17662