Skip to content
mrdanimal edited this page Jan 12, 2012 · 20 revisions

Features & Improvements

  • Upgraded to PhoneGap 1.3

  • Added the ability to create custom properties on pages. If you create a field in the yaml frontmatter of your page, it will available in your component. (issue: 148)

  • Created a theme resources directory for images, fonts, etc. Place any files your theme needs in themes/<my theme>/resources, then refer to them in resources (no slashes) in your scss, and it'll work on the server and in the build. (issue: 155)

  • Added mulberry create route command. For example, run mulberry create route '/foo/:bar' and it will generate the necessary code and add it to routes.js, which you can then customize. ([issue: 158] (https://github.com/Toura/mulberry/pull/158))

  • Improved the design of the grid view page_def for tablet. (issue: 177)

  • Added the ability to run mulberry commands from any directory inside a Mulberry project, whereas previously it only worked at the project route. (issue: 178)

  • Parameterized the "default" theme colors and fonts. Change the values in themes/default/_settings.scss and they'll be used globally. (issue: 182)

  • Improved the design of the image gallery, audio, and video page_defs. (issue: 183)

  • Created installer scripts for OSX and Windows. Find the installation instructions for your OS in /install/<os>/, follow the instructions in the README, then run the installer script. (issue: 220)

  • Added mulberry.page method for defining simple routes.

  • Added mulberry.createPage as a shorthand method for toura.app.PageFactory.createPage

  • Added mulberry.showPage as a shorthand method for toura.app.UI.showPage

  • Added mulberry.store and mulberry.model for creating data persistence stores and models. See app/toura/_Store.js and app/toura/_Model.js.

Changes

  • Renamed templates to page_defs.

  • Moved sitemap-based page generation to mulberry generate. (issue: 172)

  • Added a wrapper for PhoneGap device APIs: geolocation, accelerometer, camera API. (issue: 193)

  • Cleaned up locations of JS build directories. (issue: 197)

  • Renamed toura.pageControllers.Configurable to toura.Page. (issue: 202)

  • Allow _Component#populate to take a single data element instead of requiring an object. (issue: 205)

  • Moved toura_app/javascript to app (issue: 222)

  • Renamed toura.Page to toura.containers.Page (issue: 222)

  • Renamed toura.containers.Pages to toura.containers.Viewport (issue: 222)

  • Anonymous reporting of CLI usage. When you scaffold an app, you'll be prompted whether you want to send anonymous data to us which we'll use to help improve Mulberry. (issue: 232, issue: 247)

  • Removed style (type: row|column, size: fixed) attributes from pagedefs and replaced that functionality with Sass mixins. To create rows, use flex-row-container; to create columns, use flex-column-container; to create make a region within a flex container to be fixed-size, use fixed-flex-region (issue: 233).

  • Added a simpler JSONP helper. This avoids the need to use dojo.io.script.get. Instead, you can do: toura.jsonp(url, config)); (issue: 239)

Bug Fixes

  • Make sure Chrome always loads changed images that are referenced in CSS.

  • Make sure mulberry serve fails when you try to run it on a port that's in use. (issue: 154)

  • Allow mulberry serve to work with apps with ' in name (issue: 234)

  • Fix cases where mulberry serve intermittently fails to serve all JS files. (issue: 245)

Tests