Releases: skipperbent/simple-php-router
Releases · skipperbent/simple-php-router
Version 5.3.0.4
Version 5.3.0.3
- Reverted exception handling to old behavior (issue: #660)
Version 5.3.0.2
- InputItem: php8.1 deprecated warning- added returnTypeWillChange to offsetGet (issue: #657).
Version 5.3.0.1
- PHP8: better exception handling
Looks like PHP8 handles exceptions differently with Throwables used in cases where php-error occurred.
To fix this Throwable are now used to catch exception in routeRequest
and any instance of Throwable
will be converted to Exception
.
Version 5.3.0.0
- [[!!!] CsrfVerifier changes
- [!!!] Made
$except
and$include
array not nullable. - Added more customizable BaseCsrfVerifier. Can now be used as ticket for no hotlinking etc.
- [!!!] Made
- Fixed exception-handler rewrite not always triggered.
- Changed behavior of router to always expect returned output to be string.
- Updated documentation with more examples.
Version 5.2.0.1
- Fixed Response not initialized + incorrect phpDoc.
5.2.0.0
[!!!] BREAKING CHANGE: this update has added definitions to property types - and WILL require you to update your existing codebase (middlewares etc).
- Request: optimized getIp method and reversed the order so proxy is always checked first.
5.1.1.0
- Response: Fixed SESSION not shutdown correctly when using redirect.
- [!!!] Disabled multiple route rendering by default: please enable this feature manually using
SimpleRouter::enableMultiRouteRendering(true)
.
Version 5.1.0.0
- Feature: added support for slash in parameters (see readme).
- Route: Fixed hardcoded param modifier.
- Route: optimisations.
- Updated Readme.
Version 5.0.0.3
- Fixed CSRF-token exception not triggering custom exception-handlers.
- Updated PHPStan.