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

Releases: YahooArchive/mojito

0.4.0

06 Aug 23:37
Compare
Choose a tag to compare

This release contains a significant rewrite of an important subsystem of Mojito, the resource store.
Also, with this release, the resource store becomes part of the public API of Mojito.
It's an advanced feature, however, and is only needed if you intent to change how Mojito interprets and uses files on the filesystem.

Backward-Compatibility Changes

  • You will now need to configure the iphone selector by hand ({"settings": ["device:iphone"], "selector":"iphone"}) in your application.json files. (This resource store no longer assumes the selector is just the device.)
  • In a mojit's package.json, the version check is now spelled engines.mojito instead of yahoo.mojito.version.
  • In a mojit's package.json, config.mojito is now spelled yahoo.mojito.
  • The second argument to serializeClientStore() is gone. (This was pretty much internal to mojito anyway, so likely no one will miss it.)
  • The second argument to getAppConfig() is gone. That method now just returns the application configuration (from application.json). (This was pretty much internal to mojito anyway.)

Issues Fixed

  • issue 10: Ensure Mojito can handle YUI module names with underscores
  • issue 32: "mojito compile rollups" using dot notation in the name of the css files will make compile to discard some of them
  • issue 50: mojito start loads tests from addons
  • issue 54: "mojito compile inlinecss" has unexpected behavior when there is a css file name that contains the string "iphone"
  • issue 59, bz 5380714: test files under addons/ac/ are loaded when mojito starts
  • issue 95, bz 4647440: Proper Mojito version number comparison
  • issue 109: Refactor certain complicated parts of the store
  • issue 110: Detect duplicate resource ids on cookdown
  • bz 4647169: considering making a utility YUI object in ResourceStore
  • bz 5362206: Need ability to select controller, view, model and binder based on context
  • bz 5495519: mojito is not loading - stuck retrieving all the datetype-date-format for each locale
  • bz 5530096: Mojito tries to parse .json~ files in [mojit]/specs/
  • bz 5541500: mojito not doing fallback
  • bz 5609501: L10n: Root strings file is not used by default when a non-root strings file is present

Issues Unblocked

The new resource store will facilitate work on the following issues:

  • issue 37: i18n support for html5apps
  • issue 78: Complete client resource store implementation
  • issue 86: Real device detection
  • bz 4805839: Custom archetypes
  • bz 5450431: [json files granularity] how to include or synthetically define values for dimensions
  • bz 5605173: {selector} is not defined or explained in the documentation

See Also

-- Mojito Team

0.3.30

06 Aug 23:40
Compare
Choose a tag to compare

Note: Mojito depends on the latest patch release of YUI, currently YUI 3.5.1-2. This version of YUI fixes a Y.io issue which appeared in the
last release. Also, as with the last Mojito release, YUI 3.5.x has removed built-in jsdom support. Server code that depends on a DOM will cause Mojito to throw an exception on startup. A warning will
now be issued for known DOM dependent modules matching this criteria. Folks are asked to either move DOM dependencies to client affinities or binders, or create the required host objects for your
application's DOM requirements. See http://yuilibrary.com/yui/docs/yui/nodejs.html. There may also be other app-specific issues with the upgrade in YUI.

Fixes

  • pull 246 -- Alter escaping to URI escaping to repair regressions
  • pull 280 -- Make sure the callback signature is what the supplied Function expects
  • pulls 285 336 -- Use command-line context in "mojito build html5app" command

Features

  • pull 251 -- Add --print option to jslint usage message
  • pull 252 -- Performance Optimization: Defer RouteMaker Instantiation in URL Addon
  • pulls 308 310 -- yuitest cleanups
  • pull 309 -- rm local copy of mime, use npm mime module instead
  • pull 316 -- Remove local glob.js and replace with glob npm package
  • pull 323 -- Added client-side unescape of escaped content
  • pull 335 -- Adding namespacing to Mojito components
  • lots of documentation updates

Credits

Special thanks to Cary Stanley, Fabian Frank, Michael Ridgway, and Seth Bertalotto for their code contributions to this release.

0.3.29

06 Aug 23:40
Compare
Choose a tag to compare

Note: Mojito depends on the latest patch release of YUI, currently YUI 3.5.1-2. This version of YUI fixes a Y.io issue which appeared in the last release. Also, as with the last Mojito release, YUI 3.5.x has removed built-in jsdom support. Server code that depends on a DOM will cause Mojito to throw an exception on startup. A warning will now be issued for known DOM dependent modules matching this criteria. Folks are asked to either move DOM dependencies to client affinities or binders, or create the required host objects for your application's DOM requirements. See http://yuilibrary.com/yui/docs/yui/nodejs.html. There may also be other app-specific issues with the upgrade in YUI.

Because of the YUI situation, both the latest and stable tags on npm point to Mojito 0.3.26. To install this release you need to specify version 0.3.29 explicitly (either npm i mojito@0.3.29 or via package.json).

Fixes

  • 2d014df release 0.3.29 (based on 0.3.28-9-gaafd34b)
  • b6b646f fixed the HelloMojit-tests in the default mojit archetype to prevent a test failure when running mojito test app . (as indicated in the Getting Started tutorial). The objects are not equal even if they have the same elements
  • e606336 updated controller.server.js and controller.server-tests.js code examples in getting_started to reflect the files generated by mojito 0.3.26
  • 276965f, ac7a408 [bz5472517] Error on server doesn't propagate to client

Features

No new features in this release.

Credits

Special thanks to Dmitry Savintsev for his code contributions to this release.

0.3.28

06 Aug 23:41
Compare
Choose a tag to compare

Note: Mojito depends on the latest patch release of YUI, currently YUI 3.5.1-2. This version of YUI fixes a Y.io issue which appeared in the last release. Also, as with the last Mojito release, YUI 3.5.x has removed built-in jsdom support. Server code that depends on a DOM will cause Mojito to throw an exception on startup. A warning will now be issued for known DOM dependent modules matching this criteria. Folks are asked to either move DOM dependencies to client affinities or binders, or create the required host objects for your application's DOM requirements. See http://yuilibrary.com/yui/docs/yui/nodejs.html. There may also be other app-specific issues with the upgrade in YUI.

Because of the YUI situation, both the latest and stable tags on npm point to Mojito 0.3.26. To install this release you need to specify version 0.3.28 explicitly (either npm i mojito@0.3.28 or via package.json).

Fixes

  • c9c3f62 #231 Update sys references to util references.
  • 2dd7313 #219 [bz5651900] stop mojit data memory leak - record dynamically
  • 2e95209 #223 [bz5646042] log warning if server mojit has DOM dependency.
  • 9823966 #232 [bz5649382] Fix for mojito test app .
  • 4bfd82e fix dynamic mojit regression introduced in 2dd7313
  • fcd6fa0 fix unit test errors in build 130
  • 99ce6cf [bz5491914] Fix client exception on ac.error()
  • 9c105cd [bz5649346] Updates yui and yuitest dependencies; +FreeBSD
  • 9b86ca5 [bz5494997] Fix for Mojito client throwing on tunnel timeout
  • f27dbdc More null fixes for Mustache
  • 83a68da [bz5590319] Unicode and/or HTML escaping for config data.

Features

  • 726a2e4 Added -p option for jslint results to sdtout

Credits

Special thanks to Michael Ridgway, Karen Fay and Ryuichi Okumura for their code contributions to this release.