This will allow for singletons to not fire off their "ready" handler until after the dependencies are fulfilled. Normal plugins which are used and have not had their dependencies fulfilled will still throw an error.
- Added events "flash.create" and "flash.remove" triggered when flash messages are created and removed
- Added URL utility into Snowboard core to handle URL generation and base URL detection
- Added base URL in Twig tag
- Updated Stylesheet Loader to use base URL when injecting extras CSS
Also improved the developer experience by making it easier to see what the actual issue is if an error is encountered during the resizer initialization process.
The above commit prevented components within a partial from populating their own parameters into the template. This partially reverts the change but still allows the main partial being rendered to override the variables if needed.
Fixes an issue where if the underlying data behind a datasource changes through manual intervention (either in the database or the filesystem) before running theme:sync it wasn't being detected by the theme:sync command.
This PR add a `multiple` property to fields in [theme customization](https://wintercms.com/docs/themes/development#customization).
If `multiple: true`, the field is added to `attachMany` and allow multiple files selection, in all other cases the current behaviour is applied.
Backend migrations should only touch the backend tables, same for the system module. This was added for build 345 in 2016 in the wrong migrations. See d7cfe61e67
This was originally added in bd9f88587f (and further refined in 160ae441ff) as a workaround for issues in MySQL < 5.7 and MariaDB < 10.2 related to the default string length when using the recommended utf8mb4 database encoding.
As of Laravel 8 the minimum supported versions of MySQL and MariaDB are not affected by this issue so we're now removing this configuration / workaround in Winter v1.2.