Skip to content

Releases: leafsphp/leaf

🪻 Dark and Handsome '1'

17 Dec 20:13
Compare
Choose a tag to compare

v3.10.1 - 17 Dec 2024

Fixed

  • Patched up empty optional dynamic params showing as ""

🪻 Dark and Handsome

15 Dec 11:06
Compare
Choose a tag to compare

v3.10 - 15 Dec 2024

Added

  • Added support for middleware with params using : and | for multiple parameters

🌷 Black dahlia

06 Dec 17:11
Compare
Choose a tag to compare

v3.9 - 6 Dec 2024

Added

  • Added route param support for apiResource()

Fixed

  • Patched up resource routes to match documentation
  • Fixed PHP 8.4 warnings by @joanhey

🥀 Before the Storm '1'

20 Nov 00:57
Compare
Choose a tag to compare

v3.8.1 - 20 Nov 2024

Fixed

  • Patched up internal middleware filter to separate "real" middleware from rogue bluffs (#268)

🥀 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