<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mozilla Add-ons Blog &#187; Dave Mason</title>
	<atom:link href="http://blog.mozilla.org/addons/author/dmasonmozilla-com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.org/addons</link>
	<description></description>
	<lastBuildDate>Wed, 22 May 2013 19:53:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Announcing Add-on SDK 1.7!</title>
		<link>http://blog.mozilla.org/addons/2012/05/15/announcing-add-on-sdk-1-7/</link>
		<comments>http://blog.mozilla.org/addons/2012/05/15/announcing-add-on-sdk-1-7/#comments</comments>
		<pubDate>Tue, 15 May 2012 22:57:51 +0000</pubDate>
		<dc:creator>Dave Mason</dc:creator>
				<category><![CDATA[builder]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[releases]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=4851</guid>
		<description><![CDATA[The Jetpack team is happy to announce the release of Add-on SDK version 1.7! You can download the SDK directly in either zip or tarball format. This version of the SDK is mostly a bug-fix release but with a few added features. Some of the important features included in this release are: Plural forms for&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2012/05/15/announcing-add-on-sdk-1-7/" title="Read the rest of &#8220;Announcing Add-on SDK 1.7!&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>The Jetpack team is happy to announce the release of Add-on SDK version 1.7! You can download the SDK directly in either <a target="_blank" href="https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/addon-sdk-1.7.zip">zip</a> or <a target="_blank" href="https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/addon-sdk-1.7.tar.gz">tarball</a> format. This version of the SDK is mostly a bug-fix release but with a few added features.</p>
<p>Some of the important features included in this release are:</p>
<ul>
<li><a target="_blank" href="https://github.com/mozilla/addon-sdk/blob/master/doc/dev-guide-source/tutorials/l10n.md#plurals">Plural forms for localization</a> &#8211; many languages treat plural forms of words in different manners. The SDK&#8217;s l10n functionality now supports those forms across languages.</li>
<li><a target="_blank" href="https://github.com/mozilla/addon-sdk/blob/master/packages/api-utils/docs/promise.md">Implementation of &#8216;Promise Abstractions&#8217;</a> &#8211; Promises provide an interface for interacting with an object that represents the result of an action that is performed asynchronously, and may or may not be finished at any given point in time. In the Add-on SDK, we follow the <a href="http://wiki.commonjs.org/wiki/Promises/A">CommonJS Promise/A Implementation</a>.</li>
<li><a target="_blank" href="https://github.com/mozilla/addon-sdk/blob/master/packages/addon-kit/docs/page-mod.md#styling-web-pages">contentStyle/contentStyleFile</a> &#8211; this give you the ability to inject a CSS file into a web page.</li>
</ul>
<p>For more new features and a list of the bug fixes that are shipping in this release, please see the <a href="https://wiki.mozilla.org/Labs/Jetpack/Release_Notes/1.7">Release Notes</a>.</p>
<p>As of this writing the documentation for SDK 1.7 is not available in the usual place, however they should be available by Thursday, May 17th. I will update this post when they are live, but in the meantime you have two options:</p>
<ol>
<li>view them on Github: <a target="_blank" href="https://github.com/mozilla/addon-sdk/tree/master/doc/dev-guide-source">[ Tutorials &amp; Guides ]</a> <a target="_blank" href="https://github.com/mozilla/addon-sdk/tree/master/packages/addon-kit/docs">[ Addon-kit API Docs ]</a></li>
<li>download the SDK, <a target="_blank" href="https://github.com/mozilla/addon-sdk/blob/master/doc/dev-guide-source/tutorials/installation.md">activate the SDK environment</a> and then run <code>cfx docs</code> to generate your own local copy of the documentation.</li>
</ol>
<p>As always, we&#8217;d love to hear from you about your experiences with this release. You can contact us in a variety of ways:</p>
<p><a href="http://groups.google.com/group/mozilla-labs-jetpack">post to our discussion group</a><br />
<a href="http://mibbit.com/?channel=%23jetpack&#038;server=irc.mozilla.org">chat with us on irc.mozilla.org #jetpack</a><br />
<a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Add-on%20SDK&#038;component=General">report a bug</a><br />
<a href="http://github.com/mozilla/addon-sdk/">check out the source<a/> and contribute bug fixes, enhancements, or documentation</p>
<p>For more information on the Jetpack Project <a href="https://wiki.mozilla.org/Jetpack">check out our wiki</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2012/05/15/announcing-add-on-sdk-1-7/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Announcing Add-on SDK 1.6.1</title>
		<link>http://blog.mozilla.org/addons/2012/04/10/announcing-add-on-sdk-1-6-1/</link>
		<comments>http://blog.mozilla.org/addons/2012/04/10/announcing-add-on-sdk-1-6-1/#comments</comments>
		<pubDate>Tue, 10 Apr 2012 18:44:07 +0000</pubDate>
		<dc:creator>Dave Mason</dc:creator>
				<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=4667</guid>
		<description><![CDATA[While releasing version 1.6 of the Add-on SDK, a contributor, Mingyi Liu, found a minor memory leak (bug 740689). We have since fixed this leak and are today announcing the release of version 1.6.1 of the Add-on SDK. You can grab the updated version of the SDK as a zip file or tarball and replace&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2012/04/10/announcing-add-on-sdk-1-6-1/" title="Read the rest of &#8220;Announcing Add-on SDK 1.6.1&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>While releasing version 1.6 of the Add-on SDK, a contributor, Mingyi Liu, found a minor memory leak (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=740689">bug 740689</a>). We have since fixed this leak and are today announcing the release of version 1.6.1 of the Add-on SDK.</p>
<p>You can grab the updated version of the SDK as a <a href="https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/addon-sdk-1.6.1.zip">zip file</a> or <a href="https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/addon-sdk-1.6.1.tar.gz">tarball</a> and replace your older version. The <a href="https://wiki.mozilla.org/Labs/Jetpack/Release_Notes/1.6">release notes for 1.6</a> remain accurate with the exception of fixing bug 740689.</p>
<p>If you have any questions or issues with this hotfix release, please feel free to ask the jetpack team about it in any of the following areas:</p>
<p><a href="http://groups.google.com/group/mozilla-labs-jetpack">post to our discussion group</a><br />
<a href="http://mibbit.com/?channel=%23jetpack&#038;server=irc.mozilla.org">chat with us on irc.mozilla.org #jetpack</a><br />
<a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Add-on%20SDK&#038;component=General">report a bug</a><br />
<a href="http://github.com/mozilla/addon-sdk/">check out the source<a/> and contribute bug fixes, enhancements, or documentation</p>
<p>For more information on the Jetpack Project <a href="https://wiki.mozilla.org/Jetpack">check out our wiki</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2012/04/10/announcing-add-on-sdk-1-6-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing Add-on SDK 1.6!</title>
		<link>http://blog.mozilla.org/addons/2012/04/03/announcing-add-on-sdk-1-6/</link>
		<comments>http://blog.mozilla.org/addons/2012/04/03/announcing-add-on-sdk-1-6/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 18:06:32 +0000</pubDate>
		<dc:creator>Dave Mason</dc:creator>
				<category><![CDATA[jetpack]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=4626</guid>
		<description><![CDATA[The Jetpack team is proud to announce the release of Add-on SDK version 1.6! This version of the SDK is mostly a bug-fix release yet with one very important update, the documentation. The SDK documentation has been updated for easier navigation and more information, including tutorials on using a few community-built modules that aren&#8217;t in&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2012/04/03/announcing-add-on-sdk-1-6/" title="Read the rest of &#8220;Announcing Add-on SDK 1.6!&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>The Jetpack team is proud to announce the release of <a href="https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/addon-sdk-1.6.zip">Add-on SDK version 1.6</a>! This version of the SDK is mostly a bug-fix release yet with one very important update, the documentation.</p>
<p>The SDK documentation has been updated for easier navigation and more information, including tutorials on using a few community-built modules that aren&#8217;t in the core SDK. You can always find the latest documentation here: <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/latest/">https://addons.mozilla.org/en-US/developers/docs/sdk/latest/</a></p>
<p>In addition to the documentation, this release has quite a few bug fixes. <a href="https://wiki.mozilla.org/Labs/Jetpack/Release_Notes/1.6">You can read more details of these fixes as well as some known issues in the release notes</a>.</p>
<p>As always, we&#8217;d love to hear from you about your experiences with this release. You can contact us in a variety of ways:</p>
<p><a href="http://groups.google.com/group/mozilla-labs-jetpack">post to our discussion group</a><br />
<a href="http://mibbit.com/?channel=%23jetpack&#038;server=irc.mozilla.org">chat with us on irc.mozilla.org #jetpack</a><br />
<a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Add-on%20SDK&#038;component=General">report a bug</a><br />
<a href="http://github.com/mozilla/addon-sdk/">check out the source<a/> and contribute bug fixes, enhancements, or documentation</p>
<p>For more information on the Jetpack Project <a href="https://wiki.mozilla.org/Jetpack">check out our wiki</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2012/04/03/announcing-add-on-sdk-1-6/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Announcing Add-on SDK 1.5!</title>
		<link>http://blog.mozilla.org/addons/2012/02/21/announcing-add-on-sdk-1-5/</link>
		<comments>http://blog.mozilla.org/addons/2012/02/21/announcing-add-on-sdk-1-5/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 23:34:49 +0000</pubDate>
		<dc:creator>Dave Mason</dc:creator>
				<category><![CDATA[jetpack]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=4334</guid>
		<description><![CDATA[The Jetpack team is pleased to announce the release of Add-on SDK version 1.5! This version of the SDK has two major new features as well as many smaller ones and some important bug fixes. The two most important new features of this release are: Mobile Support! &#8211; Developers can now start developing add-ons for&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2012/02/21/announcing-add-on-sdk-1-5/" title="Read the rest of &#8220;Announcing Add-on SDK 1.5!&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>The Jetpack team is pleased to announce the release of Add-on SDK version 1.5! This version of the SDK has two major new features as well as many smaller ones and some important bug fixes. </p>
<p>The two most important new features of this release are:</p>
<ul>
<li><em>Mobile Support!</em> &#8211; Developers can now start developing add-ons for the mobile version of Firefox. For the initial release of mobile compatibility we have the page-mod API working which will allow developers to create modifications to web content within their add-on. This is quite useful for creating mobile versions of website that do not have a good mobile support. This support for mobile Firefox is <strong>only</strong> for the new Native Android versions of Firefox (at time of this post, Aurora and Nightly). Primers on getting started developing add-ons for mobile Firefox can be found <a href="https://blog.mozilla.org/addons/2012/02/06/mobile-add-on-development-using-the-add-on-sdk/">here</a> and <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.5/dev-guide/addon-development/mobile.html">here</a>.</li>
<li><em>Localization!</em> &#8211; Localization has finally come to the Add-on SDK! For this initial version localizers can translate javascript-embedded strings with HTML string support coming in a future SDK release. An introduction on how to localize strings can be found <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.5/dev-guide/addon-development/l10n.html">in the documentation</a>.</li>
</ul>
<p>For more new features and known issues in Add-on SDK 1.5, please see the <a href="https://wiki.mozilla.org/Labs/Jetpack/Release_Notes/1.5">Release Notes!</a></p>
<p>As always, we&#8217;d love to hear from you about your experiences with this release. You can contact us in a variety of ways:</p>
<p><a href="http://groups.google.com/group/mozilla-labs-jetpack">post to our discussion group</a><br />
<a href="http://mibbit.com/?channel=%23jetpack&#038;server=irc.mozilla.org">chat with us on irc.mozilla.org #jetpack</a><br />
<a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Add-on%20SDK&#038;component=General">report a bug</a><br />
<a href="http://github.com/mozilla/addon-sdk/">check out the source<a/> and contribute bug fixes, enhancements, or documentation</p>
<p>For more information on the Jetpack Project <a href="https://wiki.mozilla.org/Jetpack">check out our wiki</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2012/02/21/announcing-add-on-sdk-1-5/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Add-on SDK 1.4.3 Released</title>
		<link>http://blog.mozilla.org/addons/2012/02/06/add-on-sdk-1-4-3-released-2/</link>
		<comments>http://blog.mozilla.org/addons/2012/02/06/add-on-sdk-1-4-3-released-2/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 23:03:50 +0000</pubDate>
		<dc:creator>Dave Mason</dc:creator>
				<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=4181</guid>
		<description><![CDATA[We have identified a serious bug in the 1.4.* releases, and have made a hotfix release of the Add-on SDK. The hotfix release is version 1.4.3. If you are potentially affected by the bug, then you will need to take action to recover from it. This note explains: how to work out whether you are&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2012/02/06/add-on-sdk-1-4-3-released-2/" title="Read the rest of &#8220;Add-on SDK 1.4.3 Released&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>We have identified a serious bug in the 1.4.* releases, and have made a hotfix release of the Add-on SDK. The hotfix release is version 1.4.3.</p>
<p><em>If you are potentially affected by the bug, then you will need to take action to recover from it.</em></p>
<p>This note explains:</p>
<ul>
<li>how to work out whether you are potentially affected</li>
<li>what the impact is</li>
<li>how to recover from the bug</li>
<li>what went wrong</li>
</ul>
<h2>Are You Affected?</h2>
<p>You are potentially affected by this bug if you meet <strong><em>ALL THREE OF</em></strong> the following conditions:</p>
<ol>
<li><strong>Your add-on uses any of the following SDK modules: <em>simple-storage</em>, <em>passwords</em>, <em>simple-prefs</em></strong>. Using <em>passwords</em> is only a problem if you&#8217;re using it to store passwords specific to your add-on, rather than just web site passwords).</li>
<li><strong>You did not explicitly specify an ID for your add-on</strong>This means: you didn&#8217;t edit your &#8220;package.json&#8221; file to set your add-on&#8217;s ID, so the first time you ran `cfx`, it generated an ID for you in &#8220;package.json&#8221;.If you&#8217;re not sure about this, open your add-on&#8217;s &#8220;package.json&#8221; file and examine its &#8220;id&#8221; entry. If it does not contain &#8220;@&#8221;, and is not in the form: &#8220;{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx}&#8221;, then it is an auto-generated ID and you meet this condition. For example:
<pre>    "id": "jid1-MKxcan0H26wiRw"</pre>
</li>
<li><strong>You have ever built and distributed your add-on using the 1.4, 1.4.1 or 1.4.2 releases of the SDK </strong>This means either:
<ul>
<li>you initially built your add-on with 1.4, 1.4.1 or 1.4.2</li>
<li>you initially built your add-on using 1.3 or an earlier release, but rebuilt it using 1.4, 1.4.1, or 1.4.2.</li>
</ul>
</li>
</ol>
<h2>What&#8217;s the Impact?</h2>
<p>The impact of this is:</p>
<p>1. suppose your add-on was originally built and distributed using a version of the SDK earlier than 1.4. People use it, and store data with it, using the simple-storage or passwords modules. Then you rebuild using SDK 1.4/1.4.1/1.4.2. Now, any data which users had previously stored in simple-storage, and any add-on-specific passwords stored using passwords, will seem to have disappeared. You must upgrade to 1.4.3 to recover this data.</p>
<p>2. suppose your add-on is built using SDK 1.4/1.4.1/1.4.2. People use it, and store data with it, using <em>simple-storage</em>, <em>simple-prefs</em>, or <em>passwords</em>. Then you upgrade to version 1.4.3. Now, this data will apparently disappear. You must take steps to recover this data.</p>
<h2>How To Recover</h2>
<p>First, upgrade your add-on to use 1.4.3. After this, data entered using releases of the SDK before 1.4 will reappear.</p>
<p>Next, you&#8217;ll have to recover any data that users entered using the 1.4/1.4.1/1.4.2 versions.</p>
<p>To help with this we&#8217;ve written a module called &#8220;recovery.js&#8221;. This module won&#8217;t ship with the SDK itself, though.</p>
<ul>
<li>If you&#8217;re using the Add-on SDK, download &#8220;recovery.js&#8221; from <a href="https://gist.github.com/1733262">https://gist.github.com/1733262 </a>and save it in your add-on&#8217;s &#8220;lib&#8221; directory.</li>
<li>If you&#8217;re using the Add-on Builder, move your mouse over &#8220;Libraries&#8221; in the left-hand sidebar until a plus sign appears next to it, then click the plus sign. Then in the dialog type &#8220;recovery&#8221; and select &#8220;recovery by gozala&#8221; to add it to your project:</li>
</ul>
<p><img src="http://blog.mozilla.org/addons/files/2012/02/add-recovery-library.png" alt="screenshot of adding recovery library"/></p>
<p>You need to import the recovery module in the normal way:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">var</span> recovery <span style="color: #339933;">=</span> require<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'recovery'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>The recovery module contains any data that was written using <em>simple-storage</em>, <em>simple-prefs</em>, and <em>passwords</em> while your add-on was built with the 1.4, 1.4.1, or 1.4.2 releases of the SDK. The data is stored as three properties, one for each module:</p>
<ul>
<li><code>recovery.storage</code></li>
<li><code>recovery.prefs</code></li>
<li><code>recovery.passwords</code></li>
</ul>
<p>You&#8217;ll need to merge these properties with the data stored in <em>simple-storage</em>, <em>simple-prefs</em>, and <em>passwords</em> in whichever way makes sense for your add-on. </p>
<p>The files at <a href="https://gist.github.com/1733262">https://gist.github.com/1733262 </a> include some examples of performing this merge using the recovery module.</p>
<h2>What Went Wrong</h2>
<p>SDK-based add-ons have an ID, which is used for, among other things, figuring out which stored data belongs to this add-on. The ID is stored in the add-on&#8217;s &#8220;package.json&#8221; file. If you do not specify an ID for your add-on by editing &#8220;package.json&#8221; directly, then the SDK generates one for you automatically.</p>
<p>This auto-generated ID in &#8220;package.json&#8221; looks something like &#8220;jid1-y1AFbAhD9jXVcg&#8221;. The SDK takes this value and appends &#8220;@jetpack&#8221; to it, and uses the result as an ID. So if you call:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="javascript" style="font-family:monospace;">console.<span style="color: #660066;">log</span><span style="color: #009900;">&#40;</span>require<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;self&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>&#8230;you&#8217;ll see something like:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="js" style="font-family:monospace;"> info: jid1-y1AFbAhD9jXVcg@jetpack</pre></td></tr></table></div>

<p>This value is then used as a key for data stored using <em>simple-storage</em>, <em>simple-prefs</em>, and certain data in <em>passwords</em> (specifically, passwords that are associated with your add-on rather than a web site).</p>
<p>In 1.4 we broke the code that appends &#8220;@jetpack&#8221; to the ID. This means that a 1.4/1.4.1/1.4.2 add-on will look for data using just &#8220;jid1-y1AFbAhD9jXVcg&#8221;, and won&#8217;t find any data that was entered using an add-on built against an earlier version of the SDK.</p>
<p>In 1.4.3 we are reverting that change: so a 1.4.3 add-on will look for data using &#8220;jid1 y1AFbAhD9jXVcg@jetpack&#8221;. This means that a 1.4.3-based add-on it will find data which was entered using an add-on built using pre-1.4 release of the SDK. However, a 1.4.3 based add-on *will not* find data entered using an add-on built against 1.4/1.4.1/1.4.2. That&#8217;s why you have to recover that data explicitly.</p>
<p>We considered making the 1.4.3 release perform automatic recovery, looking for data stored under &#8220;my-jid&#8221;, and if it finds any, automatically updating the version stored under &#8220;my-jid@jetpack&#8221;. But the structure of stored data is very specific to an add-on, and we decided that there was a significant risk that automatic update would break some add-ons, so it&#8217;s safer if each add-in implements its own recovery.</p>
<h2>Getting In Touch</h2>
<p>As always we&#8217;d love to hear from you about your experiences. And we are always available to help with issues you may encounter. You can contact us in a variety of ways:</p>
<p><a href="http://groups.google.com/group/mozilla-labs-jetpack">post to our discussion group</a><br />
<a href="http://mibbit.com/?channel=%23jetpack&amp;server=irc.mozilla.org">chat with us on irc.mozilla.org #jetpack</a><br />
<a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Add-on%20SDK&amp;component=General">report a bug</a><br />
<a href="http://github.com/mozilla/addon-sdk/">check out the source</a> and contribute bug fixes, enhancements, or documentation</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2012/02/06/add-on-sdk-1-4-3-released-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Add-on SDK Version 1.4.1 Released</title>
		<link>http://blog.mozilla.org/addons/2012/01/26/add-on-sdk-version-1-4-1-released/</link>
		<comments>http://blog.mozilla.org/addons/2012/01/26/add-on-sdk-version-1-4-1-released/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 21:20:14 +0000</pubDate>
		<dc:creator>Dave Mason</dc:creator>
				<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=4068</guid>
		<description><![CDATA[In the 1.4 release we tweaked the manner in which the SDK determines its own version (it now uses git-describe when possible). Yesterday, we discovered that this new versioning process conflicted with the way the Add-on Builder deploys the SDK in their application. Today we released the hotfix version 1.4.1 to address this issue so&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2012/01/26/add-on-sdk-version-1-4-1-released/" title="Read the rest of &#8220;Add-on SDK Version 1.4.1 Released&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>In the 1.4 release we tweaked the manner in which the SDK determines its own version (it now uses git-describe when possible). Yesterday, we discovered that this new versioning process conflicted with the way the Add-on Builder deploys the SDK in their application.</p>
<p>Today we released the hotfix version 1.4.1 to address this issue so that the Add-on Builder can push a 1.4 version of the SDK to users. The patch included in the 1.4.1 release gets the version number, if absent from git, from the name of the parent directory.</p>
<p>If you were already using 1.4 in your own environment, you will not need this new version, nor would you see any differences if you decided to upgrade to it. This fix is strictly to help the Builder team launch 1.4 to their users.</p>
<p>If you have any questions or issues with this hotfix release, please ask in any of the following areas:</p>
<p><a href="http://groups.google.com/group/mozilla-labs-jetpack">post to our discussion group</a><br />
<a href="http://mibbit.com/?channel=%23jetpack&#038;server=irc.mozilla.org">chat with us on irc.mozilla.org #jetpack</a><br />
<a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Add-on%20SDK&#038;component=General">report a bug</a><br />
<a href="http://github.com/mozilla/addon-sdk/">check out the source<a/> and contribute bug fixes, enhancements, or documentation</p>
<p>For more information on the Jetpack Project <a href="https://wiki.mozilla.org/Jetpack">check out our wiki</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2012/01/26/add-on-sdk-version-1-4-1-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing Add-on SDK 1.4!</title>
		<link>http://blog.mozilla.org/addons/2012/01/10/announcing-add-on-sdk-1-4/</link>
		<comments>http://blog.mozilla.org/addons/2012/01/10/announcing-add-on-sdk-1-4/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 21:38:20 +0000</pubDate>
		<dc:creator>Dave Mason</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[releases]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=3977</guid>
		<description><![CDATA[The Jetpack team is proud to announce the release of Add-on SDK 1.4! This version of the SDK has the most new features of all the releases we have made since the 1.0 release. Some of the new features include: - Thanks to community members Hernan Colmeiro and Erik Vold, we have a new Simple&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2012/01/10/announcing-add-on-sdk-1-4/" title="Read the rest of &#8220;Announcing Add-on SDK 1.4!&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>The Jetpack team is proud to announce the release of Add-on SDK 1.4! This version of the SDK has the most new features of all the releases we have made since the 1.0 release. Some of the new features include:</p>
<p>- Thanks to community members Hernan Colmeiro and Erik Vold, we have a new Simple Prefs API allowing you to easily create preferences for your add-on. <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.4/packages/addon-kit/docs/simple-prefs.html">Please see the documentation</a> to learn how to use this new API.</p>
<p>- We have a brand new loader which is simplified and should give us even better performance.</p>
<p>- We have a new layout to the XPI files generated by the SDK. *Please note this if you have hard-coded any resource://URL links!! You should fix those links as specified in the release notes!*</p>
<p>For more new features and known issues,please see the <a href="https://wiki.mozilla.org/Labs/Jetpack/Release_Notes/1.4">Release Notes</a>.</p>
<p>To get started building add-ons with the Add-on SDK,  <a href="https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/addon-sdk-1.4.zip">download it</a>, then check out the <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.4/">documentation</a>!</p>
<p>As always, we&#8217;d love to hear from you about your experiences with this release. You can contact us in a variety of ways:</p>
<p><a href="http://groups.google.com/group/mozilla-labs-jetpack">post to our discussion group</a><br />
<a href="http://mibbit.com/?channel=%23jetpack&amp;server=irc.mozilla.org">chat with us on irc.mozilla.org #jetpack</a><br />
<a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Add-on%20SDK&amp;component=General">report a bug</a><br />
<a href="http://github.com/mozilla/addon-sdk/">check out the source and contribute bug fixes, enhancements, or documentation</a></p>
<p>For more information on the Jetpack Project <a href="https://wiki.mozilla.org/Jetpack">check out our wiki</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2012/01/10/announcing-add-on-sdk-1-4/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Announcing Add-on SDK 1.3!</title>
		<link>http://blog.mozilla.org/addons/2011/11/29/announcing-add-on-sdk-1-3/</link>
		<comments>http://blog.mozilla.org/addons/2011/11/29/announcing-add-on-sdk-1-3/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 22:20:47 +0000</pubDate>
		<dc:creator>Dave Mason</dc:creator>
				<category><![CDATA[jetpack]]></category>
		<category><![CDATA[releases]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=3729</guid>
		<description><![CDATA[The Jetpack team is proud to announce the release of Add-on SDK 1.3! This version of the SDK has some bugfixes, and some new features. Highlights of this release are: - Fixed a bug where panel-based content scripts don&#8217;t work after reloading or changing location - We now officially support Python 2.7 - Loads of&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2011/11/29/announcing-add-on-sdk-1-3/" title="Read the rest of &#8220;Announcing Add-on SDK 1.3!&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>The Jetpack team is proud to announce the release of Add-on SDK 1.3! This version of the SDK has some bugfixes, and some new features. Highlights of this release are:</p>
<p>- Fixed a bug where panel-based content scripts don&#8217;t work after reloading or changing location<br />
- We now officially support Python 2.7<br />
- Loads of changes and additions to the Add-on SDK documentation</p>
<p>For more details about these and other new features and fixes, please see the <a href="https://wiki.mozilla.org/Labs/Jetpack/Release_Notes/1.3">Release Notes</a>.</p>
<p>To get started building add-ons with the Add-on SDK, <a href="https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/addon-sdk-1.3.zip">download it</a>, then check out the <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.3/">documentation</a>!</p>
<p>As always, we&#8217;d love to hear from you about your experiences with this release. You can contact us in a variety of ways:</p>
<p><a href="http://groups.google.com/group/mozilla-labs-jetpack">post to our discussion group</a><br />
<a href="http://mibbit.com/?channel=%23jetpack&#038;server=irc.mozilla.org">chat with us on irc.mozilla.org #jetpack</a><br />
<a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Add-on%20SDK&#038;component=General">report a bug</a><br />
<a href="http://github.com/mozilla/addon-sdk/">check out the source<a/> and contribute bug fixes, enhancements, or documentation</p>
<p>For more information on the Jetpack Project <a href="https://wiki.mozilla.org/Jetpack">check out our wiki</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2011/11/29/announcing-add-on-sdk-1-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Announcing Add-on SDK 1.2!</title>
		<link>http://blog.mozilla.org/addons/2011/10/18/announcing-add-on-sdk-1-2/</link>
		<comments>http://blog.mozilla.org/addons/2011/10/18/announcing-add-on-sdk-1-2/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 23:12:18 +0000</pubDate>
		<dc:creator>Dave Mason</dc:creator>
				<category><![CDATA[jetpack]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=3402</guid>
		<description><![CDATA[The Jetpack team is proud to announce the release of Add-on SDK 1.2! This version of the SDK, like 1.1, contains mostly stability work and bug fixes. This release also includes: The ability to reload a tab via a new reload method in the tabs module The self module now contains a &#8220;name&#8221; and &#8220;version&#8221;&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2011/10/18/announcing-add-on-sdk-1-2/" title="Read the rest of &#8220;Announcing Add-on SDK 1.2!&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>The Jetpack team is proud to announce the release of Add-on SDK 1.2!</p>
<p>This version of the SDK, like 1.1, contains mostly stability work and bug fixes. This release also includes:</p>
<ul>
<li>The ability to reload a tab via a new reload method in the tabs module</li>
<li>The self module now contains a &#8220;name&#8221; and &#8220;version&#8221; allowing one to identify their version of the Add-on SDK</li>
<li>SDK modules will now display in the about:memory page showing their memory consumption</li>
</ul>
<p>For more information about these and other new features, please see the <a href="https://wiki.mozilla.org/Labs/Jetpack/Release_Notes/1.2">Release Notes</a>.</p>
<p>To get started building add-ons with the Add-on SDK,  <a href="https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/addon-sdk-1.2.zip">download it</a>, then check out the <a href="https://addons.mozilla.org/en-US/developers/docs/sdk/1.2/">documentation</a>!</p>
<p>As always, we&#8217;d love to hear from you about your experiences with this release. You can contact us in a variety of ways:</p>
<p><a href="http://groups.google.com/group/mozilla-labs-jetpack">post to our discussion group</a><br />
<a href="http://mibbit.com/?channel=%23jetpack&#038;server=irc.mozilla.org">chat with us on irc.mozilla.org #jetpack</a><br />
<a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Add-on%20SDK&#038;component=General">report a bug</a><br />
<a href="http://github.com/mozilla/addon-sdk/">check out the source<a/> and contribute bug fixes, enhancements, or documentation</p>
<p>For more information on the Jetpack Project <a href="https://wiki.mozilla.org/Jetpack">check out our wiki</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2011/10/18/announcing-add-on-sdk-1-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Add-on SDK Repacks proposal</title>
		<link>http://blog.mozilla.org/addons/2011/10/04/add-on-sdk-repacks-proposal/</link>
		<comments>http://blog.mozilla.org/addons/2011/10/04/add-on-sdk-repacks-proposal/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 20:48:36 +0000</pubDate>
		<dc:creator>Dave Mason</dc:creator>
				<category><![CDATA[developers]]></category>
		<category><![CDATA[jetpack]]></category>

		<guid isPermaLink="false">http://blog.mozilla.org/addons/?p=3280</guid>
		<description><![CDATA[One thing we have planned to make part of the Add-on SDK story is to have &#8220;automatic repacks&#8221; for developers using the SDK. What this means is that if you host your add-on, built with the SDK, on AMO (addons.mozilla.org), we would automatically rebuild it everytime we release a new version of the Add-on SDK&#8230; <a class="more-link" href="http://blog.mozilla.org/addons/2011/10/04/add-on-sdk-repacks-proposal/" title="Read the rest of &#8220;Add-on SDK Repacks proposal&#8221;">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>One thing we have planned to make part of the Add-on SDK story is to have &#8220;automatic repacks&#8221; for developers using the SDK. What this means is that if you host your add-on, built with the SDK, on AMO (addons.mozilla.org), we would automatically rebuild it everytime we release a new version of the Add-on SDK to maintain compatibility with a new version of Firefox. This would make sure that your add-on was always up-to-date with the latest version of Firefox.</p>
<p>This is still the plan, but for our first attempt we noticed some things that were wrong with the plan as we currently have it and would like to propose a way of getting past these problems and getting to a new repack process.</p>
<p><strong>What Went Wrong</strong></p>
<p>The first problem we faced is that the repacker is the first service to use AMO&#8217;s brand-new APIs for updating add-ons, and we hadn&#8217;t tested the interaction between the two sites sufficiently beforehand, so we had to implement fixes for issues we encountered during the repack testing, which slowed down the testing.</p>
<p>Second, our testing was short and not deep enough for what we were trying to accomplish. The repack team didn&#8217;t get enough testing in themselves, nor did they make it possible for other project participants to test repacks and suggests issues and fixes before the production run of repacking.</p>
<p>Finally, what we are fundamentally trying to do is repackage a derived format without the source code it came from as reference, like decompiling a program, making changes, and then recompiling it. This is something that is hard to do and as it turned out, didn&#8217;t work very well. We could fix that by including the source code in the XPI. However, including the source code in the XPI would defeat our goal of making the XPI size as small as possible (this is extremely important for mobile versions of Firefox). </p>
<p><strong>A Proposal</strong></p>
<p>So what can we do about these issues? First of all, the repack team will answer the testing problems by starting testing earlier and sharing the results with everyone. In addition, the use of the AMO APIs is now solved as the calls we are using are now verified and tested.<br />
However, the issue about the required sources for a clean rebuild is a bit more difficult and needs a new proposal.</p>
<p><em>Short-term</em></p>
<p>In the short-term I propose that we only repack add-ons which are built using the Add-on Builder. This is the quickest and safest solution as we have access to all the sources with Builder-based add-ons. The repack process is much simpler too as we don&#8217;t have to unpack a XPI first. For those who use a local installation of the Add-on SDK to build an add-on, we will document how to repack your add-on and the process for pushing the new one to AMO. In addition, you can move your add-on to the Add-on Builder and take advantage of the automatic repacks if you&#8217;d like, but do keep in mind that the Add-on Builder is still in beta at this point.</p>
<p><em>Long-term</em></p>
<p>The long-term solutions will need to be studied and debated a bit more. One option we have is to create a &#8220;source package&#8221; that can be pushed to AMO for use in repacking. However, this would mean that AMO would have to store these source packages and generate XPIs from them in addition to taking on responsibility for repacking when a new SDK is released. Obviously this would involve adding a great deal of functionality to AMO, as well as tooling up the services side to store these new, larger packages.</p>
<p>Another option is to land parts of the Add-on SDK into Firefox itself, including API implementations and the module loader. If an API already in Firefox needs updating to maintain compatibility with changes to Firefox, we won&#8217;t need to repack add-ons that use that API, as the updates can be made to that new version of the browser rather than each individual add-on. Doing this has other benefits as well. For example, it may help reduce XPI sizes tremendously. However, this too would take a bit of time to implement and is thus a long-term solution.</p>
<p>At this point we think that the short-term solution of just repacking Add-on Builder-based add-ons would be the best approach. We would also provide documentation describing the simplest approach for repacking add-ons along with best practices and troubleshooting. In addition, we would look into how best to notify authors when their add-ons need to be repacked manually.</p>
<p>Still, we also want to know what you think about this as well as the long-term ideas. Please feel free to leave your comments here or on our <a href="https://groups.google.com/d/topic/mozilla-labs-jetpack/s9-f1sJ0Ne0/discussion">jetpack discussion forum</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.org/addons/2011/10/04/add-on-sdk-repacks-proposal/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
