The Laravel 9 migration continues to move forward at full steam. There are a number of new features & changes coming to the Console as a part of the pending Winter CMS v1.2 update that we wanted to share with you:
Symfony v5.4 added the ability for commands to be able to provide tab-autocomplete results to the shell for an improved user experience. Most Winter commands provide support for autocompletion of input values out of the box and it is easy to add support in your own custom commands when extending the
Winter\Storm\Console\Command base class.
This feature requires that you run a command in your shell once in order to enable it for all Laravel / Winter console commands:
artisan completion --help
artisan completion will generate the shell script required to be imported into your shell in order to enable support for autocompletion of Winter / Laravel commands; passing the
--help flag will provide detailed instructions on how to install the generated script.
Symfony 5.2 added support for handling signals like SIGTERM, SIGQUIT, etc (usually triggered by the user when pressing CTRL+C in the terminal) in your custom console commands.
This is extremely useful to handle clean up and logging tasks and has already been implemented in the
mix:watch command (where the only way the command can end in the first place is via a process signal).
Read more on the Symfony blog.
In addition to the major new features available for console commands in Winter v1.2, a number of tweaks have been made to the existing console commands in Winter. Some of them are listed below:
create:themegoes in the
create:plugingoes in the
winter:installcommands through the new
EnvFileparsers - these commands should no longer interfere with each other.
winter:up, etc) to make the developer experience of using Winter more familiar to developers with Laravel experience.
These are just a few of the many exciting improvements coming in Winter v1.2! Interested in trying them out now? The Laravel 9 PR is ready and available for testing in your projects today! Follow the instructions at https://github.com/wintercms/winter/pull/148 in order to start testing Winter v1.2 with your projects now!
The Winter CMS maintainers are pleased to announce that Winter CMS v1.2.1 is now available. You may upgrade to this version automatically by running a Composer update in your Winter CMS install directory through
The main focus of this release was improving support for more complex hosting solutions such as Laravel Vapor or Amazon Web Services that use ephemeral microservices, proxying and cloud storage, meaning less configuration and customisation in order to run Winter CMS on SaaS platforms. In addition, we refined our API to follow Laravel 9 more closely and fixed several bu...Read more Winter: 16 Months Later With the first year of Winter behind us, let's take a look at what we were able to achieve in 2021. Read more
Sign up to our newsletter and receive updates on Winter releases, new features in the works, plugin and theme promotions and much more!