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

Releases: YahooArchive/mojito

Mojito 0.9.0 RC2

28 Feb 23:36
Compare
Choose a tag to compare
Mojito 0.9.0 RC2 Pre-release
Pre-release

This is a preview release ahead of the GA.

Please see HISTORY.md for list of changes.

For more in depth information, please refer to the wiki.

0.8.3

29 Jan 00:42
Compare
Choose a tag to compare

Bug Fixes

  • Issue #1306: ac.partial.render() throws error for handlebar custom helper

0.8.2

15 Jan 00:16
Compare
Choose a tag to compare

Bug Fixes

  • Issue #1280: Allow multiple calls of Composite.execute within the same mojit.

0.8.1

21 Nov 00:51
Compare
Choose a tag to compare

Features

  • Handle invalid context exceptions with output handler
  • Allow merging of YCB configs with the same context (by using ycb@1.1.0)

Bug Fixes

  • fix issue #1254 Allow the same context to be used multiple times in configuration

Acknowledgements

Special thanks to David Gomez for his contributions to this release.

0.8.0

06 Nov 01:30
Compare
Choose a tag to compare

Notes

  • !IMPORTANT! This release contains a notable backward-incompatible change.
    See "Deprecations, Removals" below.

Deprecations, Removals

  • !Backwards-Incompatible Change! Getting model instance by passing model
    YUI module name to ac.models.get has been removed.
  • Cleanup: The archetypes directory containing boilerplate template code has been
    removed from the mojito package because the template code is located
    in mojito-cli-create.

Features

  • Contextualized model support is added:
    ac.models.get(modelName) will take the model's logical name (filename minus
    the affinity and context parts) and return contextualized model instance.

    For example:
    Different model files can be provided for different context settings under models directory:
    .../models/
    mymodel.common.iphone.js
    mymodel.common.js

    Calling ac.models.get('mymodel') will return the model which is appropriate for the current context.

Bug Fixes

  • Issue #1251: easy way to get contextualized models
  • PR #1264: better output handler response header check
  • PR #1270: removed archetypes directory and boilerplate template code for apps/mojits.
  • PR #1278: added middleware and updated app configs so that apps can use mocked models.

Acknowledgements

Special thanks to Jacques Arnoux for contributing to this release.

0.7.5

25 Sep 00:22
Compare
Choose a tag to compare

Notes

This is a minor release with bug fixes. There is no anticipated impact for the general Mojito application developer.

Bug Fixes

  • Issue #1215: [regression] lang collection in metas is missing for controller
  • Issue #1238: Lower Resource Store log messages for duplicate resources from "info" to "debug"

0.7.4

10 Sep 21:41
Compare
Choose a tag to compare

This is a minor release with few internal changes. There is no anticipated impact for the general Mojito application developer.

Notes

This new version will work with the new mojito-rs-hotswap extension, which is a development time tool that watches for changes in Mojito resources to dynamically update the necessary Resource Store meta-data and see the changes reflected in your application without having to restart the node process. More information here:
https://github.com/yahoo/mojito-rs-hotswap

Features

  • The lib/store.js has a new getAppConfig() function. This is a better choice
    for reading the static application configuration than createStore().
  • The resource store now exposes the server's runtime YUI instance via the
    runtimeYUI member. Resource store addons can access it via this.get('host').runtimeYUI.

0.7.3

28 Aug 04:48
Compare
Choose a tag to compare

Features

  • PR #1195: New resourceStore.lazyResolve:true option in application.json. Normally, the resource store at server start pre-calculates the details for all mojits for all contexts/selectors (it's optimized to only do this for dimensions/selectors that are actually used). By setting this new option the resource store will skip this calculation at server start and instead do it at runtime "lazily" (as needed). This might be a good option to use if you have a large number of dimensions defined in dimensions.json and a lot of selectors defined in application.json, yet your app will only serve traffic from a subset of those, or the synchronous computation of all resolutions would make your app too slow to start. This option evens-out that process in time by only triggering it the first time it's needed and caching the result.

Fixes

  • fix issue #1219 npm link shared mojits failed

Acknowledgements

Thanks to Jacques Arnoux and David Gomez for contributing to this release.

0.7.2

06 Aug 22:46
Compare
Choose a tag to compare

Bug Fixes

  • PR #1196: fix runtime:server is not set by default when booting the app
  • Issue #1017: Putting a README.md in the mojits/ directory causes mojito to not load

0.7.1

06 Aug 22:47
Compare
Choose a tag to compare

This is a minor release with few internal changes. There is no anticipated impact for the general Mojito application developer.

Notes

The resource store now exposes a method loadConfigs() and an event "loadConfigs", for planned add-on authoring support. This change lays some groundwork for performance and A/B testing enhancements in-progress by David Gomez and Jacques Arnoux.

Acknowledgements

Thanks to David Gomez and Jacques Arnoux for contributing to this release.