Skip to content

v2.1.0

Compare
Choose a tag to compare
@jescalan jescalan released this 25 Nov 19:25
· 523 commits to master since this release

Breaking

  • Update to plugins, compile now takes three arguments, file, options, and callback. To fix, just add the options param on any plugin's compile function. This is a super edge case which is why we didn't bump the major version.

Features

  • huge internal rewrite, more modular, more coffeescript, way better test coverage
  • built-in compilers for scss, less, markdown, mustache, haml-coffee, eco, and haml
  • built-in compiler for dogescript. Yes this deserves its own line.
  • layout language is no longer connected to view language. So you can compile a markdown view into a jade layout, for example.
  • livereload tag no longer necessary, this happens internally (whoo!).
  • deep nested dynamic content has been implemented (see #230).
  • upgrade on all dependencies to the latest versions (other than axis which is massively breaking so we're waiting for the next major version).
  • view helpers now available, roots ships with underscore, underscore.string, and moment.js available by default.
  • some compiler options have been opened up to be modified via app.coffee. See the docs for compiler options.
  • default templates updated more frequently, easier to load in custom templates.
  • --no-open option added to roots watch to prevent browser window from opening

Fixes

  • the roots man page which previously went missing is now back
  • there should be no further permissions errors when creating new projects
  • coffeescript errors formatted correctly
  • error catching and handling improved