Releases: leafsphp/leaf
Releases · leafsphp/leaf
1 Leaf Clover
v1.5.0 - 11th December, 2019
Added
- Added FS->deleteFolder
- Added FS->deleteFile
- Added Form->validate😅
- Added Form->validate and return errors to base controllers
- Added Leaf\Core\Str: equivalent of Illuminate\Support\Str with added methods
- Added Leaf Mysqli🤔
- Added Leaf PDO🤔
- Added Leaf\Core\Auth: simple login and signup
Fixed
- Fixed FS->deleteFile
- Fixed FS->listDir
- Fixed Leaf DB
- Fixed init bug with session
Changed
- Renamed Veins->renderTemplate to render
- Rename veins->assign to set()
- Renamed mkdir to createFolder
- Renamed mkdirInBase to createFolderInBase
- Renamed renameDir to renameFolder
- Changed vein file extension from .vein to .vein.php
- Split Leaf\Config\Db between Leaf\Core\Db\Mysqli and Leaf\Core\Db\PDO
- Changed
renderHtml
torenderPage
- Changed all
getParam
s toget
Removed
Nothing was removed
Desert Cactus
Changelog
v1.4.1 - 13th November, 2019
Added
- Added FileSystem module
- Added
mysqliQuery
method toleaf\config\db
- Added a bunch of handy session methods
- Added leaf token
- Added leaf form
Fixed
- Fixed a few problems with
leaf\config\db
; - Fixed tiny bug with
response->throwErr
Changed
- Changed
leaf\config\db
: connection variables and connection type are set on db init.$db = new db($host, $user, $password, $dbname, "PDO")
- Renamed renderHtmlPage to renderHtml
Removed
- Leaf\Config\DB has been depricated for now
Cactus
Changelog
v1.4 - 1st November, 2019
Added
- Added base Leaf Controller
Leaf\Core\Controller
- Added base controller for APIs:
Leaf\Core\ApiController
- Added base Leaf Model
Leaf\Core\Model
- Added support for full MVC app
- Added Leaf Veins in default Leaf package
- Added Error Handling for development and production
- Added a base database layer connected with custom environment variables
- Added a bunch of methods for Form Validation
- Added simple
Token
object for creating and validating tokens withoutJWT
. These can be used in test projects but are not recommended for use in actual projects
Fixed
- Fixed bug with
Response::renderHtmlPage()
- Fixed the HTTP code rendering in the browser from
Response::respondWithCode
Changed
- Changed
Validation
toForm
Removed
- Removed Leaf
Exceptions
- Removed Middleware interfaces
Aloe
Changelog
1.3.0 - 24th October, 2019
Added
- Added support for native
GET
requests inRequest::getParam
- Added support for native
GET
requests inRequest::getBody
- Added
setTimeZone()
to Date - Added
getTimeZone()
to Date - Added
now()
to Date - Added
randomDate
to Date - Added session support
- Added form data
POST
support
Fixed
- Fixed up the
Date::timestamp
method - Fixed up
Date::getDayFromNumber
- Fixed
getBearerToken
- Fixed
getAuthorizationHeader
Changed
- Changed
CustomDate
toDate
- Renamed
Date::timestamp
toDate::randomTimestamp
- Changed
generateToken
params togenerateToken($payload, $secret_phrase)
- Moved
request
andresponse
to http folder insidecore
Removed
- Removed the
isEmpty
,isEmptyOrNull
andreturnEmptyOrNull
methods fromValidation
Clover
v1.2.0 restructured project to match composer