Skip to content

Releases: leafsphp/leaf

🥀 Before the Storm

06 Nov 22:13
Compare
Choose a tag to compare

v3.8 - 28 Oct 2024

Added

  • Added class middleware support for Leaf MVC
  • Added support for multiple middleware on routes and groups
  • Added support for resource routes with route options
  • Added shortcut method to retrieve attached view engines

Fixed

Changed

  • Switched internal testing/linting to alchemy

🌸 Enchanted Sunrise

02 Oct 13:06
362352f
Compare
Choose a tag to compare

v3.7 - 2 Oct 2024

Added

  • Added extensive support for CSRF module
  • Merged Leaf Router into Core by @mychidarko

Fixed

  • Fixed optional route params by @tomvb
  • Load csrf configs before initializing @ibnsultan

Changed

  • Removed all middleware in favour of middleware functions
  • Synced app mode to APP_ENV
  • Rewrote router registrar (no new API)

Removed

  • Removed deprecated Leaf\View class
  • Removed Router::before() middleware
  • Moved Leaf\Middleware class to Leaf MVC

🧚 Twilight Magic '1'

16 Sep 19:46
Compare
Choose a tag to compare

v3.6.1 - 16 Sep 2024

Added

  • Added Config::view() method to return attached view instances
  • Allow passing data to next middleware handler

Changed

  • Removed hard require of some PHP extensions

🧚 Twilight Magic

25 Aug 02:20
Compare
Choose a tag to compare

v3.6 - 25 August 2024

Fixed

  • Removed resource intense code

Changed

  • Updated to Leaf's new config API
  • Switched from nested config to flat config
  • Move Leaf DI into Leaf config
  • Move Leaf View into Leaf config

Removed

  • Removed App::setResponseClass()
  • Removed App::setRequestClass()
  • Deprecated Leaf\View (Use Leaf\Config::attachView())

New contributors

🥀 Black Prince Coleus

01 Sep 19:08
Compare
Choose a tag to compare

v3.5.0 - 1 Sep 2023

Fixed

  • Updated PHP function scopes (#212, #208)
  • Simplified internal functions (#211)

Changed

  • Updated environment constraints (#210)

Thanks @joanhey

🥀 Hello Darkness '1'

08 Jul 12:14
Compare
Choose a tag to compare

v3.4.1 - 8 Jul 2023

Fixed

  • Patched up issue with custom error handlers

🥀 Hello Darkness

19 May 07:31
Compare
Choose a tag to compare

v3.4.0 - 19 May 2023

Added

  • Added support for library scripts
  • Added Eien config
  • Added support for named middleware

Changed

  • Moved ALL error handling responsibilities to \Leaf\Exception

Removed

  • Moved module initializers to scripts

🌺 Midnight Wine '1'

11 Mar 15:36
Compare
Choose a tag to compare

v3.3.1 - 11 Mar 2023

Fixed

  • Patched up app config resetting after new values are added
  • Improved performance of application config setting on first instance

🌺 Midnight Wine

27 Feb 17:56
43168bb
Compare
Choose a tag to compare

v3.3.0 - 27 Feb 2023

Added

  • Added support for Eien websockets

Fixed

  • Hard set status on CSRF error
  • Fixed non-static methods error

Changed

Removed

  • Removed obsolete code

🌺 Viola “Black Delight” [Eien Compat Build 2]

25 Dec 21:07
2a524c5
Compare
Choose a tag to compare

v3.2.2-beta - 25 Dec 2022

Added

  • Added support for Eien websockets

Fixed

  • Fixed non-static methods error
  • Fixed issue with CSRF error

Removed

  • Removed obsolete code