프로젝트의 개발 종속성으로 electron
을 설치하면 커맨드 라인에서 특정 버전의 Electron 을 사용할 수 있습니다. 더 많은 정보는 모듈의 저장소에 있습니다.
Changelog:
guestinstance
attribute to <webview>
tag which allows moving WebContents
betweens <webview>
s. #7157ses.getBlobData(identifier, callback)
API to read uploaded data in protocol. #6941contents.invalidate()
API. #7062killed
parameter for crashed
and gpu-process-crashed
events. #7241GOOGLE_API_KEY
environment variable to specify custom Google API key. #7276beginFrameSubscription
not working correctly for HiDPI screens. #7163net::ERR_INSECURE_RESPONSE
error when visiting some websites. #7221Linux
kioclient
, kioclient5
and trash-cli
in shell.moveItemToTrash(path)
API. #7178macOS
scroll-touch-edge
event for BrowserWindow
and fix regressions of scroll-touch-begin/end
events. #7239Windows
Ctrl+Y
as the default accelerator of redo
menu role. #7236getAccentColor
method and accent-color-changed
event to systemPreferences
module. #7173Changelog:
Changelog:
devtools
option to webPreferences
. #7096shell.showItemInFolder
and shell.openItem
. #7182execSync
throws. #7116process.stdin
in renderer process. #7130<webview>
loading host URL when src
is empty. #7146history.replaceState
is used. #7175macOS
userInfo
parameter to ready
event of app
. #7053titleBarStyle: 'hidden-inset'
on OS X 10.9. #7077Changelog:
Buffer
with remote
module. #6963inspectElement
after openDevTools
. #6940webkitRequestFileSystem
not working in custom protocols. #6952null
. #6977downloadItem.setSavePath
not working when server returns 404 status. #6983--debug-brk
not stopping on first line. #7001process.exit()
not accepting empty arguments. #7028beginFrameSubscription
not working for the WebContents
of <webview
>. libchromiumcontent#227Linux
armv7l
as filename suffix. #6986win.setFullScreen(false)
not working. #6961Windows
app.getJumpListSettings()
and app.setJumpList(categories)
APIs. #6826Changelog:
String
instead of Buffer
to represent certificate data. #6814, #6881isMainFrame
parameter to the did-navigate-in-page
event. #6810hasImageContents
parameter of context-menu
event being wrong. #6817win.location
for objects returned by window.open
. #6861webRequest.onBeforeSendHeaders
API drops headers with “.” in the name. #6856fetch
in renderer process. #6926ses.enableNetworkEmulation
not working with default options. #6935macOS
titleBarStyle: 'hidden'
on OS X 10.9. #6848setClosable
, setMaximizable
and setMinimizable
APIs. #6850Windows
path
and args
parameters to app.setAsDefaultProtocolClient
API. #6858win.setSkipTaskbar(skip)
. #6829Changelog:
view-painted
event which was introduced in v1.3.1 and didn’t work. #6705win.setContentBounds(options[, animate])
and win.getContentBounds()
APIs. #6654image.getBitmap()
API. #6733zoomin
, zoomout
, resetzoom
to MenuItem
’s role
s. #6777ipc
module. #6776macOS
systemPreferences.isSwipeTrackingFromScrollEventsEnabled()
API. #6686systemPreferences.postNotification(event, userInfo)
and systemPreferences.postLocalNotification(event, userInfo)
APIs. #6752autoUpdater
. #6743startspeaking
and stopspeaking
to MenuItem
’s role
s. #6765resizable: false
option disabling the fullscreen button. #6664scroll-touch-begin
and scroll-touch-end
events being emitted when scrolling page. #6754Windows
app.setUserTasks(tasks)
API. #6766win.setThumbnailToolTip(toolTip)
API. #6762autoUpdate.checkForUpdates()
for twice making quitAndInstall()
throw errors. #6780win.setThumbnailClip(region)
API not recognizing high-DPI displays. #6782Changelog:
downloadItem.getSavePath()
API. #6629image.toBitmap()
API. #6661size
, hotspot
parameters to the cursor-changed
event of WebContents
. #6661setZoomFactor
, getZoomFactor
, setZoomLevel
, getZoomLevel
, setZoomLevelLimits
methods to WebContents
. #6685LICENSES.chromium.html
being empty. libchromiumcontent#225Session
being garbage collected. #6674contents.sendInputEvent(event)
API. #6661Windows
shell.writeShortcutLink(shortcutPath[, operation], options)
and shell.readShortcutLink(shortcutPath)
APIs. #6623macOS
app.dock.isVisible()
API. #6683Linux
Changelog:
view-painted
event to WebContent
. #6524proxyBypassRules
option to ses.setProxy(config, callback)
API. #6558remote
module. #6572, #6590contents.copyImageAt(x, y)
API. #6619<input>
tag on DevPanel. brightray#238fs.access
/accessSync
not working with asar archives. #6598Windows
crashReporter.start(options)
for multiple times. #6618macOS
Changelog:
Changelog:
options
parameter for the session.fromPartition(''[, options])
API. #6470certificate
object of certificate-error
event. #6474autoUpdater.getFeedURL()
API. #6486getAllWebContents()
and getFocusedWebContents()
APIs to webContents
module. #6489macOS
Windows
win.setThumbnailClip(region)
API. #6497Changelog:
capturePage
method to WebContents
class and <webview>
tag. #6355showHiddenFiles
to dialog.showOpenDialog(options)
’s properties
. #6431app.getLoginItemSettings()
and app.setLoginItemSettings(settings)
APIs. #6375, #6444accessibility-support-changed
event and isAccessibilitySupportEnabled()
method to app
module. #6446unresponsive
event. #6432null
when passing the same Array for multiple times in remote
module. #6442macOS
win.setBounds(bounds)
API ignore maximum/minimum sizes. #6363Linux
console.log
after relaunch. #6412Windows
thickFrame
option for BrowserWindow
. #6412toolbar
to BrowserWindow
’s type
. #6428shell.openExternal(url)
not working with non-ASCII characters. #6436Changelog:
require
. #6213webContents.startDrag(item)
API. #6333clipboard.readBookmark()
and clipboard.writeBookmark(title, url)
APIs. #6233onlyDirty
pararmeter to webContents.beginFrameSubscription([onlyDirty ,]callback)
API. #6164app.setBadgeCount(count)
and app.getBadgeCount()
APIs. #6243 #6309did-fail-load
event emitting for canceled requests. #6201Promise
not resolved in native handlers of the main process. #6220package.json
includes BOM. #6354Windows
PDB
files in releases. #6225ICO
files. #6220tray.popUpContextMenu(menu)
not popUpping menu when menu
is not passed. #6280Linux
app.isUnityRunning()
API. #6243dialog.showOpenDialog()
replacing extensions of filenames ending with .*.gz
. #6305icon
property of BrowserWindow
not working. #6323Changelog:
accelerator
and label
are now optional when role
is specified for MenuItem
. #6190event
parameter for click
handler of MenuItem
. #6170session.setUserAgent(userAgent[, acceptLanguages])
API. #6172win.setContentProtection(enable)
API. #6175protocol
module not being set. #6195macOS
maximize
event being emitted before window is maximized. #6171Linux
Changelog:
tray.getBounds()
API. #6159quit
, togglefullscreen
roles to MenuItem
. #6154 #6166protocol
module not being set. #6095<webview>
tag having wrong size when transform
style is applied. #6128Promise
being treated as unhandled rejection in the main process. #6151role
when menu.insert(item)
is used. #6169macOS
systemPreferences.subscribeLocalNotification(event, callback)
and
systemPreferences.unsubscribeLocalNotification(id)
APIs. #6150Window
menu. #6089, #6097win.setProgressBar
after app.dock.setIcon
. #6091Delete
not working as accelerator. #6168Linux
Windows
Tray
not respecting scale factor.Changelog:
ready-to-show
event to BrowserWindow
. #6026--abi
command line switch to default app. #5911showDefinitionForSelection()
method to WebContents
and <webview>
tag. #5921pepperFlashSystemPlugin
to the paths of app.getPath(name)
API. #5943protocol
property to Session
to allow custom protocol for partition
. #5904isPaused
, canResume
, getState
APIs to DownloadItem
. #5959chrome.*
APIs for devtools extensions. #5924BrowserWindow.getDevToolsExtensions()
API. #5965focusable
option to BrowserWindow
. #6023web-contents-created
event to app
. #6029<webview>
tag. #5913partition
. #5904window.opener
being null
in window opened by <webview>
tag. #5953OS X
requestHeaders
parameter for autoUpdater.setFeedURL(url[, requestHeaders])
API. #5879maximizable: false
not working for frameless window. #5944Windows
win.setFocusable(focusable)
API. #6013 #6023autoUpdater
not waiting for current app to quit before launching newly installed app. #6037Changelog:
app.relaunch([options])
API. #5837array
and dictionary
types in systemPreferences.getUserDefault(key, type)
API. #5833pasteandmatchstyle
and delete
roles to MenuItem
. #5870app.disableHardwareAcceleration()
API. #5889update-target-url
event to WebContents
and <webview>
tag. #5903disableBlinkFeatures
option to webPreferences
of BrowserWindow
. #5923disableBlinkFeatures
attribute to <webview>
tag. #5923fetch
in custom protocols. #5932OS X
Linux
BrowserWindow.focus()
not moving focus to the window. #5888Changelog:
mimeType
is not defined in the handler of protocol.registerBufferJob
API. #5711app.releaseSingleInstance()
API. #5720select-bluetooth-device
event to WebContents
. #5781preload
script not working when webSecurity: false
is set. #5768protocol.registerHttpProtocol
not working when the target URL redirects. #5753remote
module. #5736print()
method not available for the window returned by window.open
. #5737Windows
fullscreen: false
option also setting fullscreenable: false
in BrowserWindow
. #5718OS X
BrowserWindow.setAspectRatio(0)
#5734Changelog:
beforeunload
handler nows prevents the page to unload. #5648Promise
is detected in remote
module. #5689webpageURL
parameter to app.setUserActivity(type, userInfo[, webpageURL])
API. #5658document.visibilityState
and visibilitychange
event not working in <webview>
tag. #5684app.quit()
while there are BrowserWindow
s with closable
set to false
. #5701Migration Notice:
true
in beforeunload
handler now prevents the page to unload. #5648ATOM_SHELL_INTERNAL_RUN_AS_NODE
environment variable has been removed, the code relies on it should use the public ELECTRON_RUN_AS_NODE
environment variable instead. #5682ATOM_SHELL_
environment variables have been renamed, if you are maintaining your own Electron fork, you might be affected. #5683Changelog:
Windows
Changelog:
BrowserWindow.setIcon(icon)
API. #5624Session.allowNTLMCredentialsForDomains(domains)
API, and mark app.allowNTLMCredentialsForDomains(domains)
as deprecated. #5638did-fail-load
event being empty. #5634require('electron')
being able to be overridden by npm modules.
#5662remote
module not handling rejection of Promise
in the main process. #5666Windows
OS X
offsetX
parameter to BrowserWindow.setSheetOffset(offsetY[, offsetX])
API. #5603BrowserWindow.setAspectRatio(ratio)
not correctly implemented. #5644Linux
ffmpeg
not stripped. #5668Changelog:
<webview>
tag when nodeIntegration
is off in host window. #5559--disable-http2
command line switch. electron/brightray#222webFrame.getResourceUsage()
and webFrame.clearCache()
APIs. #5413buttonLabel
option to dialog.showOpenDialog(options)
and dialog.showSaveDialog(options)
. #5509Invalid package error
when there is asar path in the command passed to child_process.exec
. #5571<webview>
tag not inheriting host window’s zoom level. #5616OS X
temporary-exception
.
#5584, #5601systemPreferences.subscribeNotification(event, callback)
now accepts event
and userInfo
parameters. #5582titleBarStyle
option makes the top of window draggable. #5557Windows
Linux
libnotify.so.4
on some distributions. electron/brightray#221Changelog:
Windows
Changelog:
protocol
module to be imported before the ready
event of app
module. #5406context-menu
event to WebContents
. #5379process.defaultApp
property. #5421protocol.registerStandardSchemes(schemes)
not working. #5406expirationDate
not showing for persistent cookies in session.cookies.get
API. #5444protocol.registerStandardSchemes(schemes)
not working. #5406OS X
scrollBounce
option to webPreferences
. #5412app.setUserActivity(type, userInfo)
, app.getCurrentActivityType()
APIs and continue-activity
event for Handoff feature of OS X. #5352app.dock.downloadFinished(filePath)
API. #5477app.removeAsDefaultProtocolClient(protocol)
API not working. #5440Linux
dialog.showMessageBox()
to a suitable size. #5496Changelog:
Changelog:
Migration notice:
BrowserWindow
have been removed but there
were no deprecation warnings in previous versions, you should use the
corresponding events in webContents
instead:
crash
devtools-focused
devtools-opened
devtools-closed
NativeImage.toDataUrl
has been removed but there were no deprecation
warnings in previous versions, you should use toDataURL
instead.Changelog:
userData
directory is created during the ready
event of app
module. #5340autoUpdater.quitAndInstall()
is called while there is no update. #5287systemPreferences
module. #5282app.isDefaultProtocolClient(protocol)
API. #5302app.makeSingleInstance(callback)
wrongly returning true
on first launch. #5311will-download
event not emitted for HTML pages. #5315webContents.executeJavaScript
not working after being called immediately after loadURL
. #5319desktopCapturer.getSources
not responding when there is subsequent calls with different arguments. #5320OS X
Command Plus
accelerator appearing as Shift Command =
in menu. #5298Windows
display-removed
event not working. #5334Changelog:
mode
option to webContents.openDevTools(options)
API.openExternal
type of permission
parameter to Session.setPermissionRequestHandler(handler)
API.process.windowsStore
property to determine whether the app is an Windows Store app.devToolsWebContents.hostWebContents
.session.enableNetworkEmulation(options)
API not working.WebContents.executeJavaScript(code)
not working when called during a resource load after page is loaded.app.setPath
to change the location of userData
directory, a folder is still created at the default location.Windows
Linux
append
hint when showing notifications.app.importCertificate(options, callback)
API.OS X
BrowserWindow.setSheetOffset(offset)
for changing the offset when showing sheet.app.makeSingleInstance
with Mac App Store build.Changelog:
will-quit
when app.exit()
is called.isMainFrame
parameter to did-fail-load
event of WebContents
.statusLine
property to webRequest.OnHeadersReceived
API’s responseHeaders
object.backgroundThrottling
option to webPreferences
of BrowserWindow
.resourceType
parameter to did-get-response-details
event of WebContents
.<webview>
and preload
script not working when there is no script tag in page.webRequest.onHeadersReceived
API modifying original headers’ status line.did-fail-load
and did-finish-load
events.Windows
blur
event handler.OS X
backgroundColor
of BrowserWindow
not displaying correctly.Linux
xdg-open
to exit when calling shell.openExternal
.tag
property of HTML5 Notification
API.Changelog:
Buffer
with large size.Changelog:
asar
archive.atom.asar
in the resources directory is renamed to electron.asar
.window.open
when node integration is disabled in parent window.app.setAsDefaultProtocolClient(protocol)
and app.removeAsDefaultProtocolClient(protocol)
APIs.disposition
parameter of new-window
event for certain types of background types.OS X
swipe
event to BrowserWindow
.backgroundColor
option of BrowserWindow
not working.