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.
3.9.0 - 2021-09-04
chrome.webNavigation.onDOMContentLoaded
for iframes—[email protected]
required.
- Reduced IPC traffic for updated extension icons.
chrome.contextMenus.onClicked
callback was never invoked.partition
of<browser-action-list>
would error when a remote session partition was set.
3.8.0 - 2021-06-14
chrome.cookies.onChanged
chrome.extension.isAllowedIncognitoAccess
- Extension background scripts now subscribe to API events to cut down on IPC traffic.
selectTab()
from theElectronChromeExtensions
constructor options is now called when the Chrome extensions API sets the active tab.
3.7.0 - 2021-06-05
- Exposed
action
andbadge
CSS shadow parts for customizing<browser-action-list>
element.
- Calling
ElectronChromeExtensions.getContextMenuItems()
threw an error when nobrowser_action
was 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.contextMenu
support when right-clicking browser actions. - Support
chrome.contextMenu
entries withparentId
set. - Added
ElectronChromeExtensions.fromSession()
to get an existing instance.
- Renamed
Extensions
class toElectronChromeExtensions
.
- Disabled
chrome.contextMenu
items now appear disabled instead of being hidden.
3.5.0 - 2021-05-09
- Stubbed
chrome.commands
methods.
- 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 thepartition
attribute.
<browser-action-list>
'stab
attribute is now optional and will use the active tab by default.
- Fixed
browser-action-list
badge text not updating after being removed.
3.2.0 - 2021-02-07
- Added
modulePath
option toExtensions
constructor.
3.1.1 - 2021-01-27
- Fix
browser-action-list
API not working whencontextIsolation
is disabled.
3.1.0 - 2021-01-24
- Basic
chrome.notifications
support chrome.browserAction.onClicked
chrome.tabs.executeScript
for the active tabchrome.webNavigation.onBeforeNavigate
,chrome.webNavigation.onDOMContentLoaded
,chrome.webNavigation.onCompleted
chrome.webNavigation.getFrame
andchrome.webNavigation.getAllFrames
(Electron 12+)
3.0.0 - 2021-01-15
- Most of
chrome.cookies
- Most of
chrome.windows
chrome.tabs.getAllInWindow
chrome.webNavigation.getAllFrames
chrome.storage
now useslocal
as a fallback forsync
andmanaged
which aren't currently supported by Electron.- Basic hover style for
<browser-action-list>
items.
- BREAKING: Replace
event
object passed intoExtensions
constructor option. functions with an instance of the tab'sBrowserWindow
owner.
- Extension action popups now resize appropriately in [email protected].