winter:fresh
to remove the demo plugin even when the demo theme has already been removed.array
).deleteMessage
property for successful deletions, and noRecordsDeletedMessage
property for when no deletions occurred due to missing selections or an altered list query not returning any applicable records.php artisan winter:passwd admin NewPasswordHere
winter:env
command is now privileged and will run even if plugins are failing to boot.options
property is now available: \Path\To\Class::staticMethodName
will use the array returned by calling the static method \Path\To\Class::staticMethodName()
as the optionsnoRecordsMessage
configuration value to specify a message when a list is empty can now be specified for list-type widgets in the Relation controller.session.same_site
now defaults to Lax
instead of null and any invalid configurations will be automatically corrected to the default value of Lax
. See #5293 for a detailed breakdown.removeSideMenuItems()
helper method to NavigationManager
, which can quickly remove one or more side menu items for a specific owner and menu._current_locale
.$query->selectConcat(array $parts, string $as)
to concatenate an array of parts into a single column/attribute $as
.upsert($values, $uniqueBy, $updateColumns)
QueryBuilder method added in Laravel 8.x which allows for bulk updates or inserts at the database level.backend.manage_own_editor
permission to allow users to manage their own personal editor preferences without being able to modify the global ones.media_path()
helper function to return the fully qualified path to the media directory.Storage::identify($disk)
method to identify the name of the disk configuration used to instantiate the given disk instance.Winter\Rain\Database\Behaviors\Sortable
behavior that mirrors the functionality of the Winter\Rain\Database\Traits\Sortable
trait except with the ability to dynamically attach it to models at runtime allowing for third-party plugins to be extended with the functionality.themes/mytheme/lang/en/lang.php
contains 'ga_api_key' => 'Google Analytics API Key'
, referenced by themes.mytheme::lang.ga_api_key
.{% include 'path' %}
or {{ source(path) }}
Twig functions.minItems
option did not pre-fill the repeater with the minimum items..u
) or milliseconds (.v
) but a given value provided to an attribute that is cast as a date does not include that information, then the date casting logic will now automatically add the appropriate number of zeros to the end of the provided date value for it to be accepted when parsing the provided value according to the defined dateFormat for the model. This fixes an issue with databases that have .u
or .v
in date columns that are managed by the datepicker in the backend which doesn't support sending micro or milliseconds.uploads_path()
helper.http_build_url()
polyfill where the current and replacement URLs couldn't be passed as strings.conditions
property would cause one of the relationships to be wiped out on saves of a separate relationship. See wintercms/winter#4952 for more information.theme:sync
command were too loosely matched, which could lead to files that weren't intended to be synced being synced anyways.php artisan winter:passwd admin NewPasswordHere
Sign up to our newsletter and receive updates on Winter releases, new features in the works, plugin and theme promotions and much more!