Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

ReleaseNotes0_5_0pr2

caridy edited this page Oct 16, 2012 · 21 revisions

Mojito Release 0.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.

Backwards Compatibility Changes

1. index.js and server.js requires changes

!!! 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.

2. ac.app.* is not longer available

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 former ac.app.config

Fixes

  • #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

Acknowledgements

Special thanks to @dferreiroval for his contributions to this release.

Clone this wiki locally