UX/UI Improvements
- Added support for setting failover transports to the backend Mail Settings page.
DX Improvements
config:clearcommand now warns users that caching configuration files is not currently supported in Winter CMS.- Improved
create:commandscaffolder to allow for hyphens in generated command names and added optional--descriptionoption to set the help text for the generated command. - Enhanced
winter:util compileto download FontAwesome assets required to compile backend LESS files if not present. - Added the Form's id attribute to the forms generated by the default FormController views.
- Registered the
Illuminate\Contracts\Auth\Access\Gatecontract with the application as a null gate to prevent plugins and IDE extensions that expect the contract to be present from throwing unhelpful errors. - Exceptions passed to the
Backend\Traits\ErrorMakertrait are now logged in the backend error log (excludingApplicationExceptions).
API Changes
- Added
iconClassoption for thefileuploadFormWidget to specify the icon that should be used for the upload button. - Added
searchwidget configuration options to the RelationController'sview&managemode configuration (prompt,mode,scope,searchOnEnter).
Bug Fixes
- Improved compatiblity of Winter's
ConfigRepositorywith Laravel by aliasing top level config keys (currently prefixed with*::to reflect the namespaced config system used in Winter) to their naked versions (i.e.debugbaris still internally stored as*::debugbarbut will also be accessible from thegetItems()andall()methods on theConfigRepositoryasdebugbar). This paves the way for support for Laravel Nightwatch which relies on directly accessing the underlying config data structure for performance reasons. - Improved handling of package names as input to the
vite:compileandvite:watchcommands. - Fixed issue where
winter:util purge uploadscould sometimes delete files that were actually in use. - Improved vite base path generation to fix importing fonts.
- Improved error handling when using the default FormController views.
- Improved handling of form data in
Snowboard.request()to skipnullorundefinedvalues. - Removed the registration of the non-existant
Backend\FormWidgets\TimePickerFormWidget. - Updated
bootstrap/autoload.phpto return a 500 header when the vendor files are not present. - Fixed issue with the
DataTablewidget not being able to actually save data. - Fixed Preview labeling on the fancy toolbar for the default FormController view.
Security Improvements
- Ignored
vendor&node_modulesin the default.gitignoreto ensure that those directories are ignored at every level of the project, not just at the project root.
Community Improvements
- Published first party plugin Winter.LaravelBoost to add support for Laravel Boost in Winter v1.3.
- Published first party plugin Winter.LaravelNightwatch to add support for Laravel Nightwatch in Winter v1.3.
- Published an official first-party Docker image for Winter CMS: https://github.com/wintercms/docker.
Dependencies
- Improved support for PHP 8.4.
New Contributors
Full Changelog: v1.2.8...v1.2.9