Sculpin 3.0.1
This release improves the content:create
command and fixes an issue with sorting that is caused by PHP's uasort
behaving in an undefined way when sorting items with equal values.
- Boilerplate is now generated by default when using content:create. Use
--dry-run
/-d
to suppress the creation of these files. Note that the content type YAML definition still needs to be added by hand to yoursculpin_kernel.yml
file. - Taxonomy-related boiler plate files now default to using the
default
layout instead of no layout at all. This should result in prettier output. - ProxySourceCollection now uses the StableSort algorithm from Martijn van der Lee to ensure stable sorting results, which will eliminate some of the issues reported in bug #308 that were causing generate to constantly repeat in watch mode.
- Thanks to Rami Jumaah and Christian Riesen, Pages can now refer to their own relative pathname and filename using
page.relative_pathname
andpage.filename
. This can be useful for implementing an "Edit This Page" link directly to a GitLab or GitHub VCS URL.