Sculpin v3.0.0-alpha4 Release Notes

Release Date: 2018-10-13 // over 5 years ago
  • 🚀 This is an alpha release of Sculpin 3.0.0.

    🆕 New requirements for this version of Sculpin include PHP 7.2 or higher.

    🗄 As this is an Alpha, please keep an eye out for issues. There are some Symfony 3.4-related deprecation notices that have been popping up under certain environments, and it would be nice to resolve them. If you have such an environment, it would be helpful to add those notices to an issue to be resolved.

    🆕 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_dispatcher service not being public.
    • A little bit of syntax cleanup (array() to [])

    🆕 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-dir parameter has been modified. Bundles and extensions that rely on sculpin.output_dir should be updated to use the sculpin.writer service for writing to the proper output location.

    🔧 The temporary workaround for the dflydev/dot-access-configuration dependency in Alpha 1 has been removed.

    Alpha 1:

    ⚡️ 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.
    

    Enjoy!