Changes up to Thunderbird 102 ESR
Thunderbird 95 Beta
compose API
added
relatedMessageIdproperty to the ComposeDetails type
Thunderbird 96 Beta
cloudFile API
added
templateInfoas 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
erroras 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
attachmentas 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_urlentry, it is superseded by the optionalservice_urlproperty of the CloudFileTemplateInfoadded new optional properties to CloudFileTemplateInfo :
download_expiry_date,download_limitanddownload_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 knownurlandtemplateInfovalues without triggering the registered onFileUpload listener again. Setting this option to false will always trigger the registered listener, providing the already known values through therelatedFileInfoparameter of the onFileUpload event, to let the provider decide how to handle these cases.added the
relatedFileInfoparameter 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_uploadsset 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
Fileobjectadded support to use a ComposeAttachment as the attachment in addAttachment(tabId, attachment) and in ComposeDetails
modified the rules for
body,plainTextBodyandisPlainTextproperties 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 theisPlainTextproperty as selector
Thunderbird 100 Beta
compose API
added support for
customHeadersin ComposeDetails
spacesToolbar API
added spacesToolbar
Thunderbird 101 Beta
cloudfile API
Support for manifest key
data_formathas 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,priorityandreturnReceiptin 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
headersOnlyto 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.