RelationController, etc) no longer require a configuration property (i.e.
$relationConfig, etc) defined on the implementing controller if the default config file is being used (i.e.
winter:downcommand now requires a user to explicitly confirm the action by typing
DELETEin their CLI.
plugin:removecommand now requires a user to explicitly confirm the action by typing the plugin code in their CLI.
https://template when adding a link or image, to encourage use of secure links.
rolesproperty defined will now only be inherited by the
developersystem role, not all system roles.
winter.mix.jsis present in a plugin, theme, or module.
System\Classes\MixAssetsfor managing Laravel Mix packages provided by plugins, themes, & modules. See
registerMixAssets()now available as a registration method for
MixAssets::registerCallback()for Modules, and the
System\Traits\PropertyContainertrait to provide dynamic property options for Inspector fields no longer need to have zero (or one optional) parameters in their constructor in order to work correctly. Note that if your constructor requires a value in any property and does not define a default, this will still fail, so ideally you should still use a class specifically set up for handling Inspector properties.
| md_lineTwig filter to make use of the
Markdown::parseLine()method in Twig templates.
plugin:removecommand now provides a
--no-rollbackoption which disables the rolling back of database migrations for a plugin when it is being removed, allowing the plugin data to be retained.
ASSET_URLconfiguration options for use with the
| assetTwig Filter
imageHeight()available as Twig Functions
datepickerFormWidgets would leave the field greyed out but still editable.
backend.access_dashboardcould still access the dashboard if they did not have access to any other main menu items in the backend.
is_safe="html"flag from the System Twig filters (
| imageWidth, &
| imageHeight) as none of them should ever return values that should be injected into templates without escaping the results.
Winter.Notes, a new first party plugin for adding notes to any record type in Winter was released. It provides a custom
notesFormWidget that presents a note management experience similar to the Mac OS Notes App.
.vscode/settings.jsonto the project to help VS Code correctly identify the language (PHP, Twig, or WinterCMS Template) used for
.htmfiles based on where in the project they are located.
.vscode/extensions.jsonto the project to provide recommendations on extensions for VS Code that work well with Winter
Sign up to our newsletter and receive updates on Winter releases, new features in the works, plugin and theme promotions and much more!