# What changed in electron-context-menu

> 12 changes in electron-context-menu 4 to 5 from its official release notes, upgrade guides and advisories: 2 breaking, 7 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/electron-context-menu/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## electron-context-menu 5

### Breaking changes

- Hide file:// URL items by default. (5.1.0) — [release notes](https://github.com/sindresorhus/electron-context-menu/releases/tag/v5.1.0)
- Electron 44 is now required to use this package. (5.0.0) — [release notes](https://github.com/sindresorhus/electron-context-menu/releases/tag/v5.0.0)

### New APIs and options

- Allow translating the “No Guesses Found” placeholder. (5.1.0) — [release notes](https://github.com/sindresorhus/electron-context-menu/releases/tag/v5.1.0)
- Make the search menu item configurable. (5.1.0) — [release notes](https://github.com/sindresorhus/electron-context-menu/releases/tag/v5.1.0)
- Add the showDictionarySuggestions option. (5.1.0) — [release notes](https://github.com/sindresorhus/electron-context-menu/releases/tag/v5.1.0)
- Add the showPasteAndMatchStyle option. (5.1.0) — [release notes](https://github.com/sindresorhus/electron-context-menu/releases/tag/v5.1.0)
- Add the showPictureInPicture option. (5.1.0) — [release notes](https://github.com/sindresorhus/electron-context-menu/releases/tag/v5.1.0)
- Add the updateMenu option. (5.1.0) — [release notes](https://github.com/sindresorhus/electron-context-menu/releases/tag/v5.1.0)
- The prepend, append, and menu callbacks now accept WebContentsView. (5.0.0) — [release notes](https://github.com/sindresorhus/electron-context-menu/releases/tag/v5.0.0)

### Behavior and default changes

- Show the Copy Image item when right-clicking a canvas. (5.1.0) — [release notes](https://github.com/sindresorhus/electron-context-menu/releases/tag/v5.1.0)
- A custom menu item can replace a default action with the same id. (5.1.0) — [release notes](https://github.com/sindresorhus/electron-context-menu/releases/tag/v5.1.0)

## electron-context-menu 4

### Fixes and other changes

- Fixes a crash when webContents is detached before the destroyed event. (4.1.2) — [release notes](https://github.com/sindresorhus/electron-context-menu/releases/tag/v4.1.2)
