Skip to content

Commit

Permalink
docs: correctly format breaking changes
Browse files Browse the repository at this point in the history
Co-authored-by: David Sanders <[email protected]>
  • Loading branch information
VerteDinde and dsanders11 authored Feb 20, 2024
1 parent 76b3bf3 commit 6d30bec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions blog/electron-29-0.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ If you have any feedback, please share it with us on [Twitter](https://twitter.c

### Breaking Changes

### Behavior Changed: `ipcRenderer` can no longer be sent over the `contextBridge`
#### Behavior Changed: `ipcRenderer` can no longer be sent over the `contextBridge`

Attempting to send `ipcRenderer` as an object over the `contextBridge` will now result in
an empty object on the receiving side of the bridge. This change was made to remove / mitigate
Expand All @@ -52,7 +52,7 @@ contextBridge.exposeInMainWorld('app', {
});
```

### Removed: `renderer-process-crashed` event on `app`
#### Removed: `renderer-process-crashed` event on `app`

The `renderer-process-crashed` event on `app` has been removed.
Use the new `render-process-gone` event instead.
Expand All @@ -69,7 +69,7 @@ app.on('render-process-gone', (event, webContents, details) => {
});
```

### Removed: `crashed` event on `WebContents` and `<webview>`
#### Removed: `crashed` event on `WebContents` and `<webview>`

The `crashed` events on `WebContents` and `<webview>` have been removed.
Use the new `render-process-gone` event instead.
Expand All @@ -92,7 +92,7 @@ webview.addEventListener('render-process-gone', (event) => {
});
```

### Removed: `gpu-process-crashed` event on `app`
#### Removed: `gpu-process-crashed` event on `app`

The `gpu-process-crashed` event on `app` has been removed.
Use the new `child-process-gone` event instead.
Expand Down

0 comments on commit 6d30bec

Please sign in to comment.