Skip to content

💠 Gladiolus

Choose a tag to compare

@mychidarko mychidarko released this 27 Apr 10:23

v2.5.0 - 💠 Gladiolus - 27th April, 2021

Added

  • Leaf debug now controls error reporting (you don't want nasty errors showing in production)
  • Added Request::try
  • Added app.down config
  • Added Leaf app instance on Config
  • Added grouped namespaces to router
  • Added single route namespaces
  • Added named routes to router
  • Added router push for switching between pages
  • Added more customizations on Leaf\Database
  • Added simple flash messaging with Leaf\Flash
  • Added flash method to session
  • Added HTTP caching on Leaf\Http\Headers

Fixed

  • Fixed inverted condition for showing default development/production error pages.
  • Fixed router hooks
  • Added proper types on App and Router
  • Added proper controller and missing method warnings
  • Fixed incorrect method labeling
  • Fixed HTTP caching issues
  • Fixed app logger and app log writer
  • Fixed app break after non-existent middlware call

Changed

  • Switched debugging controls from mode to debug
  • Default 404 page now automatically loaded
  • Router middleware App instance now automatically loaded
  • Added null response for unset session variables
  • Leaf error handler now loads on App init
  • Default error 500 handler now automatically loaded
  • Updated leaf container

Removed

  • Removed unnecessary code from App
  • Removed app name
  • Removed view method on app and router
  • Removed previous hook support on app
  • Removed unused router config
  • Removed Leaf environment class
  • Removed unused default middleware
  • Leaf\Blade no longer comes with Leaf by default.
  • Removed status and contentType on Leaf\App