- Fixed
buildPath is deprecated
warning on new configs. - Fixed compiling of invalid files (
.rb
,.png
etc).
- Fixed compiling of
package.json
,config
and watching of assets. - Fixed incorrect date in brunch logger.
- Fixed an error when requiring custom server script.
- Added windows support.
- Added node.js 0.7 / 0.8 support.
- Added support for chain compilation. For example, if
_user.styl
changes andmain.styl
depends on it,main.styl
will be recompiled too. brunch watch
now also watches config &package.json
.- Improved command line API:
- Added optional
--config
param to all commands expectbrunch new
. Usage:brunch build --config ios_config
. - Brought back
--minify
param inbrunch build
andbrunch watch
. - Deprecated
--output
param inbrunch build
andbrunch watch
. - Param
--template
inbrunch new
has been renamed to--skeleton
.--skeleton
supports relative / absolute path and git repo URLs. Also, git metadata is automatically removed in cloned / copied projects.
- Added optional
- Improved config API:
buildPath
is now deprecated,paths.public
is used instead of it.- Added
paths.app
,paths.root
,paths.assets
,paths.test
,paths.vendor
. - Scripts that are not in the config[lang].order are now compiled in alphabetical order instead of random.
- Made optional presence of almost all config params.
- Improved module loader:
- Real exceptions are now thrown instead of strings when module wasn't found.
- Fixed an issue when loader cached same modules more than once.
- Fixed an issue when loader loaded non-existing modules.
- Greatly improved default coffee skeleton architecture:
- Moved all collections to
models
. - Replaced
routers
withlib/router
. - No more global variable for application bootstrapper, it can be loaded
with
require 'application'
. - Switched default templates to Handlebars. Handlebars.js is a nice
mustache-compatible template engine that supports helpers
(
lib/view_helper
).
- Moved all collections to
- Fixed loading of non-coffeescript configs.
- Made optional existence of
app
&vendor
directories. - Node.js API now mirrors command line api.
- Dotfiles from assets dir are prevented to be copied to build dir.
- Removed
Cakefile
from default template. - Changed recommended framework in
test/spec
to Mocha.
- Updated dependencies.
- Fixed permissions issue with
app/assets
folder.
- Simplified config files.
- Default app now uses two separate files to simplify debugging:
app.js
andvendor.js
. - Changed default naming of build directory & its subdirs. Now the style
matches expressjs and rails.
build
directory is nowpublic
.scripts
has been renamed tojavascripts
.styles
has been renamed tostylesheets
.
- Rewritten API for plugins to be framework-agnostic & much more simple:
- All
brunch-extensions
plugins have been split into separate repos. - Added support for generator templates.
- Added support for different extensions in brunch generators.
- Added support for including files with plugins.
- All
- Improved command line API:
- Added
--template
/-t
option tobrunch new
. - Added
--path
-p
option tobrunch generate
. - Added support for custom webservers to
brunch watch --server
.
- Added
- Files, whose names start with
_
and files inapp/assets
are now ignored by compiler (but not by watcher). - Update backbone to 0.9.1, underscore to 1.3.1 and jquery to 1.7.1.
- Added IcedCoffeeScript plugin.
- Fixed Jade templates. See jade-brunch for more info.
- Added support for javascript config files.
- Added debugging mode. You can enable it by prepending
BRUNCH_DEBUG=1
to brunch command.
- Updated brunch-extensions to 0.2.2.
- Added new API for plugins.
- Added support for Jade, LESS and Roy. All language compilers / plugins are now located in separate repo, brunch-extensions.
- Added JS & CSS minifier.
- CoffeeScript (instead of YAML) is now used for application configs.
- Improved file watcher speed by 5-fold.
- Implemented new directory structure:
- The build directory is now generated automatically.
- All assets (index.html, images etc.) are placed in app/assets/.
main.coffee
was renamed toinitialize.coffee
for clarity.src/vendor
andsrc/app
moved tovendor
andapp
.- All scripts from
src/vendor
are moved toapp/vendor/scripts
. - Added support for CoffeeScript in
vendor/scripts
. - Added support for Stylus / LESS in
vendor/styles
. - Templates have moved from
app/templates
toapp/views/templates
.
- Updated command line API:
brunch build
andbrunch watch
now compile files in current working directory (instead of in./brunch/
subdir).- Added
brunch generate
command. It's basically a shortcut for creating new model / view / router. Example usage:brunch generate view user
. - Added
brunch watch --server
flag that would run http server on build directory. It has an optional--port
setting.
- Added support for node 0.6.
- Added growl support.
- Changed reset.styl to normalize.css & helpers.css from html5boilerplate.
- Improvements for vendor data: support CSS in vendor/styles directory, support CoffeeScript (in addition to js) in vendor/scripts directory.
- Add firebug support to stylus compiler.
- Improved time formatting in console logs.