Releases: zaphyr-org/router
Releases · zaphyr-org/router
v1.3.1
Fixed:
- Removed phpstan errors
- Removed PHP 8.4 deprecations
v1.3.0
New:
- Added 404 and 405 code to MethodNotAllowedException and NotFoundException classes
- Added Route::getCallableName method
Fixed:
- Added try-catch with RouteException to Route::process method
- Route::getCallable now also checks whether a valid controller method has been set
v1.2.1
Fixed:
- The
getRoutes
method of the Router class now also takes group routes into account
- Route condition attributes now correctly overwrite group condition attributes
v1.2.0
New:
- Added
getRoutes
method to Router class
- Added matched route to the request attributes
v1.1.2
New:
- Added
.vscode/
to gitignore file
Changed:
- Improved unit tests and moved tests to "Unit" or "Integration" directory
Removed:
- Removed phpstan-phpunit from composer require-dev
v1.1.1
Changed:
- Changed visibility to
protected
for tearDown
and setUp
methods in unit tests
Fixed:
- Resolved #1;
scheme
and host
parameters in the RouteConditionTrait are set to null
by default
- Resolved #2; Moved route condition handling to Dispatcher class
v1.1.0
New
- Added
setMiddleware
method and marked setMiddlewares
method as deprecated
Fixed
- Removed .dist from phpunit.xml in .gitattributes export-ignore
Deprecated
- Attributes
$middlewares
param will be renamed to $middleware
in v2.0
v1.0.0
New:
- First stable release version