Slim 4.2.0 released

We are excited to announce the Slim 4.2.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.2.0 - 2019-08-20

Added

  • 2787 Add an advanced callable resolver
  • 2791 Add inferPrivatePropertyTypeFromConstructor to phpstan
  • 2793 Add ability to configure application via a container in AppFactory
  • 2798 Add PSR-7 Agnostic Body Parsing Middleware
  • 2801 Add setLogErrorRenderer() method to ErrorHandler
  • 2807 Add check for Slim callable notation if no resolver given
  • 2803 Add ability to emit non seekable streams in ResponseEmitter
  • 2817 Add the ability to pass in a custom MiddlewareDispatcherInterface to the App

Fixed

  • 2789 Fix Cookie header detection in ResponseEmitter
  • 2796 Fix http message format
  • 2800 Fix null comparisons more clear in ErrorHandler
  • 2802 Fix incorrect search of a header in stack
  • 2806 Simplify Route::prepare() method argument preparation
  • 2809 Eliminate a duplicate code via HOF in MiddlewareDispatcher
  • 2816 Fix RouteCollectorProxy::redirect() bug

Removed

  • 2811 Remove DeferredCallable