Skip to content

1.47.0: Electron 44.10.0 - #67

Merged
writingdeveloper merged 2 commits into
mainfrom
chore/electron-44
Oct 27, 2026
Merged

writingdeveloper merged 2 commits into
mainfrom
chore/electron-44

Conversation

@writingdeveloper

Copy link
Copy Markdown
Owner

What

Electron 43.8.4 → 44.10.0 (Chromium 152, Node.js 24), as its own release so a regression has one cause. Replaces Dependabot's #50 (44.9.0), whose CI failed in every job.

Breaking changes that applied

  • clipboard.readText() returns a Promise → LinkService.clipboardInvite() is async (interface + 3 tests).
  • clipboard.readImage() / writeImage() removed → new src/main/clipboardImage.ts (readClipboardPng via clipboard.read() + ClipboardItem.getType('image/png'), writeClipboardPng via clipboard.write()). Handlers clipboard:readImage, clipboard:readImageBytes, clipboard:writeImage use it; ipc.guard.test mocks it.
  • macOS 13+ required (release notes + README).

Checked and not applicable: 32-bit builds (x64 only), openAsHidden (not used), clipboard in renderer (renderer imports nothing from electron).

Verified

  • Real Electron 44 on Windows: a bitmap placed by PowerShell reads as image/png 20×10 (111 bytes); a 3×4 PNG written through clipboard.write reads back at 3×4 (95 bytes); readText() is a Promise.
  • tsc clean, 1531 tests, build OK, npm audit --audit-level=high clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_016NLGwiBY5uEivJqERQzcoY

writingdeveloper and others added 2 commits October 27, 2026 12:09
Runtime update on its own, so a regression has one cause. Electron 44
changed the clipboard module to the W3C shape:

- clipboard.readText() is a Promise now → clipboardInvite() is async
  (interface, implementation, three tests).
- clipboard.readImage() / writeImage() are gone → src/main/clipboardImage.ts
  reads the image through clipboard.read() + ClipboardItem.getType('image/png')
  and writes through clipboard.write(). Verified with a real Electron 44 on
  Windows: a bitmap put on the clipboard by PowerShell reads as image/png at
  20x10; a 3x4 PNG written by DevDeck reads back at 3x4. The three handlers
  (clipboard:readImage, readImageBytes, writeImage) call the helper; the
  guard tests mock it.
- macOS 13+ is now required (Electron 44 dropped macOS 12). x64-only
  builds, no openAsHidden, no electron import in the renderer: nothing else
  in the breaking-changes list applies.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016NLGwiBY5uEivJqERQzcoY
CI's Windows journeys failed on `clipboard.readImage is not a function`:
the harnesses saved, checked and restored the clipboard image through the
removed readImage()/writeImage(). They now go through read() /
write() + ClipboardItem, as the app does. image-rows passes locally on
44.10.0; link.mjs is the local two-instance script (not run in CI).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016NLGwiBY5uEivJqERQzcoY
@writingdeveloper
writingdeveloper merged commit a7a9ab1 into main Oct 27, 2026
16 checks passed
@writingdeveloper
writingdeveloper deleted the chore/electron-44 branch October 27, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant