Sculpin v3.0.1 Release Notes

Release Date: 2019-04-17 // over 2 years ago
  • 🚀 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.

    • 0️⃣ 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 your sculpin_kernel.yml file.
    • 0️⃣ 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 and page.filename. This can be useful for implementing an "Edit This Page" link directly to a GitLab or GitHub VCS URL.