Skip to content

Releases: rotexsoft/slim-skeleton-mvc-tools

Minor Release

08 May 04:48
Compare
Choose a tag to compare
  • 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

14 Mar 08:11
Compare
Choose a tag to compare
  • 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

14 Mar 02:48
Compare
Choose a tag to compare
  • 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

14 Mar 08:16
Compare
Choose a tag to compare
  • 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

14 Mar 00:49
Compare
Choose a tag to compare
  • Updated .gitignore

Full Changelog: 4.2.5...4.2.6

Hot Fix

03 Feb 03:04
Compare
Choose a tag to compare
  • 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

02 Feb 01:19
Compare
Choose a tag to compare
  • 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

02 Feb 00:34
Compare
Choose a tag to compare
  • 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

01 Feb 21:22
Compare
Choose a tag to compare
  • Controller creation tool enhancement
  • Full Changelog: 4.2.1...4.2.2

Stable release

01 Feb 20:07
Compare
Choose a tag to compare
  • Added

    • protected ?\Psr\Container\ContainerInterface $container = null,
    • getContainer(): ?\Psr\Container\ContainerInterface
    • and setContainer(\Psr\Container\ContainerInterface $container): self to \SlimMvcTools\ErrorHandler
  • Added \SlimMvcTools\JsonErrorRenderer & \SlimMvcTools\XmlErrorRenderer

  • Full Changelog: 4.2.0-RC1...4.2.1