New Roots
Pre-release
Pre-release
v2.4.0 - BETA - 30th November, 2020
Unlike previous versions, this version of Leaf is focusing on improving the use of existing features, rather than just pumping new magic into Leaf. It has a lot of bug fixes, standardization of method names and overall upgrades.
Added
- Added
App::evadeCors - Added
App::routesto preview all routes - Added
Db::first() - Leaf DB can now detect query type even when
query - Added
orWhere,whereLike,orWhereLikelike,orLike,orderBy,alllimitand LIKE helpers to Leaf Db - Added new format to
Date::now - Added
Auth::update - Added custom token lifetime support on
Auth - Added
Authsettings to allow easy and more detailed customizations - Added token lifetime support on
Helpers\Authentication - Added support for app down for maintainance
Fixed
- Fixed login bug with
Auth::currentUser - Fixed Leaf DB same value bug
- Minor fixes on
Auth::loginandAuth::register
Changed
- Switched methods to camel case
- Renamed
Auth::useTokentoAuth::id - Renamed
Auth::currentUsertoAuth::user - Made
Helpers\JWTandHelpers\Authenticationmethods static - Methods return
nullinstead offalsein case of unexpected results
Removed
- Removed
Form::isEmptyandForm::isNull - Removed deprecated methods from
Response - Removed deprecated methods from
Date
This list is still being updated.