Skip to content

Update Electron requirement from 6.1.1 to 6.1.1, 7.0 - #936

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/julia/Electron-6.1.1-and-7.0
Open

Update Electron requirement from 6.1.1 to 6.1.1, 7.0#936
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/julia/Electron-6.1.1-and-7.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 26, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on Electron to permit the latest version.

Release notes

Sourced from Electron's releases.

v7.0.0

Electron v7.0.0

Diff since v6.1.1

See the changelog for details.

Merged pull requests:

Closed issues:

  • Make the secure cookie exchange secure (#19)
  • How do I call sendMessageToJulia from vegaEmbed(...).then? (#34)
  • Sending large object silently hangs (#37)
  • Electron.jl does not work with multiple tasks (#38)
  • Broken pipe error (#43)
  • browser test (#101)
  • make win.setAspectRatio() work on Windows / new Electron version (#102)
  • Electron will not recompile on Mac (Apple Silicon) (#120)
  • How to hide cmd windows when star app (#124)
  • how to use electron's dialog (#126)
  • libgobject-2.0.so.0: cannot open shared object file (#127)
  • sendMessageToJulia is not defined during window.onload call (#143)
  • sendMessageToJulia fails silently when passed undefined (#144)
  • Drop Pkg dependency (#148)
  • run(window, code) should support JSONText (#154)
Changelog

Sourced from Electron's changelog.

[7.0.0] - unreleased

This release contains breaking changes. See Migration below.

Added

  • isopen(app::Application) reports whether an application is still running, the way isopen(win::Window) already did for windows.
  • run accepts a JSON.JSONText, for both Window and Application targets, which gets you JavaScript syntax highlighting in editors that support it.
  • Application takes a startup_timeout keyword (default 120 seconds), bounding how long it waits for the Electron process to connect back to Julia.
  • ApplicationClosedError is a new exported exception type, thrown when a request cannot be completed because the Electron application has exited.
  • nodeIntegration and contextIsolation can be overridden through the webPreferences entry of a window's options.
  • The README has a Recipes section covering native dialogs, window event handling and opening a plain window.

Changed

  • Breaking. The secure cookie is no longer passed to the Electron process as a positional command line argument; it is passed in the JULIA_ELECTRON_SECURE_COOKIE environment variable instead. The Electron process now receives only main.js, the main pipe name and the sysnotify pipe name as positional arguments. Custom mainjs files must be updated.
  • Breaking. HTML content larger than 64 KiB passed to load(win, html) or Window(app, content) is written to a temporary file and loaded over a file:// URL rather than a data: URI. The document's origin and window.location differ accordingly. Content at or below the threshold is unaffected. Temporary files are deleted when the window is closed or the application exits.
  • Breaking. A request against an application whose Electron process has exited, or whose connection has dropped, now throws ApplicationClosedError. Previously this surfaced as an IOError (broken pipe) or, in some interleavings, a KeyError. Calls against an object already known to be dead still throw the same ErrorException as before.
  • close(app) waits for an in-flight request to complete rather than racing it.
  • The Pkg dependency was replaced by the Artifacts standard library, which reduces load time and the size of bundled applications.
  • main.js moved from src/ to src/js/, alongside the new preload script. Electron.MAIN_JS still points at it.

Fixed

  • run is safe to call from several tasks at once. All communication with an Electron application now goes through a request channel owned by a single task, so concurrent calls no longer interleave their requests and collect each other's replies (#38, #43).
  • sendMessageToJulia is available to page scripts from the start. It is now defined by an Electron preload script rather than injected on did-finish-load, so inline <head> scripts, window.onload handlers and promise callbacks can call it (#143, #34). Messages that arrive before Julia has learned the window's id are buffered and delivered once the Window exists, instead of being dropped.

... (truncated)

Commits
  • de44a6a Set version to v7.0.0
  • d14c947 Update CHANGELOG
  • b8f8b28 Merge pull request #159 from davidanthoff/isopen-application
  • a8e4792 Add isopen(app::Application)
  • fbeaac8 Merge pull request #158 from davidanthoff/fix-open-issues
  • 2ca2f32 Merge branch 'worktree-agent-a0fed57165c14c70c' into worktree-fix-open-issues
  • 4527d07 Merge branch 'worktree-agent-ad13093ce1cb743b4' into worktree-fix-open-issues
  • 61679e5 Merge branch 'worktree-agent-aa925ce5f749df0d7' into worktree-fix-open-issues
  • 14fb3c6 Add a Recipes section to the README
  • ad5bdff Fix large HTML loading (#37) and pass secure cookie via environment (#19)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [Electron](https://github.com/davidanthoff/Electron.jl) to permit the latest version.
- [Release notes](https://github.com/davidanthoff/Electron.jl/releases)
- [Changelog](https://github.com/davidanthoff/Electron.jl/blob/main/CHANGELOG.md)
- [Commits](davidanthoff/Electron.jl@v6.1.1...v7.0.0)

---
updated-dependencies:
- dependency-name: Electron
  dependency-version: 7.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants