All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
[Unreleased] v0.17.0
v0.16.1 - 2022-10-03
- dependencies updated
v0.16.0 - 2022-09-17
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
- namespace convention, all under
Linna\App
namespace Linna\App\Helper\DotEnv
doesn't override configuration
- 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 - 2019-08-18
- require PHP 7.2
- require linna/framework v0.26.0
URL_STYLE
constant defined in/public/index.php
renamed toURL_PUBLIC
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
App\Templates\HtmlTemplate
load js files from css folder
v0.14.0 - 2019-01-13
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
- require linna/framework v0.25.0
composer.json
autoload section- all App classes are loaded with composer autoload
- Autoloader section from
public/index.php
bin/compile-routes
scriptconfig/routes.compiled.php
file- option
compiledRoutes
toapp
section inconfig/config.php
v0.13.0 - 2018-09-01
- require linna/framework v0.24.0
- minimun PHP version: 7.1
- E404 route now responds with 404 status code
- compiled routes bug in
index.php
v0.12.0 - 2017-10-24
- require linna/framework v0.22.0
v0.11.0 - 2017-10-04
App\Models\E404Model
renamed toApp\Models\NullModel
, use it when page do not require elaborated dataApp\Templates\HtmlTemplate->__construct()
now require as parameters template and css directory- require linna/framework v0.21.0
- option
urlProtocol
renamed toprotocol
- option
urlSubFolder
renamed tosubFolder
- option
urlPublicFolder
renamed topublicFolder
- option
useCompiledRoutes
renamed tocompiledRoutes
App\Templates\HtmlTemplate
section toconfig/injections.php
v0.10.1 - 2017-07-25
config/config.php
optionuseCompiledRoutes
default changed tofalse
config/config.php
optionrewriteModeOffRouter
inrouter
section
- app working in rewrite mode off
v0.10.0 - 2017-07-17
bin/compile-routes
script for export routes as php array- possibility to declare routes as
Linna\Http\RouteCollection
and export it as php array favicon.png
in/public
directoryrobots.txt
in/public
directory
declare(strict_types=1);
added where missing.htaccess
configurations moved to virtual host config fileREADME.md
virtual host rewrite mod config added- require linna/framework v0.20.0
CHANGELOG.md
links url- file permissions
.htaccess
in/
directory.htaccess
in/public
directory
v0.9.0 - 2017-06-24
- require linna/framework v0.19.0
v0.8.0 - 2017-06-01
- all files for login and user
- EnhancedUserMapper.php from
src/Mappers
directory - PermissionMapper.php from
src/Mappers
directory - RoleMapper.php from
src/Mappers
directory
- app theme and templates
- templates that implements
Linna\Mvc\TemplateInterface
now containpublic function getOutput() : string
instead ofpublic function output()
- option default for
urlSubFolder
changed from/app/
to/app
- option default for
urlPublicFolder
changed frompublic
to/app/public
Linna\Mvc\FrontController
usage changed onpublic/index.php
- require linna/framework v0.17.0
v0.7.0 - 2017-03-28
- require linna-framework v0.15.0