Skip to content

Releases: rotexsoft/slim-skeleton-mvc-app

New Minor Major Release

21 Feb 00:32

Choose a tag to compare

  • Tweaked to be compatible with rotexsoft/slim-skeleton-mvc-tools version 7.2.0+

Full Changelog: 6.3.1...6.4.0

Minor Release

23 Jan 06:18

Choose a tag to compare

  • Added Phpunit 12 as dev dependency

Full Changelog: 6.3.0...6.3.1

Minor Release

21 Jan 05:40

Choose a tag to compare

  • Updated rotexsoft/slim-skeleton-mvc-tools to 7+

Full Changelog: 6.2.0...6.3.0

Improved Code organization

19 Jan 10:40

Choose a tag to compare

  • Moved script for generating framework files into it's own composer script so you can explicitly call composer generate-framework-files to generate the needed framework files for your app's environment. This script also gets run after each call to composer install and composer update. You can edit the composer.json file to disable the automatic attempt to generate these files after each call to composer install and composer update.

  • Reorganized code in ./config/dependencies-dist.php, ./config/ini-settings-dist.php & ./config/routes-and-middlewares-dist.php to each return an anonymous function that is meant to be invoked in the file from which they are being included. This is to compartmentalize the code in these files to prevent accidental overwriting of variables in the file where these config files are being included.

  • Moved all the code in ./public/index-dist.php (which gets renamed to ./public/index.php when a new app is created from this framework) to a new bootstrap file: ./src/framework-bootstrap.php

    • ./public/index.php now only includes ./src/framework-bootstrap.php, which makes applications more secure in case the webserver is not configured to serve php files and instead directly returns the actual text contents of ./public/index.php, there would only be the include line exposed (no actual framework bootstrapping code would be leaked to the browser)

Full Changelog: 6.1.7...6.2.0

Minor Release

12 Nov 05:24

Choose a tag to compare

  • In the catch all exception handler in ./public/index-dist.php, added code to replace all occurrences of the {{{APP_BASE_PATH}}} placeholder with the app base path in the error template file

Full Changelog: 6.1.6...6.1.7

Minor Release

12 Nov 03:54

Choose a tag to compare

  • Removed the reference to E_STRICT in the ini settings file as has been deprecated in PHP 8.4
  • Added links to the app.css & app.js in the error template file with references to the new {{{APP_BASE_PATH}}} placeholder to ensure the links are correctly generated and respect the value set for AppSettingsKeys::APP_BASE_PATH

Full Changelog: 6.1.5...6.1.6

Minor Release

25 Jul 13:30

Choose a tag to compare

  • Added support for displaying localized description & titles for \Slim\Exception\Http* Exceptions
  • The callable that creates the locale object in the container now tries to start or resume an existing session before returning the locale object to ensure that any previously stored language code in $_SESSION is readable and set on the locale object before it gets returned by the callable

Full Changelog: 6.1.4...6.1.5

Minor Release

23 Jun 11:05

Choose a tag to compare

  • Improved Exception stack-trace output formatting

Full Changelog: 6.1.3...6.1.4

Minor Release

20 Jun 21:58

Choose a tag to compare

  • Code clean up

Full Changelog: 6.1.2...6.1.3

Minor Release

20 Jun 21:03

Choose a tag to compare

  • actionForceHttpFourxxOrFivexx now explicitly returns string in \SlimSkeletonMvcApp\Controllers\Hello
    • actionForceHttpFourxxOrFivexx($http_code=400): string

Full Changelog: 6.1.1...6.1.2