Slim 3 RC2
We have now released the second release candidate of Slim 3 following significant testing of RC1. This release mostly fixes a number of bugs.
BC breaks in 3.0.0-RC2:
These are the BC breaks since RC1:
- #1550 - The
MiddlewareTrait
’saddMiddleware()
method is now protected. Please use theadd()
method. - #1559 -
Request::getIp()
has been removed. Please use middleware such as rka-ip-address-middleware instead. - #1570 - Inspection of
X-Forwarded-Proto
andX-Forwarded-Host
headers inUri
have been removed. Please use middleware such as rka-scheme-and-host-detection-middleware instead.
New features in 3.0.0-RC2:
- #1509 - Slim 3’s error handlers now only show exception information if you enable the
displayErrorDetails
setting. - #1552 - The router now has a new method called
internalPathFor()
for use withsubRequest()
. - We have adopted Glenn Eggleton’s’ PHP-View component for rendering using PHP view scripts.
The full list of changes is here
For details on the what’s new in Slim 3, please see this article about 3.0 beta 1.
Getting started
To get started, you can follow the installation instructions or use Rob Allen’s skeleton application.
Please test!
We would appreciate it if you could test this release candidate and report all issues that you find. We are hoping that this is the final release candidate and that 3.0 final will be released next week. Note though, that as this is a release candidate, we do not promise that there will be no BC breaks until 3.0 final is released.