Releases: linna/app
Releases · linna/app
v0.16.1
v0.16.0
New on this version
NOTE: Code porting to PHP 8.1 ongoing.
Added
Linna\App\Models\ErrorModel
classLinna\App\Helper\RouteHelper
class, permit to declare routes directly in controller as annotation- option
onNullRoute
ofapp
section with default value/error/404
inconfig/config.php
- option
protocol
ofapp
section now is set automatically config.local.php
file for develop pourposes, it has priority onconfig.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 toApp\Controllers\ErrorController
Linna\App\Views\E404View
renamed toApp\Views\ErrorView
v0.15.0
New on this version
Changed
- require PHP 7.2
- require linna/framework v0.26.0
URL_STYLE
constant defined in/public/index.php
renamed toURL_PUBLIC
Added
App\Helper\AppDotEnv->registerKey()
method, add a new valid key for .env fileApp\Helper\AppDotEnv->registerKeys()
method, add a new set of valid keys for .env fileApp\Templates\RawTemplate
classApp\Templates\HtmlTemplate->__construct()
3rd argument asstring $jsDir
Linna\Tests\HtmlTemplateTest
classLinna\Tests\JsonTemplateTest
classLinna\Tests\NullTemplateTest
classLinna\Tests\RawTemplateTest
class
Fixed
App\Templates\HtmlTemplate
load js files from css folder
v0.14.0
New on this version
Added
App\Controllers\NullController
classApp\Helper\AppDotEnv;
classApp\Templates\NullTemplate
classApp\Views\NullView
class- Dotenv section in
public/index.php
- option
envFile
toapp
section inconfig/config.php
Changed
- require linna/framework v0.25.0
composer.json
autoload section- all App classes are loaded with composer autoload
Removed
- Autoloader section from
public/index.php
bin/compile-routes
scriptconfig/routes.compiled.php
file- option
compiledRoutes
toapp
section inconfig/config.php
For more information read the full changelog.