Skip to content

Latest commit

 

History

History
164 lines (121 loc) · 6.04 KB

CHANGELOG.md

File metadata and controls

164 lines (121 loc) · 6.04 KB

Linna App Changelog

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

Changed

  • dependencies updated

v0.16.0 - 2022-09-17

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

v0.15.0 - 2019-08-18

Changed

  • require PHP 7.2
  • require linna/framework v0.26.0
  • URL_STYLE constant defined in /public/index.php renamed to URL_PUBLIC

Added

  • App\Helper\AppDotEnv->registerKey() method, add a new valid key for .env file
  • App\Helper\AppDotEnv->registerKeys() method, add a new set of valid keys for .env file
  • App\Templates\RawTemplate class
  • App\Templates\HtmlTemplate->__construct() 3rd argument as string $jsDir
  • Linna\Tests\HtmlTemplateTest class
  • Linna\Tests\JsonTemplateTest class
  • Linna\Tests\NullTemplateTest class
  • Linna\Tests\RawTemplateTest class

Fixed

  • App\Templates\HtmlTemplate load js files from css folder

v0.14.0 - 2019-01-13

Added

  • App\Controllers\NullController class
  • App\Helper\AppDotEnv; class
  • App\Templates\NullTemplate class
  • App\Views\NullView class
  • Dotenv section in public/index.php
  • option envFile to app section in config/config.php

Changed

Removed

  • Autoloader section from public/index.php
  • bin/compile-routes script
  • config/routes.compiled.php file
  • option compiledRoutes to app section in config/config.php

v0.13.0 - 2018-09-01

Changed

Fixed

  • compiled routes bug in index.php

v0.12.0 - 2017-10-24

Changed

v0.11.0 - 2017-10-04

Changed

  • App\Models\E404Model renamed to App\Models\NullModel, use it when page do not require elaborated data
  • App\Templates\HtmlTemplate->__construct() now require as parameters template and css directory
  • require linna/framework v0.21.0
  • option urlProtocol renamed to protocol
  • option urlSubFolder renamed to subFolder
  • option urlPublicFolder renamed to publicFolder
  • option useCompiledRoutes renamed to compiledRoutes

Added

  • App\Templates\HtmlTemplate section to config/injections.php

v0.10.1 - 2017-07-25

Changed

  • config/config.php option useCompiledRoutes default changed to false

Added

  • config/config.php option rewriteModeOffRouter in router section

Fixed

  • app working in rewrite mode off

v0.10.0 - 2017-07-17

Added

  • 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 directory
  • robots.txt in /public directory

Changed

  • declare(strict_types=1); added where missing
  • .htaccess configurations moved to virtual host config file
  • README.md virtual host rewrite mod config added
  • require linna/framework v0.20.0

Fixed

  • CHANGELOG.md links url
  • file permissions

Removed

  • .htaccess in / directory
  • .htaccess in /public directory

v0.9.0 - 2017-06-24

Changed

v0.8.0 - 2017-06-01

Removed

  • all files for login and user
  • EnhancedUserMapper.php from src/Mappers directory
  • PermissionMapper.php from src/Mappers directory
  • RoleMapper.php from src/Mappers directory

Changed

  • app theme and templates
  • templates that implements Linna\Mvc\TemplateInterface now contain public function getOutput() : string instead of public function output()
  • option default for urlSubFolder changed from /app/ to /app
  • option default for urlPublicFolder changed from public to /app/public
  • Linna\Mvc\FrontController usage changed on public/index.php
  • require linna/framework v0.17.0

v0.7.0 - 2017-03-28

Changed