Changes up to Thunderbird 102 ESR
Thunderbird 95 Beta
compose API
added
relatedMessageId
property to the ComposeDetails type
Thunderbird 96 Beta
cloudFile API
added
templateInfo
as a supported return value property of the onFileUpload event, to specify a CloudFileTemplateInfo with additional information for the cloud file entry added to the users messageadded
error
as a supported return value property of the onFileUpload event, to show an error message to the user, in case upload failedadded onFileRename event to properly handle cloud file rename operations (the file on the server should be renamed as well, if the cloud file attachment in the email is renamed by the user)
messages API
added
attachment
as a supported property of the query(queryInfo) function, to be able to query for messages with or without attachments
Thunderbird 97 Beta
cloudFile API
deprecated the
manifest.service_url
entry, it is superseded by the optionalservice_url
property of the CloudFileTemplateInfoadded new optional properties to CloudFileTemplateInfo :
download_expiry_date
,download_limit
anddownload_password_protected
Thunderbird 98 Beta
accounts API
cloudFile API
added manifest property
reuse_uploads
, to allow providers to disable automatic link reuse of already known cloud files: If a previously uploaded cloud file attachment is reused at a later time in a different message, Thunderbird may use the already knownurl
andtemplateInfo
values without triggering the registered onFileUpload listener again. Setting this option to false will always trigger the registered listener, providing the already known values through therelatedFileInfo
parameter of the onFileUpload event, to let the provider decide how to handle these cases.added the
relatedFileInfo
parameter of the onFileUpload event: Information about an already uploaded cloud file, which is related to a new upload. For example if the content of a cloud attachment is updated, if a repeatedly used cloud attachment is renamed (and therefore should be re-uploaded to not invalidate existing links) or if the provider has its manifest propertyreuse_uploads
set tofalse
.
compose API
deprecated the
getFile()
function of the ComposeAttachment (example of a backward-compatible drop-in wrapper function)added getAttachmentFile(id) function to get the content of a ComposeAttachment as a DOM
File
objectadded support to use a ComposeAttachment as the attachment in addAttachment(tabId, attachment) and in ComposeDetails
modified the rules for
body
,plainTextBody
andisPlainText
properties of ComposeDetails in a backward compatible way - specifying both body types no longer causes an exception and it is now even suggested to always specify both and either let the API pick the users default compose mode, or use theisPlainText
property as selector
Thunderbird 100 Beta
compose API
added support for
customHeaders
in ComposeDetails
spacesToolbar API
added spacesToolbar
Thunderbird 101 Beta
cloudfile API
Support for manifest key
data_format
has been removed, the only supported format now isFile
.
messageDisplay API
getDisplayedMessage(tabId) now returns messages in inactive tabs.
Thunderbird 102.0 ESR
compose API
Added support for
additionalFccFolder
,attachVCard
,deliveryFormat
,deliveryStatusNotification
,overrideDefaultFcc
,overrideDefaultFccFolder
,priority
andreturnReceipt
in ComposeDetails.Added getActiveDictionaries(tabId), setActiveDictionaries(tabId, activeDictionaries) and onActiveDictionariesChanged
Added saveMessage(tabId, [options]) and changed the return value of sendMessage(tabId, [options]) from a boolean to a complex object with information about the sent message and its local copies - both functions return a Promise which resolves once the message operation has finished
folders API
Subfolders are now being returned in the order used in Thunderbird’s folder pane.
messages API
Added support for
headersOnly
to MessageHeader.Added createTag(key, tag, color), updateTag(key, updateProperties) and deleteTag(key).
messageDisplay API
Added open(openProperties) to open messages in tabs or windows.
Thunderbird 102.3.0 ESR
compose API
Backported the onAfterSave event.
Backported the onAfterSend event.