Skip to content

v0.2.1

Choose a tag to compare

@patrickarlt patrickarlt released this 01 May 17:57

Added

  • Lots of new tests. Test coverage should now be fairly high with only a few remaining edge cases
  • New watcher:ready event when the watcher starts watching files
  • New watcher:start event when the watcher starts
  • New watcher:stop event when the watcher stops
  • New page:build method for listneing to when and individual page finished building
  • New page:clean method for when a pages built output is deleted

Changed

  • Improvements to travis.yml, readme and contributing guide.
  • Updated depenedancies
  • Simplified framework for running tests and gathering coverage information
  • page.clean() will no longer clear the directory if it is empty
  • Previously acetate.query(name, glob, builder) and acetate.transform(glob, transformer) only accepted globs like '**/*' to filter there input. They can now accept functions like function (page) { return page.transformMe; } or simple objects { transformMe: true } to filter pages before running the query or transform

Fixed

  • It is not possable to run Acetate without a configuration file. Previously this worked but reported an error.
  • Edge cases with building pretty URLs for non HTML files have been fixed
  • Sever will now properly use a 404.html page if it is present in your src folder.
  • The url property on the root page is now properly /