NOTE: As of v1.1.2, the core maintainer team has left October CMS and forked the project into Winter CMS.
type: number
inputs when hovered over or focused on.winter:install
commandperPageOptions
config property to the default stub for scaffolding new controllers.{colorpicker}
field in the Dynamic Syntax parser.availableColors
attribute can now be specified for colorpicker
type variables in the Dynamic Syntax parser.getRelationTypeDefinitions
and getRelationTypeDefinition
methods to models to query relationship definitions through methods as opposed to interacting with the relation properties directly.registerOwnerAlias($owner, $alias)
to the NavigationManager
to add aliases for given owners of registered menu items.registerPermissionOwnerAlias($owner, $alias)
to the AuthManager
to add aliases for given owners of registered permissions.registerOwnerAlias($owner, $alias)
to the SettingsManager
to add aliases for given owners of registered setting items.sort_order_column
property on a model implementing the Winter\Storm\Database\Behaviors\Sortable
behavior to define the name of the sort order column as constants cannot be defined on classes dynamically.detach
(default true) on the relationship definition./0
would return the result from /
.plugin:install
CLI command while installing normally in a web environment.listAllDirectories()
method in the MediaLibrary
helper now correctly excludes paths and directories that are specified in the storage ignore rules configuration.options: "\Path\To\Class::staticMethod"
were not receiving the Form widget instance or the Field widget instance as per the documentation.File
relationships on PostgreSQL would fail with the message "Varchar <> Integer comparison is not allowed".\r
vs \r\n
) would cause the safe mode protection to unnecessarily trigger (preventing any changes to non-protected properties from being saved) because the user's browser would modify the original line endings.winter:install
was not being respected and was instead always being set to a random string of characters as if no password had been provided.cms.linkPolicy
.SQLite
to the database options question of the winter:install
command so that --no-interaction
will work.dependsOn
to depend on another field that is itself dependent on other fields wouldn't be triggered when the first field was updated through the dependsOn
functionality.insert()
, update()
, delete()
methods on all PHP objects are now blocked from within Twig, data modifications should not be done at the view layer. If absolutely necessary, consider firing a view event instead.app.trustedHosts
) to protect against host header poisoning. The following values can be used: true
will allow only the naked and www
versions of app.url
as trusted hosts, the default of false
will disable the feature (except on the backend password reset flow), and finally an array of trusted host patterns.EventFake
class to provide mocking and testing services for events in unit tests.mailer.beforeAddContent
event.wikimedia/composer-merge-plugin
as Composer 2.0 support has fully arrived. Update your composer.json
files to require "wikimedia/composer-merge-plugin": "~2.0.1"
Sign up to our newsletter and receive updates on Winter releases, new features in the works, plugin and theme promotions and much more!