Version 2.3.0
I’ve just pushed out version 2.3.0.
There are a number of interesting features with this release.
- A small update to allow html5 tags to be used alongside Markdown. Thanks to sparanoid for committing this fix.
- Major cleanups to stacey’s JSON support. These include, automatic stripping of any trailing commas from within the template and minification of the final rendered output.
- Your content files can now have a named prefix. This means you can name your files anything.template-name.txt, where the anything. will be ignored. This means you can avoid having to pick through 20 text files named project.txt to find the one you’re looking for. Thanks to Lech Deregowski for sharing the idea.
- You can now selectively disable caching on a per-page basis thanks to michaelsmanley. if your page’s content file contains bypass_cache: true then that page will not be run through the caching system.
- foreach loops can now be selectively limited using the sytax foreach $collection[start:end] do. See the foreach documentation for more details.
- This release also fixes a bug which seemed to primarily affect MediaTemple sites, which would throw an Invalid argument supplied for foreach() error.
- It also fixes another bug where stacey would scan every folder on the same level as its index.php file. Now it only scans the folders that it requires. This will speed up sites that this bug affected pretty dramatically, especially mediatemple sites (who store their whole database within the main folder structure).
To upgrade, just delete your current /app folder and replace it with the new /app folder from the 2.3.0 zip file.