Skip to content

Releases: skipperbent/simple-php-router

Version 1.7.3.10

04 May 11:41
Compare
Choose a tag to compare
  • Added setValue method to InputItem class.

Version 1.7.3.9

03 May 05:21
Compare
Choose a tag to compare
  • Added exists method to Input class.

Version 1.7.3.8

01 May 00:02
Compare
Choose a tag to compare
  • Fixed notifications if included in projects running in command-line where certain variables aren't available.

Version 1.7.3.7

24 Apr 22:42
Compare
Choose a tag to compare
  • Added route to $exceptionHandlers in RouterBase so middlewares can be loaded if an Exception occur.
  • Optimized handleException method in RouterBase.

Version 1.7.3.6

22 Apr 13:38
Compare
Choose a tag to compare
  • Removed support from middlewares on each load - this should be implemented in custom Router instead.
  • Updated documentation to reflect how to implement middlewares loaded on each route.

Version 1.7.3.5

22 Apr 12:31
Compare
Choose a tag to compare
  • Input class now returns array instead of InputItem instance when object is of array.
  • Optimized key behavior in Input class.
  • Optimized arrayToParams method in RouterBase class.
  • Added getMergableSettings method to RouterGroup to avoid middleware merge; as they will already be loaded.
  • Return $item if it's an array in get method in Input class.

Version 1.7.3.4

21 Apr 06:30
Compare
Choose a tag to compare
  • Added custom ExceptionHandler example to documentation.
  • Removed reference to request() helper in Input class.
  • Changed RouterBase class's handleException method to support 404-exceptions.

Version 1.7.3.3

20 Apr 06:10
Compare
Choose a tag to compare
  • Input class no longer tries to search for parameter in FILE or POST if it's not a postback.
  • Optimized Input class to ensure that InputFile items are always returned as object as they contain no value.

Version 1.7.3.2

16 Apr 21:24
Compare
Choose a tag to compare
  • Fixed middlewaresToLoad logic used before any routes loaded in RouterBase.
  • Optimized get method in Input class to trim value and return default value if empty.

Version 1.7.3.1

15 Apr 21:21
Compare
Choose a tag to compare
  • Removed old input method from Request class.