CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 23:32:21 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"fa337db135140ef81be65a237cd652bf"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=%2BAxMv0ToMamxQnpbd5S3c%2FWFTq%2FpNVWWLiQ5bQw%2B3VsMTsJCCTIdOGne3Mo4cXm68a%2BiLaIHTKBWcwXMdNZr63op7wzPLRgmGTI7FM0klulfV5nuTtyQKxM7kXfOoKoyL1YP7RgogOa0KcE12aS0xkrs9gv1Q%2Fwbb0Zm6SiM6uJDUljFg5d0Uwqucpb7fGeMLXXkpwRfBSNaD5NgMcgA2WJrBwG5T77VhyAEgihFXvgS9OdXA0kAfbqs6MnVY5okzsgo8oR6XAXznrlHAZgINQ%3D%3D--ecptK59gMFklLIDc--n8JZIAidoLnTRM0zMQlqcg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1120196686.1753313540; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 23:32:20 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 23:32:20 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B782:26221E:11566FF:14D63D6:68817104
Release electron v4.0.0 · electron/electron · GitHub
Loading
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 16.2k
electron v4.0.0
Compare
Release Notes for v4.0.0
Breaking Changes
- Upgraded to Chromium 69.0.3497.106 and Node 10.11.0. #13756, #14964, #14972
- Changed to the new single instance API. #12782, #14518
- Bumped minimum supported macOS version to 10.10. #15357
Features
- Added "will-move" event to the BrowserWindow. #14283
- Added
BrowserWindow.setWindowButtonVisibility()
. a42ca9ee - Added
Version
key toElectron Framework
Mac bundle'sInfo.plist
. #14296 - Added
systemPreferences
APIs to help apps respect Mojave dark mode settings. #14755 - Added
webPreferences.enableRemoteModule
option allowing to disable the remote module to increase sandbox security. #15222 - Added
getNormalBounds()
API for theBrowserWindow
class to fetch window bounds while minimized. #13290 - Added
will-redirect
event on webContents to capture, handle and prevent redirects during navigations. #13866 - Added an option to
MenuItem
that makes it possible to skip accelerator registration. #15840 - Added
app.enableSandbox()
. #14999 - Added
creationTime
method to process. #13542 - Added
event.senderId
property to IPCs sent viaipcRenderer.sendTo
. #14395 - Added
getUploadProgress
API to the net module. #13783 - Added
isCurrentlyAudible()
to WebContents. #13614 - location url added to "Node.js Integration with Remote Content" warning. #13973
- Added media access APIs for macOS Mojave. #15948
- Added
always-on-top-change
event. #14951 - Added query, search and hash options to
webContents.loadFile
. #14515 - Added
process.takeHeapSnapshot()
andwebContents.takeHeapSnapshot()
. #14456 - Added screen reader support for Win32 toast notifications. #13834
- Added
session.setPermissionCheckHandler()
. #13925 - Added
will-resize
event to TopLevelWindow. #13649 - Added
workingDirectory
toshell.openExternal()
options. #15065 - Added
app.showAboutPanel()
on macOS. #15680 - Added
app.getGPUInfo()
. #13486 - Added
--disable-color-correct-rendering
switch. #16020 - Allow partial setting of window bounds. #15699
- Added
win.setShape()
API to TopLevelWindow. #13789 - Allow window above full screen windows on macOS. #14122
- Allow filtering of
remote.require()
/remote.getGlobal()
requests by handlingremote-require
/remote-get-global
events. #15562 - Expose
WebContents#setBackgroundThrottling
. #15623 - Point based API's now automatically round incoming
x
andy
values. #14604 - Expose several
process
object APIs to sandboxed renderers. #13505 - Added simplified Mojave dark mode APIs. #14895
- Support
chrome://
URLs in default_app. #13575 - Enable use of NODE_OPTIONS env var. #15259
- Added a
mediaType
property to media permission requests to distinguish between video and audio requests. #14600 menu.popup()
options are now optional. #13977
Fixes
- Several
process
APIs were returning proxied values instead of simple ones. #13905 - Preload scripts could not be loaded with CSP enabled. #13032
- Correctly remove DOM storage limits. #15688
- Correctly mark crashReporter companyName as required. #14132
- Debugger command callbacks now run with
null
as the error when no error has occurred. #14814 - CORB checks are now disabled when web security preference is disabled. #15801
- OSR windows now respects display scale factor. #15865
- Prevent bluetooth device list from growing without bound. #15866
- Security warnings now correctly show in sandboxed renderers. #14869
- Fixed a crash on exit when using
BrowserView
. #15640 - Fixed a crash when using stream protocols. #15210
- Fixed shift-based accelerators not rendering correctly. #14966, #15401
- Fixed too-thin font rendering in macOS Mojave. #15007
- Fixed occasional freeze when navigating webview. #14487
- Honor
properties.showHiddenFiles
indialog.showOpenDialog()
on Linux. #15506 - Fixed incorrect display of 'zoom in' accelerator on mac. #15626
- Speech synthesis APIs now return OS voices on Windows. #14070
- Fixed CSP warnings in the default app. #13437
- Fixed notifications when running in a Windows Store environment. #13258
- On MacOS, closing notifications will now trigger the
close
Event. #13306 Menu.buildFromTemplate()
no longer creates empty MenuItems on falsey values. #13992- Fixed multiple printing bugs. #15976
- Updated
fs.stat/fs.statSync
for newoptions
param. #15350 - Partially fix the memory leak when opening child windows with
nativeWindowOpen
. #15190
Other Changes
- Changed build system from GYP to GN. #14097
require('electron')
performance improvements #14633- Deprecated
findInPage
optionswordStart
andmedialCapitalAsWordStart
. #15735 - Deprecated default webPreferences values for
nodeIntegration
,contextIsolation
andwebviewTag
. #15045 - Fixed Widevine CDM not loading content. #14423
- Print a deprecation warning when the child windows opened with
nativeWindowOpen
option have node integration. #15193 - Removed experimentalCanvasFeatures property. #13684
- Removed legacy helpers (Electron Helper EH/NP). #14436
- Removed private
webContents.getId()
API. #13674 - On Windows, functions available on Windows 7+ are now statically linked. #13578
- Removed unneeded
pyproto
files from release archives. #15398 - In Electron 5.0, the default for nodeIntegration will change from true to false. Electron 4 will log a warning in the renderer when nodeIntegration is enabled by default. #16004
- Public IPC channel (
ipcRenderer
/ipcMain
) is no longer used to implement Electron internals (remote
module for example). #13940 - Removed WTL dependency on Windows. #13463
- Remove use of some deprecated Chromium APIs. #14420, #13312, #13436, #13425, #13703
- V8 embedder version string changed from
-node.N
to-electron.N
. #15120 - Implement
ipcRenderer.sendTo
in native code for better performance. #14285 - Other small IPC efficiency improvements. #14302, #14286
- Warn if you try to use Electron APIs from a non-electron environment. #15977
- Move pepper flash behind feature flag. #13322
Dependencies
Documentation
- Documentation changes: #12783, #13121, #13167, #13365, #13366, #13403, #13451, #13482, #13629, #13656, #13660, #13663, #13664, #13672, #13798, #13801, #13835, #13841, #13882, #13884, #13891, #13903, #13935, #13999, #14018, #14125, #14185, #14198, #14309, #14369, #14396, #14401, #14413, #14465, #14562, #14649, #14715, #14762, #14903, #15307, #15419, #15462, #15500, #15526, #15548, #15685, #15751, #15771, 379998e2, 4f8acb0c, 58e8c025, 9e85bdb0, e0735baf, #14823, #14526, 57d365a9, f788143c, #14455, #14731, #14301
Assets 51
You can’t perform that action at this time.