The Jetpack team is excited to announce the launch of Jetpack SDK 0.5. This latest release offers more APIs for you to build add-ons with. For instance, one of the new APIs enables you to access tab information and control tab-related actions, e.g. opening/closing tabs.
The new APIs in Jetpack SDK are:
- Tabs API – Provides easy access to tabs and tab-related events.
- Request API – Lets you easily make network requests.
- Load/unload reasons – Add-ons can now find out when they are being loaded for the first time after being installed or enabled and unloaded because they are being uninstalled or disabled.
- Localization API – Provides simple localization functionality. It makes it possible to retrieve localized versions of the strings in your code. And it doesn’t require you to solicit localizations from localizers or bundle localizations with your code, as the module retrieves them automatically from a web service based on the strings your code is using.
- Selection API – Provides a means to get and set current text/HTML selections as well as observe new selections.
- And in case you have not been following the latest Jetpack developments, we also launched Page Worker, Widget, Simple Storage and Private Browsing APIs in previous releases. A complete list of APIs can be found in the core library reference.
For more information:
- Discuss, debate, and get help in the discussion forum.
- Chat via IRC in #jetpack on irc.mozilla.org.
- Submit a bug report.
- Grab the source code and fix a bug or add a feature.
For more about Jetpack, check out the Jetpack Blog, where you can read older entries. Future Jetpack related entries will get cross posted to the Add-ons Blog.