Skip to content

Releases: skipperbent/simple-php-router

Version 3.4.6.3

26 Nov 23:02
264f0a7
Compare
Choose a tag to compare
  • More Input-related optimisations.

Version 3.4.6.2

26 Nov 22:45
5197ae2
Compare
Choose a tag to compare
  • Fixed minor issues with file-input parsing.
  • Optimized Input class and removed old, unused functionality.

Version 3.4.6.1

26 Nov 17:46
9c701aa
Compare
Choose a tag to compare
  • Fixed typo in InputFile class.
  • Fixed minor url parsing issues.

Version 3.4.6.0

26 Nov 17:15
afc81d7
Compare
Choose a tag to compare
  • 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 and ITokenProvider classes.
  • Better handling of urls in Uri class and small optimisations.
  • Request class now calls SimpleRouter::addDefaultNamespace in setRewriteRoute 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 to Pecee\Http\Security\CookieTokenProvider.

  • Any references to SimpleRouter::router()->getCsrfVerifier()->getToken() should be replaced with SimpleRouter::router()->getCsrfVerifier()->getTokenProvider()->getToken().

Version 3.4.5.6

25 Nov 00:35
496d3e7
Compare
Choose a tag to compare
  • Fixed default-namespace causing router to break on closures.
  • Fixed spelling in documentation.

Version 3.4.5.5

10 Nov 12:03
1fd13ed
Compare
Choose a tag to compare
  • Csrf-token are now refreshed on each page-load to avoid timeout.

Version 3.4.5.4

10 Nov 07:28
9d5c4a2
Compare
Choose a tag to compare
  • Added IIS Troubleshooting section to documentation (thanks to @jatubio - issue: #303).
  • Minor optimisations.

Version 3.4.5.3

23 Oct 20:09
Compare
Choose a tag to compare
  • Added more info on route or method not allowed exception (issue: #297 - thanks @jatubio)
  • Added CSRF form-example in documentation (issue: #299 - thanks @PSF1)

Version 3.4.5.2

07 Oct 15:54
Compare
Choose a tag to compare
  • simple-php-router will now use next exception-handler, if an exception is thrown in the previous handler.

Version 3.4.5.1

25 Sep 06:51
Compare
Choose a tag to compare
  • Readded csrf_token() helper function in helpers.php.