Skip to content

Releases: skipperbent/simple-php-router

Version 1.4.7

15 Jan 08:40
Compare
Choose a tag to compare
  • Fixed some resources not working after latest update.
  • Optimisations + cleanup.

Version 1.4.6

14 Jan 15:41
Compare
Choose a tag to compare
  • Fixed getRoute sometimes not passing current loaded route.
  • Fixed optional parameters in some occasions not working properly.

Version 1.4.5

05 Jan 04:50
Compare
Choose a tag to compare
  • Simplified regex for matching parameters.

Version 1.4.4

23 Dec 23:48
Compare
Choose a tag to compare
  • Fixed custom parameters regex not working.
  • Renamed setting parameterRegex to match to match the Laravel documentation.
  • Fixed show method in ressource controller not always called if using nested ressources.

Version 1.4.3

19 Dec 19:25
Compare
Choose a tag to compare
  • Added support for setups where getallheaders function is not available in Request class.
  • matchDomain method in RouterGroup class now always return bool.
  • Minor tweaks.

Version 1.4.2

19 Dec 17:26
Compare
Choose a tag to compare
  • Fixed wrong validation on domain.

Version 1.4.1

19 Dec 17:09
Compare
Choose a tag to compare
  • Fixed not validating domain on routes.
  • Added basic alias method in SimpleRouter class, for common usage that matches post + get.
  • Other small changes.

Version 1.4.0

19 Dec 15:29
Compare
Choose a tag to compare
  • ResourceController now support nested ressources.
  • getRoute now support domains.
  • Fixed parameter matching regex when using multiple optional parameters.
  • Updated documentation.
  • Minor optimisations + bugfixes.

Version 1.3.10

14 Dec 12:40
Compare
Choose a tag to compare
  • Readded BaseCsrfVerifier middleware.
  • Csrf-token expire time is now updated on each page refresh.
  • CSRF-token update now happens after the route has been loaded, to ensure no faulty "Invalid csrf-token" exceptions.

Version 1.3.9

13 Dec 02:07
Compare
Choose a tag to compare
  • Fixed getParams not being passed when using getRoute on current route.
  • Fixed merge current parameters with new provided ones when using getRoute.
  • Fixed getting current route not always returning current url.