Skip to content

Commit

Permalink
include backport info in latest as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jobisoft committed Jan 3, 2021
1 parent 1512082 commit 1561a4c
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 17 deletions.
5 changes: 2 additions & 3 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ __ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises
but also through the *messenger.\** namespace, which is a better fit for Thunderbird.

Thunderbird APIs
=================
================

Thunderbird provides the following messenger related WebExtension APIs, which are sometimes referred to as MailExtension APIs:

Expand Down Expand Up @@ -102,7 +102,7 @@ The documentation for these APIs is generated automatically from the schema docu
__ https://hg.mozilla.org/comm-central/file/tip/mail/components/extensions/schemas/

Firefox APIs
=================
============

As Thunderbird is based on Firefox, many of its WebExtension APIs can be used in Thunderbird
as well. The APIs listed in the following table are known to work with Thunderbird.
Expand Down Expand Up @@ -176,7 +176,6 @@ as well. The APIs listed in the following table are known to work with Thunderbi
.. _dns: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/dns
.. _downloads: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/downloads
.. _extension: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/extension
.. _experiments: https://firefox-source-docs.mozilla.org/toolkit/components/extensions/webextensions/basics.html#webextensions-experiments
.. _i18n: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/i18n
.. _identity: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/identity
.. _idle: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/idle
Expand Down
6 changes: 4 additions & 2 deletions overlay/compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"added": "75"
},
"attachments": {
"added": "82"
"added": "82",
"backported": "78.4"
}
}
},
Expand All @@ -34,7 +35,8 @@
"added": "78",
"properties": {
"size": {
"added": "83"
"added": "83",
"backported": "78.5.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion overlay/mailTabs.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
},
"displayedFolder": {
"$ref": "folders.MailFolder",
"description": "The ``accountsRead`` permission is required."
"description": "The <permission>accountsRead</permission> permission is required for this property to be included."
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion overlay/menus.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"id": "ContextType",
"enumChanges": {
"compose_attachments": {
"added": 83
"added": 83,
"backported": "78.5.0"
}
}
},
Expand Down
4 changes: 3 additions & 1 deletion overlay/messageDisplay.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
{
"name": "getDisplayedMessages",
"added": "81",
"backported": "78.4",
"returns": {
"type": "array",
"items": {
Expand All @@ -33,7 +34,8 @@
},
{
"name": "onMessagesDisplayed",
"added": "81"
"added": "81",
"backported": "78.4"
}
]
}
Expand Down
7 changes: 4 additions & 3 deletions overlay/messageDisplayScripts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
messageDisplayScripts
=====================

This message display scripts API first appeared in Thunderbird 82. Functionally it is the same as
the `content scripts`__ API except that it works on the document of email messages being displayed.
See the MDN documentation for a more in-depth explanation and :doc:`/changes/beta82` for examples.
This message display scripts API first appeared in Thunderbird 82 and was backported to Thunderbird
78.4. Functionally it is the same as the `content scripts`__ API except that it works on the
document of email messages being displayed. See the MDN documentation for a more in-depth
explanation and :doc:`/changes/beta82` for examples.

See also :ref:`executeScript <tabs.executeScript>`, :ref:`insertCSS <tabs.insertCSS>`,
:ref:`removeCSS <tabs.removeCSS>`, and :doc:`composeScripts`.
Expand Down
2 changes: 1 addition & 1 deletion overlay/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
},
"folder": {
"$ref": "folders.MailFolder",
"description": "The ``accountsRead`` permission is required."
"description": "The <permission>accountsRead</permission> permission is required for this property to be included."
},
"tags": {
"type": "array",
Expand Down
12 changes: 7 additions & 5 deletions overlay/tabs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,30 @@
{
"name": "executeScript",
"changed": {
"77" : "with the <permission>compose</permission> permission, this now works in the document of email messages during composition."
"77": "With the <permission>compose</permission> permission, this now works in the document of email messages during composition."
}
},
{
"name": "insertCSS",
"changed": {
"77" : "with the <permission>compose</permission> permission, this now works in the document of email messages during composition."
"77": "With the <permission>compose</permission> permission, this now works in the document of email messages during composition."
}
},
{
"name": "removeCSS",
"changed": {
"77" : "with the <permission>compose</permission> permission, this now works in the document of email messages during composition."
"77": "With the <permission>compose</permission> permission, this now works in the document of email messages during composition."
}
},
{
"name": "connect",
"added": "82"
"added": "82",
"backported": "78.4"
},
{
"name": "sendMessage",
"added": "82"
"added": "82",
"backported": "78.4"
}
]
}
Expand Down

0 comments on commit 1561a4c

Please sign in to comment.