Skip to content

Releases: Digital-Media/fhooe-router-skeleton

v1.0.1

11 Sep 08:26
v1.0.1
c95ae58
Compare
Choose a tag to compare

1.0.1 - 2024-09-11

Fixed

Security

  • Bumped twig/twig dependency for the dashboard in composer.json to 3.14 due to CVE-2024-45411.

v1.0.0

05 Feb 15:50
v1.0.0
b10a555
Compare
Choose a tag to compare

1.0.0 - 2024-02-05

Added

  • Twig extension RouterExtension from fhooe/twig-extensions that makes the urlFor() and getBasePath() methods
    from the router available in Twig templates as url_for() and get_base_path().
  • Twig extension SessionExtension from fhooe/twig-extensions that provides a session(key) function to access
    entries from the session superglobal in Twig templates.
  • Introduced an icon for fhooe/router and fhooe/router-skeleton.

Changed

  • Switched to PHP 8.3 as a minimum requirement.
  • Updated all dependencies.
  • Updated all views/templates to match fhooe-web-dock with dark mode support.

Removed

  • twbs/bootstrap and twbs/bootstrap-icons as dependencies. They are now loaded from included files and SVGs to
    reduce installation time.
  • composer.lock is now excluded from version control for more flexibility.

v0.3.1

17 Feb 09:52
v0.3.1
2f96bd6
Compare
Choose a tag to compare

0.3.1 - 2022-02-17

Changed

  • Make .gitignore exclude PhpStorm and Visual Studio Code project directories.
  • Bumped phpstan/phpstan to v1.4.6
  • Bumped twbs/bootstrap-icons to v1.8.1
  • Bumped twig/twig to v3.3.8

Fixed

  • Fixed that .gitignore would only ignore router.log files. All files are now excluded.

v0.3.0

24 Jan 02:24
v0.3.0
cbefc93
Compare
Choose a tag to compare

0.3.0 - 2022-01-24

Added

  • Added hierarchical Twig templates. base.html.twig acts as the parent template for all other Twig templates and gets selectively overwritten.
  • Added a static HTML view for demonstration purposes.
  • Added Twig debug extension for easier template debugging.
  • Added hint where to start a session and included the session superglobal into the Twig templates if present.

Changed

  • Updated to fhooe/router v0.3.0.
  • Bumped phpstan/phpstan to 1.4.
  • The result for "GET /form" (PHP form example) is now shown in the same view as "POST /form"
  • The Twig form example is now split up in "GET /twigform" and "POST /twigformresult".
  • Main page is now displayed using Twig.
  • 404 page is now displayed using Twig.
  • Base path is not set automatically. The respective line is commented out so it can easily be included.
  • The 404 handler is now set with an arrow function to demonstrate their usage as well as the automatic inclusion of variables from the parent scope.

Removed

  • Removed the debugging block that enabled PHP errors. This should be done the webserver configuration.

v0.2.0

22 Dec 15:43
v0.2.0
38b6556
Compare
Choose a tag to compare

0.2.0 - 2021-12-22

Added

Changed

0.1.0

16 Dec 01:16
v0.1.0
684be5b
Compare
Choose a tag to compare

0.1.0 - 2021-12-16

Added

  • Added an example invocation of the router in index.php.
  • Added three example views for the main page, a form submission and a 404 page.
  • Added a .htaccess file which redirects all requests back to index.php.
  • Set up composer.json for the use with Composer and Packagist.
  • Added phpstan for code analysis.
  • Added extensive README.md.
  • Added notes on Contributing.
  • Added this changelog.