Releases: leafsphp/leaf
Releases · leafsphp/leaf
🪻 Dark and Handsome '1'
v3.10.1 - 17 Dec 2024
Fixed
- Patched up empty optional dynamic params showing as ""
🪻 Dark and Handsome
v3.10 - 15 Dec 2024
Added
- Added support for middleware with params using
:
and|
for multiple parameters
🌷 Black dahlia
v3.9 - 6 Dec 2024
Added
- Added route param support for
apiResource()
Fixed
- Patched up resource routes to match documentation
- Fixed PHP 8.4 warnings by @joanhey
🥀 Before the Storm '1'
v3.8.1 - 20 Nov 2024
Fixed
- Patched up internal middleware filter to separate "real" middleware from rogue bluffs (#268)
🥀 Before the Storm
v3.8 - 28 Oct 2024
Added
- Added class middleware support for Leaf MVC
- Added support for multiple middleware on routes and groups
- Added support for resource routes with route options
- Added shortcut method to retrieve attached view engines
Fixed
- Fixed CSRF init order by @ibnsultan
- Patched up internal route handler state syncing by @mychidarko
Changed
- Switched internal testing/linting to alchemy
🌸 Enchanted Sunrise
v3.7 - 2 Oct 2024
Added
- Added extensive support for CSRF module
- Merged Leaf Router into Core by @mychidarko
Fixed
- Fixed optional route params by @tomvb
- Load csrf configs before initializing @ibnsultan
Changed
- Removed all middleware in favour of middleware functions
- Synced app
mode
toAPP_ENV
- Rewrote router registrar (no new API)
Removed
- Removed deprecated Leaf\View class
- Removed Router::before() middleware
- Moved Leaf\Middleware class to Leaf MVC
🧚 Twilight Magic '1'
v3.6.1 - 16 Sep 2024
Added
- Added
Config::view()
method to return attached view instances - Allow passing data to next middleware handler
Changed
- Removed hard require of some PHP extensions
🧚 Twilight Magic
v3.6 - 25 August 2024
Fixed
- Removed resource intense code
Changed
- Updated to Leaf's new config API
- Switched from nested config to flat config
- Move Leaf DI into Leaf config
- Move Leaf View into Leaf config
Removed
- Removed
App::setResponseClass()
- Removed
App::setRequestClass()
- Deprecated Leaf\View (Use Leaf\Config::attachView())
New contributors
🥀 Black Prince Coleus
🥀 Hello Darkness '1'
v3.4.1 - 8 Jul 2023
Fixed
- Patched up issue with custom error handlers