Releases: skipperbent/simple-php-router
Releases · skipperbent/simple-php-router
Version 3.4.6.3
- More Input-related optimisations.
Version 3.4.6.2
- Fixed minor issues with file-input parsing.
- Optimized
Input
class and removed old, unused functionality.
Version 3.4.6.1
- Fixed typo in
InputFile
class. - Fixed minor url parsing issues.
Version 3.4.6.0
- Fixed issue with
InputFile
not setting file-name properly. - Fixed issue with
InputFile
not setting the correct index when
posting certain arrays. - Made Csrf-token handling more versatile by creating new
CookieTokenProvider
andITokenProvider
classes. - Better handling of urls in
Uri
class and small optimisations. - Request class now calls
SimpleRouter::addDefaultNamespace
insetRewriteRoute
method as it was
originally the intended behavior and to avoid duplicate functionality. - Strict-checks optimisations.
- Updated documentation to reflect new changes.
Release notes
NOTE: This release contains changes that might affect your project.
Please read the release-note carefully before updating.
-
Due to new token-provider changes the
CsrfToken
class has been moved toPecee\Http\Security\CookieTokenProvider
. -
Any references to
SimpleRouter::router()->getCsrfVerifier()->getToken()
should be replaced withSimpleRouter::router()->getCsrfVerifier()->getTokenProvider()->getToken()
.
Version 3.4.5.6
- Fixed default-namespace causing router to break on closures.
- Fixed spelling in documentation.
Version 3.4.5.5
- Csrf-token are now refreshed on each page-load to avoid timeout.
Version 3.4.5.4
Version 3.4.5.3
Version 3.4.5.2
- simple-php-router will now use next exception-handler, if an exception is thrown in the previous handler.
Version 3.4.5.1
- Readded
csrf_token()
helper function inhelpers.php
.