-
Notifications
You must be signed in to change notification settings - Fork 215
ReleaseNotes0_5_0pr3
This is a special preview release of Mojito 0.5.0. It incorporates some significant re-architecting for performance. There are a few significant changes that break backwards compatibility, see below.
None of the NPM tags have changed. If you want to try this version, you need to ask for [email protected]
explicitly.
!!! NOTE !!! This release DOES NOT pass our functional tests. This started as a rough prototype, and we're still cleaning it up.
In pr1
we made a drastic change that was meant to be re-evaluated, and we just did. As a result, Controllers are back to its 0.4.x
form. Essentially, controllers will be instantiated per request, per mojito instance, which means you can use them to store request specific information without bleeding between mojit instances and requests. The init
method is not available anymore though. Here is an example:
YUI.add('Foo', function(Y, NAME) {
Y.namespace('mojito.controllers')[NAME] = {
index: function(ac) {
// this.foo = "provides a nice mechanism to store instance data."
}
};
}, '0.0.1', {requires: ['mojito']});
In the past, mojito test
without any other parameter was running all unit tests for mojito framework, and this is no longer the case. We moved all the tests to arrow
, more details here: https://github.com/yahoo/mojito/tree/develop/tests
You can continue using mojito test app path/to/app
and mojito test mojit path/to/mojit
, and the behavior is still the same.
Note: this change is only relevant for contributors.
- #636 store sandbox using yui-sandbox
- #638 FIX static-handler middleware for well known files
- #646 Clean up of expanded instance
- #651 Expand instances are bleeding
- #654 upgrading to YUI 3.7.3 to support Win8 runtimes
- #655 merge develop into develop-perf
- #663 [fix gh 651] prevent expansion of config + unit tests
- #664 instance cleanup
- #673 Relocate store.server.js and related files/tests.
- #674 fixed unit tests
- #675 More functests fixes
- #676 restoring controller as instance rather than singleton
- #677 optionally log some memory usage info
- #678 Clean lib/tests
- #682 More unit test fixes
- #685 moved YUI loader config from combo-handler to addons/rs/yui
- #688 fixed instances of yui.config.config
- #689 yui sandbox fixes
- #690 when deploying the seed, using the closest language
- #691 fixed bleed between loader and our use of its results
- #706 fix for mojito test app with coverage (updates pr703)