docs: update breaking changes for v21 (#35820)

This commit is contained in:
Calvin 2022-09-28 11:47:25 -05:00 committed by GitHub
parent fea844c3da
commit 6a68afdb8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,7 @@ win.webContents.on('input-event', (_, event) => {
}) })
``` ```
## Planned Breaking API Changes (20.0) ## Planned Breaking API Changes (21.0)
### Behavior Changed: V8 Memory Cage enabled ### Behavior Changed: V8 Memory Cage enabled
@ -144,6 +144,8 @@ webContents.printToPDF({
}) })
``` ```
## Planned Breaking API Changes (20.0)
### Default Changed: renderers without `nodeIntegration: true` are sandboxed by default ### Default Changed: renderers without `nodeIntegration: true` are sandboxed by default
Previously, renderers that specified a preload script defaulted to being Previously, renderers that specified a preload script defaulted to being