Changes in Thunderbird 106
browserAction API
Introduced a
default_windows
manifest property, to allow a browserAction buttons to be displayed in stand alone message windows.
commands API
Added the
tab
parameter to onCommand, to get information about the active tab, when a command occurs.
compose API
Added onAfterSave event, to be notified when saving a message as a draft or a template succeeded or failed.
Added onAfterSend event, to be notified when sending a message succeeded or failed.
contacts API
Added getPhoto(id) to be able to retrieve the photo of a contact.
mailTabs API
messages API
Added the
message
member to the MessageAttachment type, to provide access to attached messages.Added the
external
member to the MessageHeader type, to indicate if a message is an external message, not stored in a message folder (message attachments or messages opened from file).Added the
new
member to the MessageHeader type, to indicate if a message has been received recently and is marked as new.Added import(file, destination, [properties]) to import messages into Thunderbird (currently only supported for local folders).
Renamed
MessageChangeProperties
to MessageProperties, as it is now also used by import(file, destination, [properties]), to define the properties of the imported message.Added the
new
member to the MessageProperties type (currently only supported by import(file, destination, [properties])).
messageDisplay API
Fixed onMessageDisplayed to be triggered for external messages.
Bugzilla list of all fixed WebExtension API bugs in Thunderbird 103, Thunderbird 104, Thunderbird 105 and Thunderbird 106.