Skip to content

👸🏼 Queen Of The Night (PREVIEW)

Pre-release
Pre-release
Compare
Choose a tag to compare
@mychidarko mychidarko released this 10 Nov 21:46
· 249 commits to v3.x since this release
c1ef385

v3.0 (Preview) - 10 November

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

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 to use
  • 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