{"id":4351,"date":"2012-02-22T16:11:21","date_gmt":"2012-02-23T00:11:21","guid":{"rendered":"http:\/\/blog.mozilla.org\/addons\/?p=4351"},"modified":"2012-02-22T16:11:21","modified_gmt":"2012-02-23T00:11:21","slug":"re-packaging-your-sdk-based-add-ons-for-firefox-11","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/addons\/2012\/02\/22\/re-packaging-your-sdk-based-add-ons-for-firefox-11\/","title":{"rendered":"Re-packaging your SDK-based Add-ons for Firefox 11"},"content":{"rendered":"<p>Yesterday the Jetpack project <a href=\"http:\/\/blog.mozilla.org\/addons\/2012\/02\/21\/announcing-add-on-sdk-1-5\/\" target=\"_blank\">released SDK 1.5<\/a>. Alongside this Dave Mason pointed out that the upcoming release of Firefox 11 will break compatibility with add-ons packaged with SDK versions 1.3 and below. This is necessary because of a change in Firefox where nsIDOMNSElement was removed ( Jorge recently mentioned this in <a href=\"http:\/\/blog.mozilla.org\/addons\/2012\/01\/27\/compatibility-for-firefox-11\/\">his compatibility post<\/a> ). Add-on SDK 1.3 and below contains code that uses this api, and SDK 1.4.* and up do not.<\/p>\n<p>If you are an add-on developer who has an SDK-based add-on on AMO, what this actually means is the following:<\/p>\n<ul>\n<li><strong>You do not have to change your own code at all.<\/strong><\/li>\n<li>If you are doing development on your own machine using the command-line SDK, you <em>do<\/em> need to download the latest version of the SDK and re-package your add-on with this new version.<\/li>\n<li>If you are doing development with the online add-on builder, the process is even simpler &#8211; just switch the version of the SDK being used in your builder project and click on save, as I demonstrate in this <a href=\"http:\/\/www.youtube.com\/watch?v=dSSaqW3gGNM&#038;feature=g-upl&#038;context=G25bb884AUAAAAAAAAAA\"><em>incredibly<\/em> short screencast.<\/a><\/li>\n<li>Once you have an updated xpi file, please submit it to <a href=\"https:\/\/addons.mozilla.org\/en-US\/developers\/\" target=\"_blank\">AMO.<\/a> As the AMO approval queues are at <a href=\"http:\/\/blog.mozilla.org\/addons\/2012\/02\/16\/the-review-queues-are-empty\/\" target=\"_blank\">historically low levels<\/a> currently, I expect your review should be dealt with promptly!\n  <\/li>\n<\/ul>\n<p>We&#8217;d really appreciate it if developers would do this some time before Firefox 11 ships on <a href=\"https:\/\/wiki.mozilla.org\/Releases\" target=\"_blank\">March 11<\/a>. We will also be using the powers of AMO to directly contact affected developers over the next couple of weeks as well. If you have any questions about this, please comment below or drop by #jetpack on irc.mozilla.org.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yesterday the Jetpack project released SDK 1.5. Alongside this Dave Mason pointed out that the upcoming release of Firefox 11 will break compatibility with add-ons packaged with SDK versions 1.3 &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/addons\/2012\/02\/22\/re-packaging-your-sdk-based-add-ons-for-firefox-11\/\">Read more<\/a><\/p>\n","protected":false},"author":316,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7117,388,44,121,588,227,742],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Re-packaging your SDK-based Add-ons for Firefox 11 - Mozilla Add-ons Community Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.mozilla.org\/addons\/2012\/02\/22\/re-packaging-your-sdk-based-add-ons-for-firefox-11\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Griffiths\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2012\/02\/22\/re-packaging-your-sdk-based-add-ons-for-firefox-11\/\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/2012\/02\/22\/re-packaging-your-sdk-based-add-ons-for-firefox-11\/\",\"name\":\"Re-packaging your SDK-based Add-ons for Firefox 11 - Mozilla Add-ons Community Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\"},\"datePublished\":\"2012-02-23T00:11:21+00:00\",\"dateModified\":\"2012-02-23T00:11:21+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/e2f4c71eb45392ea29162432c3f1d433\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2012\/02\/22\/re-packaging-your-sdk-based-add-ons-for-firefox-11\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/addons\/2012\/02\/22\/re-packaging-your-sdk-based-add-ons-for-firefox-11\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/2012\/02\/22\/re-packaging-your-sdk-based-add-ons-for-firefox-11\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/addons\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Re-packaging your SDK-based Add-ons for Firefox 11\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#website\",\"url\":\"https:\/\/blog.mozilla.org\/addons\/\",\"name\":\"Mozilla Add-ons Community Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.mozilla.org\/addons\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/e2f4c71eb45392ea29162432c3f1d433\",\"name\":\"Jeff Griffiths\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b07ae75dd1a5414bf30d7f773ccfc894?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b07ae75dd1a5414bf30d7f773ccfc894?s=96&d=mm&r=g\",\"caption\":\"Jeff Griffiths\"},\"description\":\"Jeff is Product Manager for the Firefox Developer Tools and occasional Open Web hacker, based in Vancouver, BC.\",\"sameAs\":[\"http:\/\/canuckistani.ca\/\",\"https:\/\/x.com\/canuckistani\"],\"url\":\"https:\/\/blog.mozilla.org\/addons\/author\/jgriffithsmozilla-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Re-packaging your SDK-based Add-ons for Firefox 11 - Mozilla Add-ons Community Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.mozilla.org\/addons\/2012\/02\/22\/re-packaging-your-sdk-based-add-ons-for-firefox-11\/","twitter_misc":{"Written by":"Jeff Griffiths","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/addons\/2012\/02\/22\/re-packaging-your-sdk-based-add-ons-for-firefox-11\/","url":"https:\/\/blog.mozilla.org\/addons\/2012\/02\/22\/re-packaging-your-sdk-based-add-ons-for-firefox-11\/","name":"Re-packaging your SDK-based Add-ons for Firefox 11 - Mozilla Add-ons Community Blog","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/addons\/#website"},"datePublished":"2012-02-23T00:11:21+00:00","dateModified":"2012-02-23T00:11:21+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/e2f4c71eb45392ea29162432c3f1d433"},"breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/addons\/2012\/02\/22\/re-packaging-your-sdk-based-add-ons-for-firefox-11\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/addons\/2012\/02\/22\/re-packaging-your-sdk-based-add-ons-for-firefox-11\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/addons\/2012\/02\/22\/re-packaging-your-sdk-based-add-ons-for-firefox-11\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/addons\/"},{"@type":"ListItem","position":2,"name":"Re-packaging your SDK-based Add-ons for Firefox 11"}]},{"@type":"WebSite","@id":"https:\/\/blog.mozilla.org\/addons\/#website","url":"https:\/\/blog.mozilla.org\/addons\/","name":"Mozilla Add-ons Community Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.mozilla.org\/addons\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/e2f4c71eb45392ea29162432c3f1d433","name":"Jeff Griffiths","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/addons\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b07ae75dd1a5414bf30d7f773ccfc894?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b07ae75dd1a5414bf30d7f773ccfc894?s=96&d=mm&r=g","caption":"Jeff Griffiths"},"description":"Jeff is Product Manager for the Firefox Developer Tools and occasional Open Web hacker, based in Vancouver, BC.","sameAs":["http:\/\/canuckistani.ca\/","https:\/\/x.com\/canuckistani"],"url":"https:\/\/blog.mozilla.org\/addons\/author\/jgriffithsmozilla-com\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/4351"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/users\/316"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/comments?post=4351"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/posts\/4351\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/media?parent=4351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/categories?post=4351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/addons\/wp-json\/wp\/v2\/tags?post=4351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}