Added WebFrameMain.detached for frames in an unloading state.
Added WebFrameMain.isDestroyed() to determine if a frame has been destroyed.
Fixed webFrameMain.fromId(processId, frameId) returning a WebFrameMain instance which doesn't match the given parameters when the frame is unloading. #44209
Fixes
Fixed an issue where EventSource was undefined in both renderer and worker processes when Node.js integration was enabled. #44496 (Also in 32, 34)
Fixed crash when network process terminates while a net log is running. #44420 (Also in 31, 32, 34)
Fixed crash when rendering super menu accelerator on linux. #44520 (Also in 34)
Fixed external window focus when using shell.openExternal. #44468 (Also in 34)
Fixed regression with dynamic dependency on libgdk_pixbuf. #44436 (Also in 32, 34)
Other Changes
Performance improvements when processing microtasks. #44473 (Also in 32, 34)
Breaking changes will be documented here, and deprecation warnings added to JS code where possible, at least one major version before the change is made.
Types of Breaking Changes
This document uses the following convention to categorize breaking changes:
API Changed: An API was changed in such a way that code that has not been updated is guaranteed to throw an exception.
Behavior Changed: The behavior of Electron has changed, but not in such a way that an exception will necessarily be thrown.
Default Changed: Code depending on the old default may break, not necessarily throwing an exception. The old behavior can be restored by explicitly specifying the value.
Deprecated: An API was marked as deprecated. The API will continue to function, but will emit a deprecation warning, and will be removed in a future release.
Removed: An API or feature was removed, and is no longer supported by Electron.
Planned Breaking API Changes (34.0)
Deprecated: level, message, line, and sourceId arguments in console-message event on WebContents
The console-message event on WebContents has been updated to provide details on the Event
argument.
Additionally, level is now a string with possible values of info, warning, error, and debug.
Planned Breaking API Changes (33.0)
Behavior Changed: frame properties may retrieve detached WebFrameMain instances or none at all
APIs which provide access to a WebFrameMain instance may return an instance
with frame.detached set to true, or possibly return null.
When a frame performs a cross-origin navigation, it enters into a detached state
in which it's no longer attached to the page. In this state, it may be running
unload
handlers prior to being deleted. In the event of an IPC sent during this state,
frame.detached will be set to true with the frame being destroyed shortly
thereafter.
When receiving an event, it's important to access WebFrameMain properties
immediately upon being received. Otherwise, it's not guaranteed to point to the
same webpage as when received. To avoid misaligned expectations, Electron will
return null in the case of late access where the webpage has changed.
... (truncated)
Commits
6e44a27 chore: remove executable flag from docs/api/app.md file permissions (#44578)
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
| --- | --- |
| electron | [>= 27.1.a, < 27.2] |
| electron | [>= 32.1.a, < 32.2] |
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps electron from 31.3.1 to 33.1.0.
Release notes
Sourced from electron's releases.
... (truncated)
Changelog
Sourced from electron's changelog.
... (truncated)
Commits
6e44a27
chore: remove executable flag from docs/api/app.md file permissions (#44578)743fe6f
test: fixup flaky session tests (#44565)bd81baa
fix: remove use of banned std::to_string() (#44563)6e1d940
docs: capitalize POSIX and Windows correctly (#44558)be69311
build: add new status to verify if all the required gha jobs have run (#44553)fcf0c11
chore: remove use of banned absl::optional (#44551)4fad573
build: remove unused lint package (#44535)c600be6
fix: crash when generating shortcut text for super accelerator (33-x-y) (#44520)a7ab89e
docs: fix apostrophe typo "Electrons" -> "Electron's" (#44536)7930412
refactor: remove unused C string ToV8() gin converter (#44522)Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions | | --- | --- | | electron | [>= 27.1.a, < 27.2] | | electron | [>= 32.1.a, < 32.2] |Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show