chore: deprecate senderId and senderIsMainFrame (#39381)

This commit is contained in:
Milan Burda 2023-08-09 16:38:48 +02:00 committed by GitHub
parent 70508b5273
commit 0f49868234
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -25,6 +25,8 @@ or later will be required to run Electron v27.0.0 and higher.
The `ipcRenderer.sendTo()` API has been deprecated. It should be replaced by setting up a [`MessageChannel`](tutorial/message-ports.md#setting-up-a-messagechannel-between-two-renderers) between the renderers.
The `senderId` and `senderIsMainFrame` properties of `IpcRendererEvent` have been deprecated as well.
## Planned Breaking API Changes (25.0)
### Deprecated: `protocol.{register,intercept}{Buffer,String,Stream,File,Http}Protocol`