Releases: leafsphp/leaf
Releases · leafsphp/leaf
🥀 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
🥀 Hello Darkness
v3.4.0 - 19 May 2023
Added
- Added support for library scripts
- Added Eien config
- Added support for named middleware
Changed
- Moved ALL error handling responsibilities to
\Leaf\Exception
Removed
- Moved module initializers to scripts
🌺 Midnight Wine '1'
v3.3.1 - 11 Mar 2023
Fixed
- Patched up
app
config resetting after new values are added - Improved performance of application config setting on first instance
🌺 Midnight Wine
v3.3.0 - 27 Feb 2023
Added
- Added support for Eien websockets
Fixed
- Hard set status on CSRF error
- Fixed non-static methods error
Changed
Removed
- Removed obsolete code
🌺 Viola “Black Delight” [Eien Compat Build 2]
v3.2.2-beta - 25 Dec 2022
Added
- Added support for Eien websockets
Fixed
- Fixed non-static methods error
- Fixed issue with CSRF error
Removed
- Removed obsolete code