Skip to content

v0.12.0

Compare
Choose a tag to compare
@sindresorhus sindresorhus released this 09 Apr 17:55

Breaking:

  • Require Electron 4 or later b075c7f
  • The function given to the prepend and append options now receive a defaultActions argument as the first argument. So the previous first and second argument are now second and third.
  • For TypeScript users only:
    • Refactor TypeScript definition to CommonJS compatible export (#64) d447280
      • You need to change import contextMenu from 'electron-context-menu'; to import contextMenu = require('electron-context-menu');

Enhancements:

v0.11.0...v0.12.0