Releases: patrickarlt/acetate
Releases · patrickarlt/acetate
v0.4.5
Fixed
- Pages created with
acetate.outputare no longer added multiple times.
v0.4.4
Fixed
- Infinite loop where server rebuild files and then reloads.
v0.4.3
Fixed
- Fixed memory leak when watching data files.
v0.4.2
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.outputare no longer added multiple times.
v0.4.1
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
Added
httpsoption that corresponds to the https option in BrowserSync.--httpsflag for enabling https support in the CLI.acetate.outputhelper for creating dynamically generated pages.- If
modeisbuild(the default) theacetatemethod now accepts a callback that is passederrors,warningsandstatusthat 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.helpercan now create helpers without arguments.
Fixed
- Travis CI and AppVeyor now both pass against Node 0.12, 4, and 5.
v0.3.1
Fixed
- Built-in server now properly supports URLs without trailing slashes.
v0.3.0
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.
serverandwatcheroptions are deprecated. Now pass themodeoption with a value of'server''watch' or'build'`.findPortoption 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
Fixed
- Fixed a bug where
{{relativePath}}would not produce the correct path in some cases.
v0.2.1
Added
- Lots of new tests. Test coverage should now be fairly high with only a few remaining edge cases
- New
watcher:readyevent when the watcher starts watching files - New
watcher:startevent when the watcher starts - New
watcher:stopevent when the watcher stops - New
page:buildmethod for listneing to when and individual page finished building - New
page:cleanmethod 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)andacetate.transform(glob, transformer)only accepted globs like'**/*'to filter there input. They can now accept functions likefunction (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.htmlpage if it is present in yoursrcfolder. - The
urlproperty on the root page is now properly/