Sculpin v3.0.0-rc4 Release NotesRelease Date: 2019-04-04 // over 2 years ago
🚀 This is Release Candidate 4 for Sculpin 3.0.0.
🆕 New requirements for this version of Sculpin include PHP 7.2 or higher.
🚀 As this is a Release Candidate, please help by filing GitHub issues if you notice any problems!
🆕 New for Release Candidate 4:
- Some references to %kernel.root_dir% have been changed to a hopefully more-accurate %kernel.project_dir% argument (#420)
- PermalinkCollectionStrategy has been pulled out of the container so that SF4.2+ can properly dump the service container if desired (#419)
- 👻 Exception handling has been improved and now displays colourful & more informative exceptions in watch mode (#421)
- Missing data provider fatal error is now a more-informative exception (#418)
- References to Twig classes have been switched to use namespaces (#423, efaa7c3)
- 🚚 A number of core classes are now
finaland some methods have been moved to
private; this will help reduce the complexity/surface of the code (#416, #417)
- If this causes an issue, please file an issue or a PR. There might be use cases that weren't known about.
🆕 New for Release Candidate 3:
- 🛠 Fixed an issue with custom bundles not being able to register event handlers. There may be other custom bundle/extension issues lurking in the corners. Keep an eye out!
🆕 New for Release Candidate 2:
- 🛠 Bugfix for theme resource method
🆕 New for Release Candidate 1:
- 🆕 New
--source-dirparameter to the
initcommand for initializing a bare-bones Sculpin configuration
Description: Initialize a default site configuration.
Usage: init [options]
Options: -t, --title=TITLE Specify a title for your Sculpin site. [default: "My Sculpin Site"]
-s, --subtitle=SUBTITLE Specify a sub-title for your Sculpin site. [default: "A Static Site Powered By Sculpin"]
--project-dir=PROJECT-DIR The project directory. [default: "."]
Help: The init command initializes a default site configuration.
🆕 New for Alpha 4:
- ⚡️ @lex111 has made great progress with updating sculpin's source code to use more PHP 7.x syntax and functionality.
- Attention: Sculpin extension developers - it would be helpful to check that your extension works with this alpha release's changes.
🆕 New for Alpha 3:
- 🛠 @lex111 found and fixed an issue with the
event_dispatcherservice not being public.
- A little bit of syntax cleanup (
🆕 New for Alpha 2:
⚡️ A number of dependencies have been updated to the latest versions. This may introduce unexpected behaviour or deprecation notices in workflows that are not currently part of the test suite.
⚡️ Handling of the new
--output-dirparameter has been modified. Bundles and extensions that rely on
sculpin.output_dirshould be updated to use the
sculpin.writerservice for writing to the proper output location.
🔧 The temporary workaround for the
dflydev/dot-access-configurationdependency in Alpha 1 has been removed.
⚡️ A potential BC break to watch out for is a change in the URL format of interstitial "pagination" files. Bookmarks for "Page 2" and such may need to be updated.
- A gist can be found here with a concept for providing HTML-based redirects for legacy pagination files: https://gist.github.com/beryllium/a1b0be7b603486f5e39f869db8ff3484
💻 This alpha version also includes the new "sculpin content:create" command, which allows you to generate a custom data type and associated templates straight from the command line:
Usage: content:create [options] [--] <type> Arguments: type Name for this type (e.g., "posts") Options: -b, --boilerplate Generate boilerplate/placeholder/template files. -t, --taxonomy=TAXONOMY Organize content by taxonomy categories ("tags", "categories", "types", etc) (multiple values allowed) Help: The content:create command helps you create a custom content type and, optionally, the associated boilerplate/templates.