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

Upgrade electron to v13 #17833

Closed
germain-gg opened this issue Jun 29, 2021 · 6 comments
Closed

Upgrade electron to v13 #17833

germain-gg opened this issue Jun 29, 2021 · 6 comments

Comments

@germain-gg
Copy link
Contributor

germain-gg commented Jun 29, 2021

https://www.electronjs.org/docs/breaking-changes#planned-breaking-api-changes-130

@bradtgmurray
Copy link

Looked a bit into this tonight and this is what I found:

Electron 13 also recommends an update to node version 14.17 (https://www.electronjs.org/releases/stable?version=13&page=2#13.0.0) which also means a bump in NODE_MODULE_VERSION (87 -> 89, https://github.com/nodejs/node/blob/master/doc/abi_version_registry.json#L8).

However, rebuilding seshat with this new version fails because the neon rust dependency is too old, and we get a few compile errors. Trying to bump just neon alone in https://github.com/matrix-org/seshat/blob/master/seshat-node/native/Cargo.toml#L21 doesn't work as neon-serde hasn't been updated to work with newer versions of neon (GabrielCastro/neon-serde#64). It looks like there's some momentum around replacing neon-serde with native support within neon (neon-bindings/neon#701) but it doesn't seem to be too close.

I'm guessing what needs to be done is to refactor seshat to no longer depend on this orphaned dependency, so we can then use a newer version of neon, which would allow seshat to be compiled with the new node verison, which then would allow us to upgrade electron.

@bradtgmurray
Copy link

Oh hey, seshat is already on it: matrix-org/seshat#94

@germain-gg
Copy link
Contributor Author

It's not been solved in https://github.com/vector-im/element-desktop yet

@PF4Public
Copy link

Running element-desktop-1.7.34 with electron 13. Works fine:
image

@germain-gg
Copy link
Contributor Author

Running element-desktop-1.7.34 with electron 13. Works fine:

That sounds pretty promising! Thank you for working on that
We would definitely welcome a pull request for this dependency upgrade. Feel free to open it in your own time and I will request a review from the team

@PF4Public
Copy link

But I didn't do anything special! It is already there: element-hq/element-desktop@3fb802e

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

No branches or pull requests

3 participants