npm / electron-context-menu
electron-context-menu
What changed in electron-context-menu 4 to 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.
2 breaking7 new APIs and options2 behavior and defaults1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initelectron-context-menu 511 changes
Breaking changes 2
Hide file:// URL items by default.
Electron 44 is now required to use this package.
New APIs and options 7
Allow translating the “No Guesses Found” placeholder.
Make the search menu item configurable.
Add the showDictionarySuggestions option.
Add the showPasteAndMatchStyle option.
Add the showPictureInPicture option.
Add the updateMenu option.
The prepend, append, and menu callbacks now accept WebContentsView.
Behavior and default changes 2
Show the Copy Image item when right-clicking a canvas.
A custom menu item can replace a default action with the same id.
electron-context-menu 41 changes
Fixes and other changes 1
Fixes a crash when webContents is detached before the destroyed event.