4.0.0
No due date
100% complete
Release notes for 4.0
- #66 Adds the final keyword to all classes preventing subclassing
- #70 Introduces native types where they were previously missing. Most of these changes will not cause any impact now that the classes are final.
-
#71 removes the deprecated
ImplicitMethodsIntegrationTest
- this abstract test case was renamed for PHPUnit compatibility toA…
Release notes for 4.0
- #66 Adds the final keyword to all classes preventing subclassing
- #70 Introduces native types where they were previously missing. Most of these changes will not cause any impact now that the classes are final.
- #71 removes the deprecated
ImplicitMethodsIntegrationTest
- this abstract test case was renamed for PHPUnit compatibility toAbstractImplicitMethodsIntegrationTest
. This change will only affect integration tests for Router implementations - #68 changes the constructor signature of
ImplicitHeadMiddleware
- it now only accepts a PSR-17StreamFactoryInterface
where previously, it also accepted an arbitrary callable. - #69 changes the constructor signatures of
MethodNotAllowedMiddleware
andImplicitOptionsMiddleware
. Previously, both of these middleware accepted a callable and a PSR-17ResponseFactoryInterface
. The ability to pass a callable has been removed - Some internal, and now unused traits and classes have been removed. As these were not part of the public API, their removal should not cause any problems.
- #72 Changes the way that configuration is processed for the the detection of duplicate routes.
Previously an array was expected in the format:Now, the top level key ofreturn [ \Mezzio\Router\RouteCollector::class => [ 'detect_duplicates' => true, ], ];
router
should be used:Duplicate route detection still defaults toreturn [ 'router' => [ 'detect_duplicates' => true, ], ];
true
so this change will affect users that explicitly turned off duplicate route detection, and, where duplicate routes exist, or the feature was turned off explictly to save the additional overhead in production.
There are no open issues in this milestone.
Add issues to milestones to help organize your work for a particular release or project.
Create new issueOr find and add issues with no milestone in this repo.