Skip to content

3.0.0 RC 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@akrabat akrabat released this 08 Sep 12:56
· 2088 commits to 4.x since this release

BC breaks in 3.0.0-RC1:

  • #1489 - getParsedBody() will now return an array in all situations when JSON or form-urlencoded data is sent by the client. Previously, it returned an object when the content type was JSON.
  • #1457 - The Container can now be configured via an array passed into the App's constructor. Note that this means that your settings must now live in a sub-array called 'settings'.
  • #1443 - pathFor now prepends the base path, making URLs easier to generate when you are running Slim within a subdirectory and removes the need to prepend with getBaseUrl().

New features in 3.0.0-RC1:

  • #1490 - Slim 3's error handlers now return JSON, XML or HTML as determined by the request's Accept header.
  • #1488 - You can now disable Slim 3's error handler completely.

The full list of changes is here