Skip to content

Releases: linna/app

v0.16.1

03 Oct 20:50
Compare
Choose a tag to compare

New on this version

Actual stable environment:

  • app 0.16.0
  • framework 0.27.0
  • auth-mapper-* 0.2.0

Changed

  • dependencies updated

v0.16.0

17 Sep 10:16
Compare
Choose a tag to compare

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

v0.15.0

18 Aug 18:04
4a86fea
Compare
Choose a tag to compare

New on this version

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

13 Jan 13:09
Compare
Choose a tag to compare

New on this version

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

For more information read the full changelog.

v0.13.0

31 Aug 22:50
Compare
Choose a tag to compare

New on this version

Changed

Fixed

  • compiled routes bug in index.php

For more information read the full changelog.

v0.12.0

24 Oct 17:23
Compare
Choose a tag to compare

New on this version

Changed

For more information read the full Changelog until now.

v0.11.0

04 Oct 18:58
Compare
Choose a tag to compare

Please read the changelog

v0.10.1

25 Jul 10:47
Compare
Choose a tag to compare

Please read changelog

v0.10.0

17 Jul 19:20
Compare
Choose a tag to compare

Please read changelog

v0.9.0

24 Jun 20:09
Compare
Choose a tag to compare

Please read changelog