All notable changes to this project will be documented in this file, in reverse chronological order by release.
v1.3.1 [2025-02-10]
- Removed phpstan errors
- Removed PHP 8.4 deprecations
v1.3.0 [2024-05-05]
- Added 404 and 405 code to MethodNotAllowedException and NotFoundException classes
- Added Route::getCallableName method
- 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 [2024-02-09]
- 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 [2024-02-08]
- Added
getRoutes
method to Router class - Added matched route to the request attributes
v1.1.2 [2023-11-11]
- Added
.vscode/
to gitignore file
- Improved unit tests and moved tests to "Unit" or "Integration" directory
- Removed phpstan-phpunit from composer require-dev
v1.1.1 [2023-10-24]
- Changed visibility to
protected
fortearDown
andsetUp
methods in unit tests
- Resolved #1;
scheme
andhost
parameters in the RouteConditionTrait are set tonull
by default - Resolved #2; Moved route condition handling to Dispatcher class
v1.1.0 [2023-10-13]
- Added
setMiddleware
method and markedsetMiddlewares
method as deprecated
- Removed .dist from phpunit.xml in .gitattributes export-ignore
- Attributes
$middlewares
param will be renamed to$middleware
in v2.0
- First stable release version