Skip to content

3.0.0 Beta 2

Pre-release
Pre-release
Compare
Choose a tag to compare
@akrabat akrabat released this 10 Aug 15:35
· 949 commits to 3.x since this release

Key changes since 3.0-beta1:

  • #1425 - Slim 3 now requires PHP 5.5 or higher
  • #1393, #1369 & #1354 - Various updates to our PSR-7 implementation, including a fix to allow the request body to be read more than once.
  • #1345 - New foundHandler to change the signature of the route callable. By default the handler is RequestResponse which creates callables with a signature of function($request, $response, $args), but we also supply a RequestResponseArgs handler with a callable signature of function($request, $response, $routeParam1, $routeParam2).
  • #1343 - Ability to set default attributes on a route which can then be accessed within the route callable.
  • #1362 - None of the factories in the container need to return a new instance to make it compatible with container-interop.

The full list of changes is here