Releases: skipperbent/simple-php-router
Releases · skipperbent/simple-php-router
Version 1.7.3.10
- Added
setValue
method toInputItem
class.
Version 1.7.3.9
- Added
exists
method toInput
class.
Version 1.7.3.8
- Fixed notifications if included in projects running in command-line where certain variables aren't available.
Version 1.7.3.7
- Added route to
$exceptionHandlers
inRouterBase
so middlewares can be loaded if an Exception occur. - Optimized
handleException
method inRouterBase
.
Version 1.7.3.6
- 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
- Input class now returns array instead of
InputItem
instance when object is ofarray
. - Optimized key behavior in
Input
class. - Optimized
arrayToParams
method inRouterBase
class. - Added
getMergableSettings
method toRouterGroup
to avoid middleware merge; as they will already be loaded. - Return
$item
if it's an array in get method inInput
class.
Version 1.7.3.4
- Added custom
ExceptionHandler
example to documentation. - Removed reference to
request()
helper inInput
class. - Changed
RouterBase
class'shandleException
method to support 404-exceptions.
Version 1.7.3.3
Input
class no longer tries to search for parameter inFILE
orPOST
if it's not a postback.- Optimized
Input
class to ensure thatInputFile
items are always returned as object as they contain no value.
Version 1.7.3.2
- Fixed
middlewaresToLoad
logic used before any routes loaded inRouterBase
. - Optimized
get
method inInput
class to trim value and return default value if empty.
Version 1.7.3.1
- Removed old
input
method fromRequest
class.