-
Notifications
You must be signed in to change notification settings - Fork 214
ReleaseNotes0_5_0pr2
This is a special preview release of Mojito 0.5.0. It incorporates some significant re-architecting for performance. There are a few significant backwards-compatibility breaking changes, details below.
None of the NPM tags have changed. If you want to try this version, you need to ask for version 0.5.0pr2
explicitly.
!!! NOTE !!! This release DOES NOT pass our functional tests. This started as a rough prototype, and we're slowly cleaning it up.
!!! NOTE !!! This release requires changes to any application's index.js file and server.js file to properly launch. The templates in mojito/lib/app/archetypes/app/default for index.js and server.js are the appropriate content to use in any existing applications. For new applications these files are automatically used when the 'mojito create app' command is invoked to create a new application.
For performance reasons, to avoid computing app config per mojit instance, per request, when the majority of the time it is not needed, we completed the transition to mojito-config-addon
addon. This change affects ac.app.*
, specifically, ac.app.config
which was commonly used to access the computed application.json
configuration per context
. If you need to access the application config
in an action or another addon
, you should:
- require
mojito-config-addon
in the controller. - use
ac.config.getAppConfig()
to get the the formerac.app.config
In previous version, the console log was separated for client and server, and between mojito and YUI. We decided to leverage YUI Logger
, and unify this setting under a single configuration, actually the YUI configuration:
"log": {
"client": {
"level": "error",
"yui": false
},
"server": {
"level": "error",
"yui": false
}
}
is now:
"yui": {
"config": {
"debug": false
}
}
- #601 Mojito mojito-lite into develop-perf branch
- #604 fixed unit tests
- #605 run.js reports how it's called
- #608 upgrading to YUI 3.7.2 to facilitate the use of new loader
- #611 changed the action of the tunnel to be the mojito default
- #613 pathToRoot should be dynamic rather than static config
- #614 Improve copy performance
- #616 loader metadata per lang
- #617 today's functional test fixes
- #619 fixed unit tests
- #626 support for moving YUI meta computation out of combo middleware
- #630 merge develop into develop-perf
- #631 fixed unit tests
Special thanks to @dferreiroval for his contributions to this release.