Releases: skipperbent/simple-php-router
Releases · skipperbent/simple-php-router
Version 3.7.0.0
- 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 toIInputItem
interface to streamline theInputFile
andInputItem
classes. - Other minor optimisations.
- Documentation: fixed broken links and cleaned it up.
Version 3.6.0.5
- Throw correct exception-types.
Version 3.6.0.4
- Fixed issue with PDO exception not returning correct type for error-code.
Version 3.6.0.3
- Stop router from processing routes if no valid route is found.
Version 3.6.0.0
- Renamed
Uri
class toUrl
. - Renamed
setUri
andgetUri
tosetUrl
andgetUrl
inRequest
class. - Added custom Exceptions and ensured that router only throws
HttpExceptions
. - Added
isAjax
method toRequest
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()
torequest()->setUrl
. - Change any references from
request()->getUri()
torequest()->getUrl
. - Change any references to
\Pecee\Http\Uri
to\Pecee\Http\Url
.
Version 3.5.0.0
- 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
InputFile
: Set default value to 0 to triggering error when calling getErrors on empty object.
Version 3.4.11.1
Response
class: fixed response()->refresh
not using correct original url (including hash parameters, querystrings etc).
Version 3.4.11.0
- Updated exceptions in Php-docs.
- Minor optimisations.
Version 3.4.10.1
- Fixed
Input::all
not recognizing$_POST
whenphp://input
is not available.