Skip to content

Commit

Permalink
addressing feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
yangannyx committed Nov 14, 2024
1 parent 7a281b7 commit 7668963
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blog/electron-30-0.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If you have any feedback, please share it with us on [Twitter](https://twitter.c
- ASAR Integrity fuse now supported on Windows ([#40504](https://github.com/electron/electron/pull/40504))
- Existing apps with ASAR Integrity enabled may not work on Windows if not configured correctly. Apps using Electron packaging tools should upgrade to `@electron/[email protected]` or `@electron/[email protected]`.
- Take a look at our [ASAR Integrity tutorial](https://www.electronjs.org/docs/latest/tutorial/asar-integrity) for more information.
- Added [`WebContentsView`](https://www.electronjs.org/docs/latest/api/web-contents-view) and [`BaseWindow`](https://www.electronjs.org/docs/latest/api/base-window) main process modules, deprecating & replacing `BrowserView` ([#35658](https://github.com/electron/electron/pull/35658)). Learn more about how to migrate from `BrowserView` to `WebContentsView` in [this blog post](./migrate-to-webcontentsview).
- Added [`WebContentsView`](https://www.electronjs.org/docs/latest/api/web-contents-view) and [`BaseWindow`](https://www.electronjs.org/docs/latest/api/base-window) main process modules, deprecating & replacing `BrowserView` ([#35658](https://github.com/electron/electron/pull/35658)). Learn more about how to migrate from `BrowserView` to `WebContentsView` in [this blog post](http://www.electronjs.org/blog/migrate-to-webcontentsview).
- `BrowserView` is now a shim over `WebContentsView` and the old implementation has been removed.
- See [our Web Embeds documentation](https://www.electronjs.org/docs/latest/tutorial/web-embeds) for a comparison of the new `WebContentsView` API to other similar APIs.
- Implemented support for the [File System API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API) ([#41827](https://github.com/electron/electron/commit/cf1087badd437906f280373decb923733a8523e6))
Expand Down
4 changes: 3 additions & 1 deletion blog/migrate-to-webcontentsview.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Developers familiar with BrowserWindows and BrowserViews should note that `Brows
### 1. Upgrade Electron to 30.0.0 or higher

:::warning
Electron releases may contain breaking changes that affect your application. It’s a good idea to test and land the Electron upgrade on your app _first_ before proceeding with the rest of this migration. A list of breaking changes can be found in the release notes for each major version on the Electron Blog.
Electron releases may contain breaking changes that affect your application. It’s a good idea to test and land the Electron upgrade on your app _first_ before proceeding with the rest of this migration. A list of breaking changes for each Electron major version can be found [here](https://www.electronjs.org/docs/latest/breaking-changes) as well as in the release notes for each major version on the Electron Blog.
:::

### 2. Familiarize yourself with where your application uses BrowserViews
Expand Down Expand Up @@ -83,4 +83,6 @@ For the most part, each instance where your app instantiates new BrowserViews ca

### 4. Test and commit your changes

Running into issues? Check the [WebContentsView](https://github.com/electron/electron/labels/component%2FWebContentsView) tag on Electron's issue tracker to see if the issue you're encountering has been reported. If you don't see your issue there, feel free to add a new bug report. Including testcase gists will help us better triage your issue!

Congrats, you’ve migrated onto WebContentsViews! 🎉

0 comments on commit 7668963

Please sign in to comment.