Change8

v41.2.1

📦 electronView on GitHub →
🐛 14 fixes🔧 5 symbols

Summary

This patch release primarily focuses on bug fixes across various areas including tracing, window resizing, file system operations, PDF rendering, memory management, and platform-specific behaviors on macOS and Windows. It also updates Chromium and Node.js dependencies.

🐛 Bug Fixes

  • Added missing `metadata` fields to `contentTracing` traces.
  • Changed the `kResizeThreshold` to trigger the resize on corners.
  • Fixed `fs.stat` on files inside asar archives returning `undefined` for `blksize` and `blocks` instead of numeric values.
  • Fixed a crash when rendering PDFs when Site Isolation is disabled.
  • Fixed a memory leak where Menu items were not cleaned up after Menu.setApplicationMenu was called repeatedly.
  • Fixed an issue where DevTools would re-attach to the window when opened after previously being detached.
  • Fixed an issue where `setSimpleFullScreen` on macOS would exit when web content called `requestFullscreen()`.
  • Fixed an issue where closing devtools immediately after focus caused a crash.
  • Fixed an issue where webContents.print() would ignore pageSize / mediaSize when silent was true.
  • Fixed aspect ratio min/max size clamping to correctly account for extraSize on macOS.
  • Fixed crash when `app.setPath('sessionData')` was called with a non-existent directory.
  • Fixed resize hit targets for frameless windows on Windows. Resize targets now start at the side and bottom edges of the window and extend outward when `frame: false`, matching the behavior for windows with frames.
  • Fixed the crash keys being lost and the crash reporter hanging on macOS when many dynamic crash keys were registered.
  • Moved Electron-specific help menu links to the default app only; unpackaged apps will no longer see these items in their default menu.

Affected Symbols