Changes up to Thunderbird 121 Beta
Thunderbird 117 Beta
messages API
Added the optional
data_formatparameter to getRaw(messageId, [options]) to request the message as a DOMFileobject.
Thunderbird 120 Beta
messages API
Added abortList(messageListId) to terminate any process currently still adding messages to the given list.
Added the
messagesPerPageproperty to thequeryInfoparameter of query([queryInfo]), to allow queries to override the default size of message pages. See Working with message lists for more information.Added the
autoPaginationTimeoutproperty to thequeryInfoparameter of query([queryInfo]), to allow queries to override the default pagination timeout of1000ms. Long running queries will return pages even if they have not reached the nominal page size, to allow extensions to work with the already received results or terminate the list (and the associated query) using abortList(messageListId).Added the
returnMessageListIdproperty to thequeryInfoparameter of query([queryInfo]), to force queries to immediately return the id of the list associated with the query, instead of waiting for at least one found message and returning the first page.
Thunderbird 121 Beta
accounts API
Removed the deprecated function
accounts.getDefaultIdentity().Removed the deprecated function
accounts.setDefaultIdentity().
folders API
The folders API has been changed to use a MailFolderId instead of MailFolder, to specify a folder. The nature of the id will change in a future release.
Added get(folderId, [includeSubFolders]) to retrieve a folder identified by the given MailFolderId.
Added getFolderCapabilities(folderId) to retrieve capabilitiy information about a given folder.
Added markAsRead(folderId) to mark all messages in a folder as read.
Added query([queryInfo]) to query for folders with specified properties.
Added update(folderId, updateProperties) to update properties of the given folder.
Added the onUpdated event.
Added
isVirtual,isRootandisFavoritemembers to the MailFolder type.Added
lastUsed,newMessageCountandquotamembers to the MailFolderInfo type.The
typemember of the MailFolder type has been deprecated. It was replaced by the array memberspecialUse, allowing folders to have multiple special uses.The
favoritemember of the MailFolderInfo type has been deprecated. It was replaced by theisFavoriteproperty of the MailFolder type.
mailTabs API
Added create([createProperties]), to create a new mail tab with a specified folder.
Added getListedMessages([tabId]), to retrieve the messages currently being listed in the specified tab, honoring sort order and filters.
The
displayedFolderproperty of the MailTabProperties parameter used in various functions needs to use a MailFolderId instead of MailFolder, to specify a folder.
messages API
Added the
accountId,folderId,junk,junkScore,newandsizeproperties to thequeryInfoparameter of query([queryInfo]), to query for messages with the given properties.Added the ability to query([queryInfo]) for a range instead of a fixed value for
attachment,junkScoreandsize.Added the
monitorAllFoldersparameter to the onNewMailReceived event, to allow extensions to listen for new messages in all folders, not just in inbox folders.The functions list(folderId), move(messageIds, folderId), copy(messageIds, folderId) and import(file, folderId, [properties]) need to use a MailFolderId instead of MailFolder, to specify a folder.