- New upstream release 22.3.21
* Fixed unnecessary package.json check on built-in modules.
- Disabled video hardware acceleration (vaapi) and use system libvpx everywhere.
This is not a web browser where users regularly watch 4K videos,
and i think the need to vendor dependencies and increased buildtime is not worth it.
- Use system dav1d and libjxl on Leap 15.5 as they're available now.
- Fix unreasolvabe build and use llhttp 8 on Fedora 37.
OBS-URL: https://build.opensuse.org/request/show/1104739
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=85
- New upstream release 22.3.7
* Fixed an issue which made defaultFontFamily in webPreferences have no effect
* Fixed broken defaults in shell.openExternal() options.
* v8: Make Error.captureStackTrace() a no-op for global object (CVE-2023-2033)
* Blink: Use ScriptState::Scope instead of setting HandleScope. (CVE-2023-2133)
* Blink: Stop supporting { handleEvent }. (CVE-2023-2134)
* Dev tools: Retain DevToolsAgentHost after ForceDetachAllSessions() (CVE-2023-2135)
* Skia: Enforce program stack limits on function parameters (CVE-2023-2136)
OBS-URL: https://build.opensuse.org/request/show/1083321
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=74
- New upstream release 22.3.6
* Fixed an issue with Content-Security-Policy not being correctly enforced when sandbox: false and contextIsolation: false. (CVE-2023-23623)
* Fixed a memory leak in v8.serialize() when running Node.js within Electron.
* Viz: Add CHECKs in HostFrameSinkManager (CVE-2023-1810)
* Blink: Move the edit commands to an on stack variable (CVE-2023-1811)
- Fix download tarball script wrongly setting GPU_LISTS_VERSION to zero
- Change 647d3d2.patch to fix FTBFS on aarch64 Fedora
- Fix unresolvable build on Fedora 37
OBS-URL: https://build.opensuse.org/request/show/1079610
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=71
- New upstream release 22.3.5
* Fixed an issue where calling port.postMessage in MessagePortMain with some invalid parameters could cause a crash.
* Fixed canceling of bluetooth requests when no devices are returned.
* webcodecs: Fix VP9 p2 encoding of NV12 frames
* Fix crash in AnnotationAgentImpl
* v8: Fix map transition chain following w/ dictionary maps (CVE-2023-1214)
* Shutdown RtpContributingSourceCache in Dispose() (CVE-2023-1218)
* Prevent potential integer overflow in PersistentMemoryAllocator (CVE-2023-1219)
* hid: Handle empty input reports (CVE-2023-1529)
* Improve checks for VideoFrame layouts (CVE-2023-1532)
* Disable glShaderBinary in the passthrough cmd decoder (CVE-2023-1534)
- Fix build error with absl_core_headers 2023xxxx.
OBS-URL: https://build.opensuse.org/request/show/1076500
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=69
- Update to 22.0.2
* ABI break: NODE_MODULE_VERSION is now 110. Native modules may need recompiling
* Chromium to 108.0.5359.179
* Node v16.17.1
* V8 v10.8
* Added WebContents input-event event.
* Deprecated BrowserWindow scroll-touch-* events.
* The deprecated new-window event has been removed.
* Added contextBridge.exposeInIsolatedWorld(worldId, key, api) to expose
an API to an isolatedWorld within a renderer from a preload script.
* Added webContents.close() method.
* Added new UtilityProcess API to launch chromium child process with node integration.
* Added new WebContents event content-bounds-updated.
* Added support for navigator.mediaDevices.getDisplayMedia via a new
session handler, ses.setDisplayMediaRequestHandler.
* Added support for serialPort.forget() as well as a new event
serial-port-revoked emitted when a given origin is revoked.
- Drop patches applied upstream
* argument_spec-missing-isnan-isinf.patch
* chromium-103.0.5060.53-python3-do-not-use-deprecated-mode-U.patch
* content_language_parser-missing-string.patch
* gtk_ui_platform_stub-incomplete-type-LinuxInputMethodContext.patch
* node-system-libs.patch
* pending_beacon_dispatcher-virtual-functions-cannot-be-constexpr.patch
* std_lib_extras-missing-intptr_t.patch
* system-abseil-missing-shims.patch
- Re-add electron_serial_delegate-ambiguous-Observer.patch due to upstream reintroducing the invalid code
- Add patches to fix build errors
* chromium-108-abseil-shims.patch
* crashpad-elf_image_reader-ProgramHeaderTableSpecific-expected-unqualified-id.patch
* document_loader-private-DecodedBodyData.patch
* first_party_set_parser-IssueWithMetadata-no-known-conversion.patch
* print_dialog_gtk-no-kEnableOopPrintDriversJobPrint.patch
* swiftshader-LLVMJIT-AddressSanitizerPass-dead-code-remove.patch
- Conditionally reverse upstream changes to fix build with old harfbuzz
* harfbuzz-replace-chromium-scoped-type.patch
- Switch to bundled libjxl on Fedora 36 due to system version being too old
OBS-URL: https://build.opensuse.org/request/show/1059202
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=57
- New upstream release 21.3.4
* Changed HTML5 Notifications created with the requireInteraction option to not timeout
* Fixed a BrowserWindow maxWidth or maxHeight of 0 causing strange resizing behavior.
* Added node-api: handle no support for external buffers.
* Security fixes: CVE-2022-4174, CVE-2022-4179, CVE-2022-4181, CVE-2022-4190,
CVE-2022-4436, CVE-2022-4437, CVE-2022-4438, CVE-2022-4439,
CVE-2022-4262.
- Remove non-free WASM binaries from tarball
and add disable-devtools-tests.patch to fix resultant build error.
- Add remove-date-reproducible-builds.patch to fix build nondeterminism
- Add backported shim_headers-fix-ninja.patch
- Drop Leap 15.3 support
OBS-URL: https://build.opensuse.org/request/show/1058094
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=56
- New upstream release 21.2.0
* Set app's desktop file name and v8 flags according to package.json.
* Removed support for nodeIntegrationInWorker in Service Workers and Shared Workers owing to sandboxing policies.
* Updated Chromium to 106.0.5249.119.
- Do not compile PPAPI support since we don't use it.
* fix-no-ppapi-build.patch
- Enable JXL imageformat support as it is exposed by element-desktop.
* enable-jxl.patch
OBS-URL: https://build.opensuse.org/request/show/1032253
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=44
- Enable LTO on x64 (Tumbleweed and Fedora only) now that it works correctly.
* add seccomp_pbf-no-lto.patch
- Do not build some chromium features unused in Electron.
- Remove upstream's tinkering with optimization flags.
* change chromium-102-compiler.patch
- Remove upstream's warning suppression
* change chromium-102-compiler.patch
* add -Wno-class-memaccess due to log spam
* add -Wno-error=narrowing due to non-compliant generated code
- Add -DIS_SERIAL_ENABLED_PLATFORM to work around upstream C++ ODR error.
- Build main binary as PIE instead of PIC.
* change chromium-102-compiler.patch
* add fpic.patch
- Compile with gcc11 (was 10) on Leap now that it's available.
- Add backported patches
* compact_enc_det_generated_tables-Wnarrowing.patch
* half_float-Wstrict-aliasing.patch
* ipcz-buffer_id-Wnarrowing.patch
* select_file_dialog_linux_kde-Wodr.patch
* string_hasher-type-pun-UB-causes-heap-corruption.patch
* unzip-Wsubobject-linkage.patch
* web_contents_impl-Wsubobject-linkage.patch
- Add patches to fix C++ bugs and submit them upstream
* swiftshader-Constants-Wstrict-aliasing.patch
* swiftshader-Half-Wstrict-aliasing.patch
* v8_initializer-PageAllocator-fpermissive.patch
OBS-URL: https://build.opensuse.org/request/show/1031228
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=42
- New upstream release 21.1.0
* Added WebContents.opener to access window opener
* Added webContents.fromFrame(frame) to get the WebContents corresponding to a WebFrameMain instance
* Provided display_id for desktopCapturer on Linux
* Updated Chromium to 106.0.5249.91
- Add backported argument_spec-missing-isnan-isinf.patch
- Add partition_alloc-no-lto.patch
* LTO is still broken but this gets us past the build error
OBS-URL: https://build.opensuse.org/request/show/1008784
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=38