Changelog for Thunderbird 115.0
The following WebExtension API changes were introduced in Thunderbird 115.0.
action
Use the action API to add a button to Thunderbird’s unified toolbar. In addition to its icon, an action button can also have a tooltip, a badge, and a popup.
commands
event onChanged — Fired when a registered command’s shortcut is changed.
composeAction
function getBadgeBackgroundColor.details.tabId — Specifies for which tab the badge background color should be retrieved. If no tab is specified, the global value is retrieved.
function getBadgeBackgroundColor.details.windowId — Will throw an error if used.
function getBadgeText.details.tabId — Specifies for which tab the badge text should be retrieved. If no tab is specified, the global value is retrieved.
function getBadgeText.details.windowId — Will throw an error if used.
function getLabel.details.tabId — Specifies for which tab the label should be retrieved. If no tab is specified, the global value is retrieved.
function getLabel.details.windowId — Will throw an error if used.
function getPopup.details.tabId — Specifies for which tab the popup document should be retrieved. If no tab is specified, the global value is retrieved.
function getPopup.details.windowId — Will throw an error if used.
function getTitle.details.tabId — Specifies for which tab the title should be retrieved. If no tab is specified, the global value is retrieved.
function getTitle.details.windowId — Will throw an error if used.
function isEnabled.details.tabId — Specifies for which tab the state should be retrieved. If no tab is specified, the global value is retrieved.
function isEnabled.details.windowId — Will throw an error if used.
function openPopup.options — An object with information about the popup to open.
declarativeNetRequest
Use the declarativeNetRequest API to block or modify network requests by specifying declarative rules.
messageDisplay
function open.openProperties.file — The DOM file object of a message to be opened.
messageDisplayAction
function getBadgeBackgroundColor.details.tabId — Specifies for which tab the badge background color should be retrieved. If no tab is specified, the global value is retrieved.
function getBadgeBackgroundColor.details.windowId — Will throw an error if used.
function getBadgeText.details.tabId — Specifies for which tab the badge text should be retrieved. If no tab is specified, the global value is retrieved.
function getBadgeText.details.windowId — Will throw an error if used.
function getLabel.details.tabId — Specifies for which tab the label should be retrieved. If no tab is specified, the global value is retrieved.
function getLabel.details.windowId — Will throw an error if used.
function getPopup.details.tabId — Specifies for which tab the popup document should be retrieved. If no tab is specified, the global value is retrieved.
function getPopup.details.windowId — Will throw an error if used.
function getTitle.details.tabId — Specifies for which tab the title should be retrieved. If no tab is specified, the global value is retrieved.
function getTitle.details.windowId — Will throw an error if used.
function isEnabled.details.tabId — Specifies for which tab the state should be retrieved. If no tab is specified, the global value is retrieved.
function isEnabled.details.windowId — Will throw an error if used.
function openPopup.options — An object with information about the popup to open.
messages
function import — Imports a message into a folder. Supports local folders, POP and IMAP folders. Throws, if the destination folder already contains a message with the Message-ID of the message being imported.
function openAttachment — Opens the specified attachment.
type MessageAttachment.message — A MessageHeader, if this attachment is a message.
type MessageHeader.external — Whether this message is a real message or an external message (opened from a file or from an attachment).
type MessageHeader.new — Whether the message has been received recently and is marked as new.
type MessageProperties — Message properties used in messages.update and messages.import. They can also be monitored by messages.onUpdated.
sessions
The sessions API allows to add tab related session data to Thunderbird’s tabs, which will be restored on app restart.
spaces
The spaces API allows to manage built-in and custom spaces, and to add buttons for custom spaces to Thunderbird’s spaces toolbar.
storage
property session — Items in the session storage area are kept in memory, and only until the either browser or extension is closed or reloaded.
tabs
function create.createProperties.cookieStoreId — The CookieStore id the new tab should use. Either a custom id created using the contextualIdentities API, or a built-in one: firefox-default, firefox-container-1, firefox-container-2, firefox-container-3, firefox-container-4, firefox-container-5.
function query.queryInfo.cookieStoreId — The CookieStore id(s) used by the tabs. Either custom ids created using the contextualIdentities API, or built-in ones: firefox-default, firefox-container-1, firefox-container-2, firefox-container-3, firefox-container-4, firefox-container-5.
function query.queryInfo.spaceId — The id of the space the tabs should belong to.
event onActivated.activeInfo.previousTabId — The ID of the tab that was previously active, if that tab is still open.
type Tab.cookieStoreId — The CookieStore id used by the tab. Either a custom id created using the contextualIdentities API, or a built-in one: firefox-default, firefox-container-1, firefox-container-2, firefox-container-3, firefox-container-4, firefox-container-5.
type Tab.spaceId — The id of the space.
webRequest
type SecurityInfo.secretKeyLength — The length (in bits) of the secret key.
type SecurityInfo.usedDelegatedCredentials — True if the TLS connection used Delegated Credentials.
type SecurityInfo.usedEch — True if the TLS connection used Encrypted Client Hello.
type SecurityInfo.usedOcsp — True if the TLS connection made OCSP requests.
type SecurityInfo.usedPrivateDns — True if the TLS connection used a privacy-preserving DNS transport like DNS-over-HTTPS.
windows
function create.createData.cookieStoreId — The CookieStore id which all initially opened tabs should use. Either a custom id created using the contextualIdentities API, or a built-in one: firefox-default, firefox-container-1, firefox-container-2, firefox-container-3, firefox-container-4, firefox-container-5.