getThunderbirdVersion().major >= 91to check the version.
headerNameused for the styling header entries has been renamed to
message-header-label. The class
message-header-rowhas been added, styling the entire row.
msgHeaderView-buttonused to style toolbar buttons has been renamed to
stringbundleelement has been removed from
messenger.xhtml. To access the strings, you have to load the bundle directly:
calAsyncUtils.jsm. Additionally, the
getItem()method will return the item directly instead of an array with the item. Replace
calIOperationinterfaces are still used in various places but the general direction is to remove them eventually after 102 in favor of Promises and ReadableStreams. If you have code that uses them internally, please update where feasible.
modifyItemfunctions and make sure to throw an error in case of failure.
_cachedModifyItemCallbackproperties on your provider class. This is an unfortunate hack needed to maintain the order the
onAddItemevent is fired by
calCachedCalendar. These listeners need to be called just before returning.
Note: It is important to store the callbacks before executing any async work to avoid issues when the same operation is run in concurrently. See the example below.
ReadableStream. For cached providers, ensure you are returning the result from the offline cache:
BaseClassprovider has a default implementation however providers not extending it should provide their own implementation. If you intend to use this method, please be careful about memory usage with large queries.
_vCardproperty. The interface has gained two new members:
supportsVCarda boolean value indicating support for vCard (or lack thereof).
VCardPropertiesobject if the card supports vCard, or null
card.setProperty(). A limited set of banished properties can still be read from:
AddrBookCardobject is a wrapper for
nsIAbCardto enable support for vCards. No longer use
nsIAbCardto create a new card:
AddrBookCardfrom the updated vCard string and enforce the same UID:
getURLSpecFromFilehas been replaced by
getURLSpecFromDirin Thunderbird 92. Use the variant which fits your
onFolder*()in Thunderbird 94. Where needed, dedicated
onMessage*()callback functions have been added:
nsIMsgCompSendFormat.Autoin Thunderbird 101.
FolderUtils.jsm. Replace this former usage: