New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade electron to latest version (v20) #219
Comments
bstein
changed the title
Update electron to latest version (v20)
Upgrade electron to latest version (v20)
Aug 3, 2022
bstein
added a commit
that referenced
this issue
Aug 16, 2022
bstein
added a commit
that referenced
this issue
Aug 16, 2022
…enDialog() and dialog.showMessageBox() functions, and update MacOS release task to rename new helper apps
bstein
added a commit
that referenced
this issue
Aug 16, 2022
bstein
added a commit
that referenced
this issue
Aug 16, 2022
bstein
added a commit
that referenced
this issue
Aug 16, 2022
…place deprecated Buffer() with Buffer.from()
bstein
added a commit
that referenced
this issue
Aug 16, 2022
…dify gulp start task so server is ready before electron build command runs
bstein
added a commit
that referenced
this issue
Aug 18, 2022
bstein
added a commit
that referenced
this issue
Aug 18, 2022
Merged
Merged
bstein
added a commit
that referenced
this issue
Aug 29, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
^1.7.11 → ~20.0.3
This issue tracks the work of upgrading to the latest version of electron. The project should be updated one major version at a time (eg, v1 to v2 to v3 etc). For each major version update, any breaking changes should be fixed and the application should be tested.
Relevant Breaking Changes by Version
None
None
None
Electron Helper EH
andElectron Helper NP
apps are no longer generated and onlyElectron Helper
remainsElectron Helper
app during the gulp release task for MacOSnodeIntegration
andwebviewTag
were changed to be false by default: chore: disable nodeIntegration / webviewTag by default electron/electron#16235nodeIntegration
andwebviewTag
to truedialog.showMessageBox()
was split into two functions and the original became asynchronous: feat: promisify dialog.showMessageBox() electron/electron#17298showMessageBox()
functiondialog.showOpenDialog()
was split into two functions and the original became asynchronous: feat: promisify dialog.showOpenDialog() electron/electron#16973showOpenDialog()
functionElectron Helper (GPU)
,Electron Helper (Plugin)
, andElectron Helper (Renderer)
apps are now generated in addition toElectron Helper
Electron Helper
apps during the gulp release task for MacOSelectron.asar
file was removed: refactor: remove electron.asar and embed JS in binary electron/electron#18577reportsController
when in dev environment. When importingenv
,__dirname
is/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/renderer
, which does not contain theenv.json
file; whenenv
is used inbackground.js
, the __dirname is./build
, which does contain theenv.json
fileenv.json
file by using the appPath instead of __dirnameshell.openExternal()
was split into two functions and the original became asynchronous: feat: split openExternal into sync and async electron/electron#16176openExternal()
functionwebviewTag.executeJavaScript()
was split into two functions and the original became asynchronous: feat: promisify executeJavaScript electron/electron#17312executeJavaScript()
functionapp.getName()
was deprecated in favor of theapp.name
propertyapp.name
instead ofapp.getName()
None
shell.openItem()
was converted into an asynchronous function namedshell. openPath()
: feat: convert shell.openItem to async shell.openPath electron/electron#20682openPath()
functionenableRemoteModule
was changed to be false by default: feat: disable the remote module by default electron/electron#22091enableRemoteModule
to trueNone
remote
module was deprecated and replaced by@electron/remote
: chore: deprecate remote electron/electron#25293remote
module to@electron/remote
packagecontextIsolation
was changed to be true: feat: enable context isolation by default electron/electron#27949contextIsolation
to falseworldSafeExecuteJavaScript
was changed to be true: feat: enable world safe JS by default electron/electron#27502worldSafeExecuteJavaScript
to falseNone
@electron/remote@1.x
@electron/remote@2.x
: https://github.com/electron/remote/blob/main/docs/migration-2.mdNone
webview
was improved and renders differentlyng-src
directive instead ofsrc
on theserver.html
file (also see explanation)None
None
None
None
The text was updated successfully, but these errors were encountered: