Skip to content

v0.16.0

Compare
Choose a tag to compare
@s3b4stian s3b4stian released this 17 Sep 10:16
· 1 commit to b0.16.0 since this release

New on this version

NOTE: Code porting to PHP 8.1 ongoing.

Added

  • Linna\App\Models\ErrorModel class
  • Linna\App\Helper\RouteHelper class, permit to declare routes directly in controller as annotation
  • option onNullRoute of app section with default value /error/404 in config/config.php
  • option protocol of app section now is set automatically
  • config.local.php file for develop pourposes, it has priority on config.php

Fixed

  • namespace convention, all under Linna\App namespace
  • Linna\App\Helper\DotEnv doesn't override configuration

Changed

  • require PHP 8.1
  • require linna/framework v0.27.0
  • Error page system.
  • Linna\App\Controllers\E404Controller renamed to App\Controllers\ErrorController
  • Linna\App\Views\E404View renamed to App\Views\ErrorView