npm / electron-context-menu
electron-context-menu
What changed in electron-context-menu 1 to 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
7 breaking9 new APIs and options2 behavior and defaults2 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 44 changes
Breaking changes 3
The package is now pure ESM, so projects using it must follow ESM module conventions.
Electron 30 is now required to use the package.
Node.js 18 is now required to use the package.
Fixes and other changes 1
Fixes a crash when webContents is detached before the destroyed event.
electron-context-menu 32 changes
Breaking changes 1
The package now requires Electron 10.
Fixes and other changes 1
Fixes compatibility with Electron 12.
electron-context-menu 21 changes
Breaking changes 1
The menu item was removed because Electron provides no way to enable auto-correction, and it only corrected the first word.
electron-context-menu 12 changes
New APIs and options 2
Adds the showSaveImage option.
Adds built-in support for spellchecking.