5.1.0
What's changed
- Drop PHP 8.1 support, add PHP 8.3 support
- Update to Laravel 10
- Update to PHPUnit 10
- Update to Monolog 3
- Test against MariaDB #1238
- The different loggers now implement their own interface
- Change sprunje type-hinting, fixing issue with some many-to-many relations
- New Twig function :
config
- Use our own RouterParser, wrapped around Slim's RouteParser. Allows to add 'fallback' routes when names routes are not found.
- Rework assets building command. This change allows new bakery command to update Npm assets, and eventually allows sprinkles to replace webpack with something else (eg. Vite). The new commands are :
assets:install
: Alias fornpm install
.assets:update
: Alias fornpm update
.assets:webpack
: Alias fornpm run dev
,npm run build
andnpm run watch
, each used to run Webpack Encore.assets:build
: Aggregator command for building assets. Includes by defaultassets:install
andassets:webpack
. Sub commands can be added toassets:build
by listening toAssetsBuildCommandEvent
.- The old
webpack
andbuild-assets
command are still available, and now aliasassets:build
.bake
also usesassets:build
now.
- New Bakery commands :
serve
&debug:twig
Upgrade guide : https://learn.userfrosting.com/5.1/upgrading/50-to-51
Full Changelog: 5.0.1...5.1.0