Releases: userfrosting/sprinkle-core
Releases · userfrosting/sprinkle-core
5.1.5
5.1.4
5.1.3
What's changed?
- Replace
LocaleMiddleware
withServerRequestMiddleware
. A new class,RequestContainer
, can be injected or retrieved from the container to get the server request. It will benull
if the request is not defined (called before it is injected into the container by Middleware or if there's no request, e.g., a Bakery command).
Full Changelog: 5.1.2...5.1.3
5.1.2
5.1.1
What's changed
- Fix issue with sprunje using multiple listable fetched from database (Chat Reference)
Full Changelog: 5.1.0...5.1.1
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
5.0.1
What's changed
- Add env for public URI, default back to empty string
- Remove rel=author, rel=publisher tags from base template
Full Changelog: 5.0.0...5.0.1
5.0.0
This is the first official release of the Core Sprinkle for UserFrosting 5.
For more information : https://learn.userfrosting.com/upgrading/46-to-50