Releases
v3.0
v3.0 - 15 Apr, 2022
Added
Added support for global functions
Added unit tests
Added pestphp
Added more support for configuring with env variables.
Added script
method on app
to handle modes.
Added automatic loading for major modules.
Added CSRF handler.
Added autoloading for the CSRF module
Added CORS handler for leafs/cors
Updated error pages
Added .env
precedence over local config
Added support for recursive config
Added support for nested config
Added support for custom setting groups
Switched to leaf exceptions
Fixed
Fixed PHP 7.3 unsupported types
Created a standard for functional mode
Revamped error pages
Fixed potential type errors
Fixed malformed JWT error on auth module
Added single state for container settings and leaf config
Fixed breaks in PHP 8+
Changed
You no longer need to initialize Leaf.
Moved Leaf\Http
namespace to HTTP module
Moved base controller, model, database and to mvc-core
module
Disabled logging by default
Moved bareui, fs, auth, form, cookies, session, db and date into modules
Moved Leaf\Router
into installable modules.
Changed leaf router add
to use
Tied leaf router directly to Leaf\App
Upgraded all dependencies
Added strict types
Removed
Removed unused dependencies
Removed experimental features
Removed unused initializers
Removed evadeCors
method on leaf
Removed Leaf\Router::getRequestMethod
Removed unnecessary code to improve performance
Removed app instance on middleware
Removed unused helper functions
Removed leftover files from clean up
You can’t perform that action at this time.