Jetpack/Release Notes/1.0: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 126: Line 126:
Selection events for a page are not sent if the page did not fully load (for example, because the user stopped the page loading).
Selection events for a page are not sent if the page did not fully load (for example, because the user stopped the page loading).


== Changes Since 1.0b5 ==
== Notable Changes Since 1.0b5 ==


=== [https://github.com/mozilla/addon-sdk/commit/658fb89ca4d3dc4a8cfb9616ae873e979a7f3955 Commit 658fb89ca4d3dc4a8cfb]: Update Linker Search Behavior ===
=== [https://github.com/mozilla/addon-sdk/commit/658fb89ca4d3dc4a8cfb9616ae873e979a7f3955 Commit 658fb89ca4d3dc4a8cfb]: Update Linker Search Behavior ===


This change includes several bug fixes to make the way the SDK's linker resolves <code>require()</code> statements more compatible with [http://www.commonjs.org/ CommonJS] and [http://npmjs.org/ NPM].
This changes the way the SDK's linker resolves <code>require()</code> statements, making it more compatible with [http://www.commonjs.org/ CommonJS] and [http://npmjs.org/ NPM].


It's documented in the [https://github.com/mozilla/addon-sdk/commit/658fb89ca4d3dc4a8cfb9616ae873e979a7f3955 GitHub commit] and in the [https://addons.mozilla.org/en-US/developers/docs/sdk/1.0/dev-guide/addon-development/module-search.html Module Search] guide in the SDK.
It's documented in the [https://github.com/mozilla/addon-sdk/commit/658fb89ca4d3dc4a8cfb9616ae873e979a7f3955 GitHub commit] and in the [https://addons.mozilla.org/en-US/developers/docs/sdk/1.0/dev-guide/addon-development/module-search.html Module Search] guide in the SDK.
=== [https://bugzilla.mozilla.org/show_bug.cgi?id=653256 Bug 653256]: Make smaller XPIs by only including modules that are actually used ===
Previously, if you used any modules in a package, then your XPI would include all modules in the package. With this change only modules you actually use get included.
Note that this is behavior is not currently the default: to enable it you need to pass the experimental <code>--strip-xpi</code> option to <code>cfx</code>.


== Feedback and Bug Reports ==
== Feedback and Bug Reports ==


We'd love to hear any feedback you have regarding this release! You can post it to the [http://groups.google.com/group/mozilla-labs-jetpack discussion group] or [https://bugzilla.mozilla.org/enter_bug.cgi?product=Add-on%20SDK&version=1.0 report a bug].
We'd love to hear any feedback you have regarding this release! You can post it to the [http://groups.google.com/group/mozilla-labs-jetpack discussion group] or [https://bugzilla.mozilla.org/enter_bug.cgi?product=Add-on%20SDK&version=1.0 report a bug].
canmove, Confirmed users
737

edits

Navigation menu