Skip to content

Releases: patrickarlt/acetate

v0.4.5

15 Jan 15:25

Choose a tag to compare

Fixed

  • Pages created with acetate.output are no longer added multiple times.

v0.4.4

13 Jan 22:39

Choose a tag to compare

Fixed

  • Infinite loop where server rebuild files and then reloads.

v0.4.3

13 Jan 20:02

Choose a tag to compare

Fixed

  • Fixed memory leak when watching data files.

v0.4.2

07 Jan 18:55

Choose a tag to compare

Changed

  • Pages are now always rebuilt every time they are requested when in server mode.
  • Server startup is now much faster, as all pages are considered "clean" when the server starts and are rebuilt when requested.
  • Small tweaks to logging and log output.

Fixed

  • Fixed memory link when watching data files.
  • Pages created with acetate.output are no longer added multiple times.

v0.4.1

05 Jan 17:27

Choose a tag to compare

Added

  • Extension names are now logged next to their run time.

Fixed

  • Extensions that are run inside extensions now run and execute after the extension that invoked them has finished.

v0.4.0

04 Jan 17:13

Choose a tag to compare

Added

  • https option that corresponds to the https option in BrowserSync.
  • --https flag for enabling https support in the CLI.
  • acetate.output helper for creating dynamically generated pages.
  • If mode is build (the default) the acetate method now accepts a callback that is passed errors, warnings and status that will run after the site is built for better integration with Gulp #57.
  • {% debug %} helper that can print a specific variable like {% debug 'someVar' %} or complete page metadata {% debug %}

Changed

  • Console output from BrowserSync now has the [Acetate] prefix.
  • Tests now use node-tap
  • Switch to Coveralls.io for code coverage reporting.
  • acetate.helper can now create helpers without arguments.

Fixed

  • Travis CI and AppVeyor now both pass against Node 0.12, 4, and 5.

v0.3.1

30 Jun 15:29

Choose a tag to compare

Fixed

  • Built-in server now properly supports URLs without trailing slashes.

v0.3.0

22 Jun 00:01

Choose a tag to compare

Changed

  • Built-in server is now based on BrowserSync and has built in live reload support.
  • Buitl in server no longer needs to wait for the entire site to be built. It now builds and serves pages as requested.
  • server and watcher options are deprecated. Now pass the mode option with a value of 'server' 'watch' or'build'`.
  • findPort option is deprecated. A port is always found by default now.

Fixed

  • Watching for changes to the configuration file should now work as expected.
  • Tests now pass on Windows and are run with the AppVeyor CI.

Removed

  • Support for 404 pages. This was a feature that was lost with the move to BrowserSync. It may be added back in the future.

v0.2.2

13 May 20:09

Choose a tag to compare

Fixed

  • Fixed a bug where {{relativePath}} would not produce the correct path in some cases.

v0.2.1

01 May 17:57

Choose a tag to compare

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 /