👸🏼 Queen Of The Night (RC 1)
Pre-release
Pre-release
v3.0 (Release Candidate) - 10 December
Added
- Added support for global functions
- 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 CSRF module
- Added CORS handler for
leafs/cors
- Updated error pages
- Added
.env
precedence over local config
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
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 module. - Changed leaf router
add
touse
- Tied leaf router directly to
Leaf\App
- Upgraded all dependencies
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