Repository navigation
upgrade to [email protected] - #964
Conversation
|
I'm seeing when running this, but unsure if that's a real issue or if that's just me having failed to properly build sodium. still seems to work ok though! |
|
@nornagon Have you tried running I seem to recall that the holdup on updating to newer electron version was that there were no prebuilds of various dependencies (spellcheck, sodium, leveldb) for the new ABI. We need these prebuilds otherwise can't do builds for multiple platforms (and it makes So for this to be merged, we'd need to check if all of the native deps now have prebuilds, and if not (in the case of spellcheck - for which we do manual prebuilds) update the config so that they do get prebuilds. |
|
Maybe we could upgrade to Electron 3 instead? Upgrading to Electron 4 would break all of the Arch Linux packages as well. |
|
Based on this list of native modules:
so it looks like the only upstream prebuilt binary that needs upgrading for 4.x is sodium-native. It looks like patchwork currently depends on sodium-native via this chain: though [email protected] actually depends on I've opened ssbc/chloride#11 to get In the mean time we could just force I'll look into bumping the prebuilds for the spellchecker, too. |
|
ah, actually it looks like |
|
looks like the CI failures on node 4 and 5 are also present on master, & not caused by this PR. |
|
I'm running this locally and it's working great. Thanks for the contribution! My only hold-up is based on Matt's above comment:
I'm going to do some work on our build pipeline, so once we have that then I'll be happy to merge this (assuming that it passes the build pipeline). Super excited to get this merged! |
|
Fantastic, let me know if there's anything I can do to help! |
|
Taking a look at this again, are you seeing this in the console output? If so, I think we'll need to fix that so that we're not using JavaScript cryptography (because it's slow).
|
|
Merged! Thanks a bunch, this is working great and you've paved the way for future Electron updates. For future reference, merging only required that I replaced references to the old ABI (57) to the new one (69) in
|
|
Fantastic! Electron 5 was just released: https://electronjs.org/blog/electron-5-0 so I'll have a go at updating to that soon. |
|
Yep, that's what I was working on when I noticed this issue, and for some reason Feel free to push to a topic branch (maybe |
|
As far as i know this PR obsoletes my older PR, #922. I’ll give it a go as soon as i can. |
Just the one breaking change afaict!
Electron 2 is based on Chrome 61, this brings Patchwork to Chrome 69.