Slim 4.4.0 released

We are excited to announce the Slim 4.4.0 release. Please direct all your feedback for this release to the Slim 4 Release Feedback Thread. The new docs are located here.

Changelog

4.4.0 - 2020-01-04

Added

  • 2862 Optionally handle subclasses of exceptions in custom error handler
  • 2869 php-di/php-di added in composer suggestion
  • 2874 Add null to param type-hints
  • 2889 Make RouteContext attributes customizable and change default to use private names
  • 2907 Migrate to PSR-12 convention
  • 2910 Migrate Zend to Laminas
  • 2912 Add Laminas PSR17 Factory
  • 2913 Update php-autoload-override version
  • 2914 Added ability to add handled exceptions as an array

Fixed

  • 2864 Optimize error message in error handling if displayErrorDetails was not set
  • 2876 Update links from http to https
  • 2877 Fix docblock for Slim\Routing\RouteCollector::cacheFile
  • 2878 check body is writable only on ouput buffering append
  • 2896 Render errors uniformly
  • 2902 Fix prophecies
  • 2908 Use autoload-dev for Slim\Tests namespace

Removed

  • 2871 Remove explicit type-hint
  • 2872 Remove type-hint