Skip to content

Latest commit

 

History

History
237 lines (206 loc) · 20.4 KB

CHANGELOG.md

File metadata and controls

237 lines (206 loc) · 20.4 KB

Changelog

4.11.0 - 2022-11-06

4.10.0 - 2022-03-14

4.9.0 - 2021-10-05

4.8.0 - 2021-05-19

4.7.0 - 2020-11-30

Fixed

Added

Optimizations

4.6.0 - 2020-11-15

Fixed

Added

Optimizations

Dependencies Updated

4.5.0 - 2020-04-14

Added

  • 2928 Test against PHP 7.4
  • 2937 Add support for PSR-3

Fixed

  • 2916 Rename phpcs.xml to phpcs.xml.dist
  • 2917 Update .editorconfig
  • 2925 ResponseEmitter: Don't remove Content-Type and Content-Length when body is empt
  • 2932 Update the Tidelift enterprise language
  • 2938 Modify usage of deprecated expectExceptionMessageRegExp() method

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

4.3.0 - 2019-10-05

Added

  • 2819 Added description to addRoutingMiddleware()
  • 2820 Update link to homepage in composer.json
  • 2828 Allow URIs with leading multi-slashes
  • 2832 Refactor FastRouteDispatcher
  • 2835 Rename pathFor to urlFor in docblock
  • 2846 Correcting the branch name as per issue-2843
  • 2849 Create class alias for FastRoute\RouteCollector
  • 2855 Add list of allowed methods to HttpMethodNotAllowedException
  • 2860 Add base path to $request and use RouteContext to read

Fixed

  • 2839 Fix description for handler signature in phpdocs
  • 2844 Handle base path by routeCollector instead of RouteCollectorProxy
  • 2845 Fix composer scripts
  • 2851 Fix example of 'Hello World' app
  • 2854 Fix undefined property in tests

Removed

  • 2853 Remove unused classes

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

4.1.0 - 2019-08-06

Added

  • #2779 Add support for Slim callables Class:method resolution & Container Closure auto-binding in MiddlewareDispatcher
  • #2774 Add possibility for custom RequestHandler invocation strategies

Fixed

  • #2776 Fix group middleware on multiple nested groups