Releases: xy2z/capro
Releases · xy2z/capro
1.0.0-alpha.35
1.0.0-alpha.34
- Fixed "capro new" command.
1.0.0-alpha.33.1 (composer bin fix)
Fix for composer so it placed capro in global vendor dir (capro.phar was not changed)
1.0.0-alpha.33 (first phar test)
Test the new phar build via Box and php-scoper.
1.0.0-alpha.32
- Fixed a few bugs with 'capro serve' command. (still has a few weird bugs)
- Added support for placeholders in yaml front matter (#17)
1.0.0-alpha.31
Fix bug with no .env file.
1.0.0-alpha.30
cache
dir default location is moved toviews/cache
. (remember to add it to your .gitignore)- some code cleanup
- Build output now only prints one line on success. This can later be changed using a verbose cli argument/option.
- cache files are no longer being wiped before each build.
1.0.0-alpha.29
- added $self as a variable to all views which can be used to get href and other stuff, eg.
$self->href
- added exclude() method to Capro class, so you can do
Capro::pages()->exclude($self)->get()
(it also takes an array) - added orderByDesc() Capro method.
- Added count() Capro method. so you can do
Capro::pages()->count()
instead ofcount(Capro::pages()->get())
1.0.0-alpha.28
- .env file support, can be used in config or directly in your views.
env($key, $default)
- your .env file must be placed at the project root, where the composer.json file is. - Nice error if view template is not found
1.0.0-alpha.27
Bugfix