Skip to content
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

Update Electron to 22.0.3 #206

Merged
merged 1 commit into from
Jan 22, 2023
Merged

Update Electron to 22.0.3 #206

merged 1 commit into from
Jan 22, 2023

Conversation

6uliver
Copy link

@6uliver 6uliver commented Jan 22, 2023

Sharp image manipulation is not working in Kit (check the image-resize example from the homepage).
I updated Electron from 22.0.0 to the latest stable (22.0.3) since sharp and other native modules are not working since Electron 21 because of the V8 memory cage feature. After the update I tested the image-resize and it's working again.

More info about the V8 memory cage: https://www.electronjs.org/blog/v8-memory-cage
The detection API added in Electron 22.0.1: https://github.com/electron/electron/releases/tag/v22.0.1 electron/electron#36624
The specific issue for sharp: lovell/sharp#3384

I hope you can merge this PR and and release this version soon.
Let me know if you have any change requests or suggestions and I will update the PR to help resolving this issue.

@johnlindquist johnlindquist merged commit c18f135 into script-kit:main Jan 22, 2023
@johnlindquist
Copy link
Collaborator

Is there a reason you didn't update the package.json?

@6uliver
Copy link
Author

6uliver commented Jan 22, 2023

Is there a reason you didn't update the package.json?

In package.json we have just the major version, it's a bump in the patch version, I used yarn upgrade-interactive.

Thank you for merging!

@johnlindquist
Copy link
Collaborator

K, it's building now. I'll post the pre-release build link here when it's ready for you to test. I'm on my phone 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants