Skip to content

Releases: leafsphp/leaf

1 Leaf Clover

11 Dec 05:41
6a5dfec
Compare
Choose a tag to compare
1 Leaf Clover Pre-release
Pre-release

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 to renderPage
  • Changed all getParams to get

Removed

Nothing was removed

Desert Cactus

13 Nov 11:08
4c4ae83
Compare
Choose a tag to compare

Changelog

v1.4.1 - 13th November, 2019

Added

  • Added FileSystem module
  • Added mysqliQuery method to leaf\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

02 Nov 03:18
Compare
Choose a tag to compare

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 without JWT. 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 to Form

Removed

  • Removed Leaf Exceptions
  • Removed Middleware interfaces

Aloe

24 Oct 13:22
31ffe72
Compare
Choose a tag to compare

Changelog

1.3.0 - 24th October, 2019

Added

  • Added support for native GET requests in Request::getParam
  • Added support for native GET requests in Request::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 to Date
  • Renamed Date::timestamp to Date::randomTimestamp
  • Changed generateToken params to generateToken($payload, $secret_phrase)
  • Moved request and response to http folder inside core

Removed

  • Removed the isEmpty, isEmptyOrNull and returnEmptyOrNull methods from Validation

Clover

17 Oct 19:11
Compare
Choose a tag to compare
v1.2.0

restructured project to match composer