- 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
- New upstream release 19.0.16
* Fix heap-overflow in blink::TableLayoutAlgorithmAuto::InsertSpanCell (CVE-2022-3040)
* sqlite: Simplify the logic that converts the "1" expression in "ORDER BY 1" into a
copy of the expression that defines the first output column. (CVE-2022-3041)
- Cleanup source tarball some more.
- Actually ship the list of third-party code included (LICENSES.chromium.html)
- Correct the RPM licence metadata per the above list.
OBS-URL: https://build.opensuse.org/request/show/1002268
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=31
- New upstream release 19.0.11
* Fixed webContents.getUserAgent() incorrectly returning an empty string unless previously set.
* Disabled GPU acceleration on VMware on Linux.
- New upstream release 19.0.10
* Added support for --ozone-platform-hint flag.
* Fixed inertial scroll is broken when the scrollable element has an overlay with pointer-events: none.
- Do not use non-free closure compiler JAR during compilation.
- Use system jpeg-xl and XNVCtrl also on Tumbleweed.
- Use system libyuv on Tumbleweed.
* libyuv.gn
- Make nodejs-electron-devel require zlib-devel instead of shipping own headers.
* no-zlib-headers.patch
* add -lz to LDFLAGS in electron-16-system-node-headers.patch
- Use system toolchain, incl. nasm, ply, flatc
* flatbuffers.gn
* system-nasm.patch
* system-pydeps.patch
- Thorough cleanup of various other third party libraries from source tarball.
* do-not-build-libvulkan.so.patch
* libsecret.gn
* node-system-icu.patch
* skia-system-vulkan-headers.patch
* system-six.patch
* system-usb_ids.patch
* Adjust system-gtest.patch to also account for the second googletest copy in electron_node
- Re-enable full debuginfo on x64 for everything except Blink and v8, which fails to build due to heavy template use.
* adjust chromium-102-compiler.patch
* nasm-generate-debuginfo.patch
- Fix build of EXPERIMENTAL ix86 and arm7hf ports by using the LLVM linker (lld) on these platforms.
* Note that ix86 requires SSE2 instructions (that means Pentium 4 / Pentium M / Atom or equivalent)
OBS-URL: https://build.opensuse.org/request/show/993568
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=26
- New upstream release 19.0.9
* Updated Chromium to 102.0.5005.167
* Fixed a potential crash when changing window settings after initializing WCO with an invalid titleBarStyle
* Fixed alwaysOnTop BrowserWindow option for X11.
* Fixed an issue where printing with an invalid deviceName caused silent failures.
* Fixed empty app_id when running under wayland.
* Prevent brief display of "Ozone X11" in window title.
- Remove some unused huge libraries from third_party in source tarball.
- Remove process_doc_wrapper-do-not-assume-ABI.patch. The file being patched was not getting compiled for a while,
and is now removed from the tarball.
- Add system-gtest.patch
- Add breakpad-system-curl.patch
- Do not require SSE3 (chromium-102-compiler.patch).
Both openSUSE and Fedora still support the original Opteron, and
package maintainers should not unilaterally require more.
- Use system node for the typescript compiler (again).
We do not need to force node16 (Fedora compiles fine with node18 even),
Factory pushes a devel node version as default for a reason,
and it accidentally broke build on RISC-V which only has node17.
- Restore full debuginfo on the C-only code parts.
- Document all other deviations from recommended compilation options.
- Remove obsolete chromium-96-CouponDB-include.patch
- Correct licence in header (Electron bundles Chromium)
OBS-URL: https://build.opensuse.org/request/show/990766
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=23
- New upstream release 19.0.8
* Updated Chromium to 102.0.5005.148
* Fixed an issue where DataList bounds had part of the item text cut off vertically.
- Add disable-catapult.patch
* This nukular solution from Debian avoids building telemetry code which was causing hangs during build on Rawhide.
- Add chromium-103.0.5060.53-python3-do-not-use-deprecated-mode-U.patch
* Fixes build with python 3.11
- Use system llhttp and HDR-Histogram on all Fedora versions
- Additionally use system abseil, aom, dav1d, spirv on Fedora 37 Rawhide
- Fix bundled crc32c headers incorrectly getting used instead of system ones.
OBS-URL: https://build.opensuse.org/request/show/987309
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=21
- Update to 17.4.3:
* Fixed child_process.spawn ENOENT error with cwd option.
* Apply senderFrame details to ipcMain port event.
* Added BrowserWindow method to change the button color,
symbol color, and height of a window with WCO enabled.
* Fixed a potential crash in Browser.getFocusedWindow() when child windows are closed.
* Fixed an issue where the the window bounds would incorrectly change
if BrowserWindow.unmaximize was called on a window whose user bounds were maximized.
* Fixed incorrect return value of app.requestSingleInstanceLock()
when setting non-existent user data folder.
* Fixed issues with frameless window animations and styling.
* Backported security fixes: CVE-2022-1478, CVE-2022-1479,
CVE-2022-1480, CVE-2022-1482, CVE-2022-1483, CVE-2022-1485,
CVE-2022-1492, CVE-2022-1305, CVE-2022-1308, CVE-2022-1310,
CVE-2022-1314, CVE-2022-1364, CVE-2022-1306, CVE-2022-1134,
CVE-2022-1138, CVE-2022-23308.
OBS-URL: https://build.opensuse.org/request/show/975750
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=15