Skip to content

Commit

Permalink
Update changelog & dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Mar 22, 2024
1 parent 91c2452 commit 1631e4a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Update to PHPUnit 10
- Update to Monolog 3
- Test against MariaDB [#1238](https://github.com/userfrosting/UserFrosting/issues/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.

### Bakery
- 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 for `npm install`.
- `assets:update` : Alias for `npm update`.
- `assets:webpack` : Alias for `npm run dev`, `npm run build` and `npm run watch`, each used to run Webpack Encore.
- `assets:build` : Aggregator command for building assets. Include by default `assets:install` and `assets:webpack`. The `webpack` and `build-assets` command are now alias of this command. `bake` also uses this command now. Sub commands can be added to `assets:build` by listening to `AssetsBuildCommandEvent`.
- `assets:build` : Aggregator command for building assets. Includes by default `assets:install` and `assets:webpack`. Sub commands can be added to `assets:build` by listening to `AssetsBuildCommandEvent`.
- The old `webpack` and `build-assets` command are still available, and now alias `assets:build`. `bake` also uses `assets:build` now.
- New Bakery commands : `serve` & `debug:twig`

## [5.0.1](https://github.com/userfrosting/sprinkle-core/compare/5.0.0...5.0.1)
- Add env for public URI, default back to empty string
Expand Down
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"slim/csrf": "^1.3",
"slim/twig-view": "^3.0",
"vlucas/phpdotenv": "^5.3",
"userfrosting/framework": "^5.1@dev"
"userfrosting/framework": "^5.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
Expand All @@ -58,8 +58,6 @@
"slam/phpstan-extensions": "^6.0",
"php-mock/php-mock-mockery": "^1.3"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"UserFrosting\\Sprinkle\\Core\\": "app/src/"
Expand Down

0 comments on commit 1631e4a

Please sign in to comment.