Skip to content

Commit

Permalink
include backport information
Browse files Browse the repository at this point in the history
  • Loading branch information
jobisoft committed Jan 29, 2021
1 parent 50d9cae commit ce66627
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 2 deletions.
2 changes: 2 additions & 0 deletions changes/beta81.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ messageDisplay
* :ref:`messageDisplay.onMessagesDisplayed`

See the documentation on those functions and events for more information.

*These changes have been backported to Thunderbird 78.4.0.*
12 changes: 11 additions & 1 deletion changes/beta82.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,24 @@ compose
* Attachments can now be specified in the :ref:`beginNew <compose.beginNew>`,
:ref:`beginReply <compose.beginReply>`, and :ref:`beginForward <compose.beginForward>` functions.

*This change has been backported to Thunderbird 78.4.0.*

tabs
====

* The :ref:`connect <tabs.connect>` and :ref:`sendMessage <tabs.sendMessage>` functions now work as
they do in Firefox.

*This change has been backported to Thunderbird 78.4.0.*

messageDisplayScripts/tabs
==========================

* Content script functions can now operate on a message display "tab" in the same way they do on a
content tab in Thunderbird or Firefox. This requires the new "messagesModify" permission.

*This change has been backported to Thunderbird 78.4.0.*

Here are some basic examples. See `the MDN documentation`__ for a more in-depth explanation.

.. code-block:: javascript
Expand Down Expand Up @@ -53,7 +59,11 @@ messageDisplayScripts/tabs
__ https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/contentScripts

* Scripts can also be registered to run automatically on messages being displayed, using the new
:doc:`/messageDisplayScripts` API. Again, this works just like the contentScripts API:
:doc:`/messageDisplayScripts` API.

*This change has been backported to Thunderbird 78.4.0.*

Again, this works just like the contentScripts API:

.. code-block:: javascript
Expand Down
5 changes: 5 additions & 0 deletions changes/beta83.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ compose

* :ref:`ComposeAttachment <compose.ComposeAttachment>` objects now have a ``size`` property with
the size of the attachment in bytes.

*This change has been backported to Thunderbird 78.5.0.*

contacts
========
Expand Down Expand Up @@ -34,5 +36,8 @@ menus
context menu on selected attachments in a compose window. The selected attachments can be
accessed from the ``attachments`` property in an :ref:`onShown <menus.onShown>` or
:ref:`onClicked <menus.onClicked>` listener.

*This change has been backported to Thunderbird 78.5.0.*

* The standard properties available to :ref:`onShown <menus.onShown>` are now available for
messages being displayed, if your extension has the ``messagesRead`` permission.
20 changes: 19 additions & 1 deletion changes/beta84.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,37 +8,55 @@ compose
* The :ref:`beginNew <compose.beginNew>` function now has an optional ``messageId`` argument. If
``messageId`` is provided, the referenced message is opened to compose as a new message. This
works for ordinary messages and templates.

*This change has been backported to Thunderbird 78.7.0.*

* Using :ref:`beginForward <compose.beginForward>` function with a ``forwardInline`` type and
``details`` argument specified has been fixed.

*This change has been backported to Thunderbird 78.7.0.*


menus
=====

* The standard properties available to :ref:`onShown <menus.onShown>` are now available for
messages being composed, if your extension has the ``compose`` permission.

*This change has been backported to Thunderbird 78.6.0.*

tabs
====

* At start-up, :ref:`tabs.create <tabs.create>` will now wait for a window to open before
attempting to open a tab.

*This change has been backported to Thunderbird 78.5.0.*

windows
=======

* The :ref:`windows.openDefaultBrowser` function has been added.

*This change has been backported to Thunderbird 78.6.0.*

browserAction
==================================================

* The :ref:`browserAction.setLabel` and :ref:`browserAction.getLabel` functions have been added. It is now possible to set a label value different from the title (which is used as tooltip text). The label can be set to an empty string to make the action button not have a label at all. If the toolbar is set to text-mode only (no icons), the action button label uses the title as fallback, in case an empty label has been set.

*This change has been backported to Thunderbird 78.6.0.*

composeAction
==================================================

* The :ref:`composeAction.setLabel` and :ref:`composeAction.getLabel` functions have been added. It is now possible to set a label value different from the title (which is used as tooltip text). The label can be set to an empty string to make the action button not have a label at all. If the toolbar is set to text-mode only (no icons), the action button label uses the title as fallback, in case an empty label has been set.

*This change has been backported to Thunderbird 78.6.0.*

messageDisplayAction
==================================================

* The :ref:`messageDisplayAction.setLabel` and :ref:`messageDisplayAction.getLabel` functions have been added. It is now possible to set a label value different from the title (which is used as tooltip text). The label can be set to an empty string to make the action button not have a label at all. If the toolbar is set to text-mode only (no icons), the action button label uses the title as fallback, in case an empty label has been set.
* The :ref:`messageDisplayAction.setLabel` and :ref:`messageDisplayAction.getLabel` functions have been added. It is now possible to set a label value different from the title (which is used as tooltip text). The label can be set to an empty string to make the action button not have a label at all. If the toolbar is set to text-mode only (no icons), the action button label uses the title as fallback, in case an empty label has been set.

*This change has been backported to Thunderbird 78.6.0.*
4 changes: 4 additions & 0 deletions changes/beta85.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@ accounts
* The ``composeHtml`` property has been added to the :ref:`accounts.MailIdentity` type, to indicate, if the identity uses HTML as the default compose format.
* The :ref:`accounts.getDefaultIdentity` function has been added, to get the default identity of a given account. Use :ref:`accounts.getDefault` to get the default account.

*These changes have been backported to Thunderbird 78.7.0.*

compose
=======

* The begin* functions now honor ``body``, ``plainTextBody`` and ``isPlaintext`` as compose format selectors, overriding the default compose format of the used/default identity. The :ref:`accounts_api` API can be used to get the used/default identity and its default compose format.

*This change has been backported to Thunderbird 78.7.0.*

messages
========

Expand Down

0 comments on commit ce66627

Please sign in to comment.