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

[FEATURE] 兼容 Electron 30 #3579

Open
bytemain opened this issue Apr 23, 2024 · 0 comments
Open

[FEATURE] 兼容 Electron 30 #3579

bytemain opened this issue Apr 23, 2024 · 0 comments
Labels
🎨 feature feature required

Comments

@bytemain
Copy link
Member

bytemain commented Apr 23, 2024

如果你的需求与问题相关,请在下面描述一下(Is your feature request related to a problem? Please describe.)

Electron 30 有一些 breaking change,在这个文档中收集一下

https://www.electronjs.org/docs/latest/breaking-changes

Breaking API Changes (29.0)

The ipcRenderer.sendTo() API has been removed. It should be replaced by setting up a MessageChannel between the renderers.

在升级 electron 29 的话,需要重构下这个 webview 的 sendTo

CleanShot 2024-04-19 at 13 01 08@2x

Breaking API Changes (25.0)

Deprecated: protocol.{register,intercept}{Buffer,String,Stream,File,Http}Protocol
The protocol.register*Protocol and protocol.intercept*Protocol methods have been replaced with protocol.handle.

@bytemain bytemain added the 🎨 feature feature required label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎨 feature feature required
Projects
None yet
Development

No branches or pull requests

1 participant