Releases: rotexsoft/slim-skeleton-mvc-app
New Minor Major Release
- Tweaked to be compatible with rotexsoft/slim-skeleton-mvc-tools version 7.2.0+
Full Changelog: 6.3.1...6.4.0
Minor Release
- Added Phpunit 12 as dev dependency
Full Changelog: 6.3.0...6.3.1
Minor Release
- Updated rotexsoft/slim-skeleton-mvc-tools to 7+
Full Changelog: 6.2.0...6.3.0
Improved Code organization
-
Moved script for generating framework files into it's own composer script so you can explicitly call
composer generate-framework-filesto generate the needed framework files for your app's environment. This script also gets run after each call tocomposer installandcomposer update. You can edit the composer.json file to disable the automatic attempt to generate these files after each call tocomposer installandcomposer 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
- 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
- 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
- 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
- Improved Exception stack-trace output formatting
Full Changelog: 6.1.3...6.1.4
Minor Release
- Code clean up
Full Changelog: 6.1.2...6.1.3
Minor Release
- actionForceHttpFourxxOrFivexx now explicitly returns string in \SlimSkeletonMvcApp\Controllers\Hello
- actionForceHttpFourxxOrFivexx($http_code=400): string
Full Changelog: 6.1.1...6.1.2