Skip to content

Chore (Deps): Upgrade to Electron 24 [minor change] - #9482

Merged
andelf merged 2 commits into
masterfrom
chore/upgrade-electron
Jun 28, 2023
Merged

andelf merged 2 commits into
masterfrom
chore/upgrade-electron

Conversation

@sprocketc

@sprocketc sprocketc commented May 24, 2023 •

Copy link
Copy Markdown
Collaborator
  • Reinstalled node-abi to fix an electron forge issue

Tested on

  • Linux
  • Windows
  • MacOS

Notable changes

Resolves #8702, #9304

@github-actions github-actions Bot added the :type/dev This label is used to indicate that an issue or PR is related to development tasks or changes that label May 24, 2023
@Bad3r

Bad3r commented May 25, 2023 •

Copy link
Copy Markdown
Collaborator

Thank you so much for working on this PR. I am happy to say that I am running a build of this branch on Linux, and it's working as expected. I do not have the issues I encountered last time during the v21 upgrade. I'll test on MacOS (M1 MacMini) and inside a Windows LTSC (10) VM.

Edit:

Tested on M1 MacMini:
image

It works as expected without any issues!

If a windows build is available I'll be able to test it too. I am having an issue building it locally.

@Bad3r

Bad3r commented May 26, 2023 •

Copy link
Copy Markdown
Collaborator

I was able to get the Windows version built using the CI:
https://github.com/Bad3r/Logseq-dev/actions/runs/5085462877
(Mac build fails due to a signing issue)

Tested on Windows 10; can confirm Logseq works great without any issues 🥳
image

@sprocketc sprocketc changed the title [WIP] Chore (Deps): Upgrade to Electron 24 Chore (Deps): Upgrade to Electron 24 May 26, 2023
@sprocketc sprocketc added the :type/hold Hold this PR. won't merge for now label May 26, 2023
@sprocketc
sprocketc marked this pull request as ready for review May 26, 2023 11:39
@sprocketc
sprocketc requested review from andelf and cnrpman May 30, 2023 08:47
@sprocketc sprocketc removed the :type/hold Hold this PR. won't merge for now label May 30, 2023
@logseq-cldwalker logseq-cldwalker changed the title Chore (Deps): Upgrade to Electron 24 Chore (Deps): Upgrade to Electron 24 [minor change] May 30, 2023
@logseq-cldwalker

Copy link
Copy Markdown
Collaborator

@Bad3r

Bad3r commented Jun 3, 2023

Copy link
Copy Markdown
Collaborator

Some release links for what's changed since the last version:

Thanks for sharing! Electron 22 introduced ​UtilityProcess API.

The new UtilityProcess main process module allows the creation of a lightweight Chromium child process with only Node.js integration while also allowing communication with a sandboxed renderer using MessageChannel.

@xyhp915 do you think this API would be a better fit for the pop-up PDF reader? Based on what I gathered, it should allow the second window to use the same theme and settings as the default instance, and it should help with performance and resource usage.

This might also be relevant to the new window instance, but I am not sure if it will help there since they need to be isolated.

@andelf
andelf force-pushed the chore/upgrade-electron branch from 8896feb to d5371ae Compare June 28, 2023 04:55
@andelf andelf mentioned this pull request Jun 28, 2023
1 of 2 tasks

@andelf andelf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andelf
andelf merged commit 5c720a9 into master Jun 28, 2023
@andelf
andelf deleted the chore/upgrade-electron branch June 28, 2023 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:type/dev This label is used to indicate that an issue or PR is related to development tasks or changes that

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update to Electron 24 / 25

4 participants