Change8

v42.4.1

📦 electronView on GitHub →
🐛 4 fixes🔧 6 symbols

Summary

This patch release primarily focuses on fixing several critical bugs related to DevTools debugging, safeStorage initialization, Linux window rendering, and renderer crashes involving WebAssembly streaming.

Migration Steps

  1. If you were relying on safeStorage.isAsyncEncryptionAvailable() returning a boolean, update your code to handle its new return type, which is now a Promise.

🐛 Bug Fixes

  • Fixed DevTools Network panel missing most requests after navigating when webContents.debugger is attached.
  • Fixed safeStorage.isAsyncEncryptionAvailable() incorrectly reporting false shortly after the app ready event, and a crash when calling safeStorage.encryptStringAsync() or safeStorage.decryptStringAsync() before async encryption initialization completed. safeStorage.isAsyncEncryptionAvailable() now returns a Promise as documented.
  • Fixed a bug on Linux where a 1px line appeared at the top of frameless windows if the window and web contents had different background colors.
  • Fixed a renderer crash when calling WebAssembly.compileStreaming() or WebAssembly.instantiateStreaming() with nodeIntegration enabled.

Affected Symbols