All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
4.0.0 - 2024-10-22
- BREAKING: Added required
licenseproperty to ElectronChromeExtensions constructor.
There are several applications distributing this package without sponsoring. I'm attempting to make this requirement more obvious ahead of Manifest V3 support.
3.10.1 - 2023-06-02
chrome.webNavigationinternals erroring due to electron@25.x.y deprecations.- Unloaded extensions are now removed from
<browser-action-list>.
3.10.0 - 2023-01-16
- Added URL pattern matching to
chrome.tabs.query. - Added title pattern matching to
chrome.tabs.query. chrome.tabs.createandchrome.tabs.updatenow resolve relative URLs.
ElectronChromeExtensions.getContextMenuItems()now groups multiple top-level items under an extension submenu.- Removed the ability for
tabs.createandtabs.updateto setchrome://orjavascript:URLs. - Updated vulnerable dependencies.
3.9.0 - 2021-09-04
chrome.webNavigation.onDOMContentLoadedfor iframes—electron@15.0.0-beta.2required.
- Reduced IPC traffic for updated extension icons.
chrome.contextMenus.onClickedcallback was never invoked.partitionof<browser-action-list>would error when a remote session partition was set.
3.8.0 - 2021-06-14
chrome.cookies.onChangedchrome.extension.isAllowedIncognitoAccess
- Extension background scripts now subscribe to API events to cut down on IPC traffic.
selectTab()from theElectronChromeExtensionsconstructor options is now called when the Chrome extensions API sets the active tab.
3.7.0 - 2021-06-05
- Exposed
actionandbadgeCSS shadow parts for customizing<browser-action-list>element.
- Calling
ElectronChromeExtensions.getContextMenuItems()threw an error when nobrowser_actionwas defined in an extension's manifest file.
3.6.1 - 2021-06-05
- Included license files in NPM package.
3.6.0 - 2021-05-20
- Initial
chrome.contextMenusupport when right-clicking browser actions. - Support
chrome.contextMenuentries withparentIdset. - Added
ElectronChromeExtensions.fromSession()to get an existing instance.
- Renamed
Extensionsclass toElectronChromeExtensions.
- Disabled
chrome.contextMenuitems now appear disabled instead of being hidden.
3.5.0 - 2021-05-09
- Stubbed
chrome.commandsmethods.
- Browser action popup not using
browserAction.setPopup()value.
3.4.0 - 2021-04-07
- Added
Extensions.removeExtension(extension).
- Improvements to the browser action styles.
- Errors being thrown in Electron 12 when
'extension-unloaded'is emitted.
3.3.0 - 2021-02-10
<browser-action-list>now supports custom sessions which can be set using thepartitionattribute.
<browser-action-list>'stabattribute is now optional and will use the active tab by default.
- Fixed
browser-action-listbadge text not updating after being removed.
3.2.0 - 2021-02-07
- Added
modulePathoption toExtensionsconstructor.
3.1.1 - 2021-01-27
- Fix
browser-action-listAPI not working whencontextIsolationis disabled.
3.1.0 - 2021-01-24
- Basic
chrome.notificationssupport chrome.browserAction.onClickedchrome.tabs.executeScriptfor the active tabchrome.webNavigation.onBeforeNavigate,chrome.webNavigation.onDOMContentLoaded,chrome.webNavigation.onCompletedchrome.webNavigation.getFrameandchrome.webNavigation.getAllFrames(Electron 12+)
3.0.0 - 2021-01-15
- Most of
chrome.cookies - Most of
chrome.windows chrome.tabs.getAllInWindowchrome.webNavigation.getAllFrameschrome.storagenow useslocalas a fallback forsyncandmanagedwhich aren't currently supported by Electron.- Basic hover style for
<browser-action-list>items.
- BREAKING: Replace
eventobject passed intoExtensionsconstructor option. functions with an instance of the tab'sBrowserWindowowner.
- Extension action popups now resize appropriately in electron@12.x.y.