Releases: rotexsoft/slim-skeleton-mvc-tools
Releases · rotexsoft/slim-skeleton-mvc-tools
Minor Release
- Tweaked BaseController's updateSelectedLanguage() method to reload current locale language stored in session on each request if a local parameter wasn't passed in the query string of a request
Full Changelog: 5.0.2...5.0.3
Minor Release
- Updated \SlimMvcTools\Controllers\BaseController
- Changed
- actionRoutes($onlyPublicMethodsPrefixedWithAction=true): ResponseInterface|string
- to
- actionRoutes($onlyPublicMethodsPrefixedWithAction=true, $stripActionPrefixFromMethodName=true): ResponseInterface|string
Full Changelog: 5.0.1...5.0.2
Minor Release
- Tweaked actionLogout(mixed $show_status_on_completion = false): ResponseInterface in BaseController to always redirect to the login-status page whenever $show_status_on_completion is truthy
Full Changelog: 5.0.0...5.0.1
New Major Release
- Bumped minimum PHP version to 8.1
- Updated rotexsoft/file-renderer to 6.0.0+
- BaseController->actionIndex now explicitly returns ResponseInterface|string
- BaseController->actionRoutes now explicitly returns ResponseInterface|string
- BaseController->actionLogin now explicitly returns ResponseInterface|string
- BaseController->getResponseObjForLoginRedirectionIfNotLoggedIn now explicitly returns bool|ResponseInterface
- Changed
- BaseController->actionLogout($show_status_on_completion = false): ResponseInterface
- to
- BaseController->actionLogout(mixed $show_status_on_completion = false): ResponseInterface
- Changed
- sMVC_GetSuperGlobal(string $global_name='', string $key='', $default_val='')
- to
- sMVC_GetSuperGlobal(string $global_name='', string $key='', mixed $default_val='')
Full Changelog: 4.2.6...5.0.0
Minor Release
- Tweaked actionLogout($show_status_on_completion = false): ResponseInterface in BaseController to always redirect to the login-status page whenever $show_status_on_completion is truthy
Full Changelog: 4.2.6...4.2.7
Minor Release
- Updated .gitignore
Full Changelog: 4.2.5...4.2.6
Hot Fix
-
Tweak rendering of error template file to use str_replace instead of sprintf because sprintf was misinterpreting extra % symbols in the the error template file. Now using these 3 variables in the error template:
- {{{TITLE}}}
- {{{ERROR_HEADING}}}
- {{{ERROR_DETAILS}}}
-
Also tweaked the default actionIndex code in ./src/templates/controller-class-template.php.tpl
Full Changelog: 4.2.4...4.2.5
Hot Fix
- Rolled back controller creation script logic that was validating that controller to extend was an instance of BaseController. It was breaking the controller controller script because it doesn't use composer's autoload mechanism at runtime
Full Changelog: 4.2.3...4.2.4
Hot Fix
- Changed BaseContorller::actionIndex(): string back to BaseContorller::actionIndex(). It will be changed to BaseContorller::actionIndex(): \Psr\Http\Message\ResponseInterface|string when php 8.1 becomes the minimum version in the next major release. Declaring it as only actionIndex(): string is currently restrictive and prevents it from also returning \Psr\Http\Message\ResponseInterface
Full Changelog: 4.2.2...4.2.3
Minor Release
- Controller creation tool enhancement
- Full Changelog: 4.2.1...4.2.2