0.6.1 (2013-09-08)

  • Add ability to disable asset fingerprinting. This can be useful, if you want to compile assets for humans.

0.6 (2013-04-28)

  • Add processor to add missing semicolons to the end of JavaScript sources.
  • Add gzip support.
  • Add support for cache busting. This is done through fingerprinting public assets.
  • Fix unknown extensions handling. Thanks @xobb1t for the report.
  • Fix cssmin and slimit compressors.

0.5.1 (2012-10-16)

  • Fix saving handled assets.
  • Python 3.3 is also supported.

0.5 (2012-10-16)

0.4 (2012-09-23)

  • Public assets storage was simplified. There is no registry for them anymore. They are set using public_assets param of Environment now.

    Also, public assets handling was slightly improved. public_assets must be a list or tuple of callables or regexps now. Default value:

        lambda path: not any(path.endswith(ext) for ext in ('.css', '.js')),

    css/style.css, js/script.js and all assets that aren’t compiled to .css or .js are public by default.

  • Added require_tree directive. It works like require_directory, but also collects assets from subdirectories recursively.

  • Node.js-dependent compilers (CoffeeScript, Handlebars, Stylus and LESS) and compressors (UglifyJS and clean-css) have been moved into separate packages (gears-coffeescript, gears-handlebars, gears-stylus, gears-less, gears-uglifyjs, gears-clean-css), as they required some additional work to make them work (install some node.js modules, point your app to them, etc.). Now all these packages already include all required node.js modules, so you don’t need to worry about installing them yourself.

  • SASS and SCSS compilers have been removed since they did nothing to really support SASS and SCSS compilation.

  • Support for Python 2.5 was dropped.

0.3 (2012-06-24)

  • Added depend_on directive. It is useful when you need to specify files that affect an asset, but not to include them into bundled asset or to include them using compilers. E.g., if you use @import functionality in some CSS pre-processors (Less or Stylus).
  • Main extensions (.js or .css) can be omitted now in asset file names. E.g., you can rename asset to
  • Asset requirements are restricted by MIME type now, not by extension. E.g., you can require Handlebars templates or JavaScript assets from CoffeeScript now.
  • Added file-based cache.
  • Environment cache is pluggable now.
  • Fixed cache usage in assets.

0.2 (2012-02-18)

  • Fix require_directory directive, so it handles removed/renamed/added assets correctly. Now it adds required directory to asset’s dependencies set.
  • Added asset dependencies. They are not included to asset’s bundled source, but if dependency is expired, then asset is expired. Any file of directory can be a dependency.
  • Cache is now asset agnostic, so other parts of Gears are able to use it.
  • Added support for SlimIt as JavaScript compressor.
  • Added support for cssmin as CSS compressor.
  • Refactored compressors, compilers and processors. They are all subclasses of BaseAssetHandler now.
  • Added config for Travis CI.
  • Added some docs.
  • Added more tests.

0.1.1 (2012-02-26)

  • Added missing files to

0.1 (2012-02-26)

First public release.

Project Versions

Table Of Contents

Previous topic


This Page