Skip to content

Releases: skipperbent/simple-php-router

Version 3.7.0.0

03 Mar 22:44
c5c6367
Compare
Choose a tag to compare
  • Fixed issue with subdomains on groups.
  • Fixed issue with loadble routes sometimes mistakenly inheriting wrong group.
  • Routes will now check if group matches before matching any custom regex.
  • Added setValue method to IInputItem interface to streamline the InputFile and InputItem classes.
  • Other minor optimisations.
  • Documentation: fixed broken links and cleaned it up.

Version 3.6.0.5

27 Feb 08:05
6e247f8
Compare
Choose a tag to compare
  • Throw correct exception-types.

Version 3.6.0.4

27 Feb 07:37
8111de4
Compare
Choose a tag to compare
  • Fixed issue with PDO exception not returning correct type for error-code.

Version 3.6.0.3

26 Feb 23:21
0dbc4e6
Compare
Choose a tag to compare
  • Stop router from processing routes if no valid route is found.

Version 3.6.0.0

26 Feb 22:27
98ce5f7
Compare
Choose a tag to compare
  • Renamed Uri class to Url.
  • Renamed setUri and getUri to setUrl and getUrl in Request class.
  • Added custom Exceptions and ensured that router only throws HttpExceptions.
  • Added isAjax method to Request class.
  • Added better phpDocs.
  • Other minor optimisations.

Release notes

This release contains changes that might affect your project. Please read the release notes carefully before updating.

  • Change any references from request()->setUri() to request()->setUrl.
  • Change any references from request()->getUri() to request()->getUrl.
  • Change any references to \Pecee\Http\Uri to \Pecee\Http\Url.

Version 3.5.0.0

24 Feb 04:39
69bb570
Compare
Choose a tag to compare
  • Simplified url-rewriting and callback handling.
  • Added support for using rewrites in Routes - and are no longer as tight to Middlewares and ExceptionHandlers.
  • Optimisations.
  • Updated documentation.

Version 3.4.11.2

19 Feb 22:07
c80b23e
Compare
Choose a tag to compare
  • InputFile: Set default value to 0 to triggering error when calling getErrors on empty object.

Version 3.4.11.1

19 Feb 15:38
9d88bf1
Compare
Choose a tag to compare

Response class: fixed response()->refresh not using correct original url (including hash parameters, querystrings etc).

Version 3.4.11.0

14 Feb 11:39
3ba9dd0
Compare
Choose a tag to compare
  • Updated exceptions in Php-docs.
  • Minor optimisations.

Version 3.4.10.1

14 Jan 14:55
bbb8133
Compare
Choose a tag to compare
  • Fixed Input::all not recognizing $_POST when php://input is not available.