- Add route length (max, min) as a feature like type.
- Add forward to enable forwarding to another route handler, like MVC triads.
- (Use regexp to match route).
- The controller method initialize() can return a response, useful to deny access to a particular controller.
- Upgrade to phpunit 8 (and rewrite some testcases).
- Add support to use handlers as a class implementing __invoke.
- Add route handler support for isInvocableClass and handleAsInvocableClass (without support for taking arguments).
- Fix when mountpart d/ overlaps dev/.
- Enhance error handling in config/di/router.php and allow that config/router.php is missing and configuration only handled by config/router.
- Release 2.0, documentation is still to be done.
- Enable router to call [class, method] using specific path to control argument types.
- Add name of method, as first argument sent to the catchAll-methods.
- Add support for controller method catchAll by request method.
- Add support for app style controllers injecting app.
- Update Makefile.
- Change description in composer.json.
- Add get method for internal error messages.
- Improve support for when the controller accepts a request.
- Use detailed exception messages in handleInternal
- Rename route/ to router/.
- Rmove router/999_404.php, dealt by with the internal route.
- Add test/controller to mount a controller.
- Add method to get type of route handler, Route::getHandlerType().
- Improve error handling when route handler is not callable.
- Remove the 404 route, use internal instead.
- Integrate with Anax Flat.
- Fix correct urls in route dev/index.
- Development routes without requirement on anax/{page,view}.
- Unit testing of config/route/710_development.php.
- Load routes from file, programming style.
- Enhance test suite.
- Fix: Testroute test/500 generate correct exception.
- Fix: Use correct interface for $di.
- Add controller/action as handler.
- Add sample routes.
- Rewrote major parts of Router and Route.
- Move anax/di to require-dev.
- Rewrote src/Route/Router for newer configuration files.
- @deprecated src/Route/RouterInjectable and removed it.
- Removed older route files.
- Removed direct router dependency to anax/configure.
- Fix phpunit.
- Use v2.0.0@alpha from anax/common to start work to remove it.
- Set requirement of PHP 7.2 in composer.json.
- Mark anax/common as obsolete and prepare to remove it and traces of $app constructions.
- Move composer.json require anax/di to suggests, eventually try to remove dependency to real version.
- Prepare to go through code and remove some waist and potentially breaking backward compatibility.
- Update to require PHP 7.0 and over.
- Move to circlesi v2.
- Add support for including $app centered routes through 'include'.
- Remove composer.lock.
- Show 404 when no route returns true nor does exit.
- A route handler returning a non empty value will be the last handler to be called.
- Enhance error handling when the route callback is misconfigured.
- Move exceptions to subnamespace and own directory.
- Add ConfigurationException when configuration is incorrect.
- Router::configure now uses Configure2Trait and can read from directory and files and support "sort".
- Router::configure shall return self.
- Minor edit in docblock in Router.
- Removing getName() and replacing with getInfo().
- Adding member info to the Route.
- Adding module anax/di as required in composer.json.
- Loading routes from configuration file.
- Adding class Router as a DI enabled version.
- Add getName() for Route.
- Add comment in route file to make 404 last in sequence.
- Adding config/ with some default routes.
- Fix unittest passing.
- Fix Route::checkPartAsArgument missing type vvariable.
- Add Route::getRequestMethod() to show information on request method for route.
- Load routes from configuration file.
- Made RouterInjectable injectable with $app.
- Modify type of integer argument when validatet using digit.
- Adding documentation and testcases for documentation.
- Adding method RouterInjectable::always() as a default routehandler matching any route and request method.
- Rearrange methods to improve readability.
- Add docblocks for properties.
- Add support for adding several path rules with one route->add().
- Add support for path/** to match subpaths.
- Fix composer validate PHP version in require-dev.
- Extending support for default routes to partly include "**" and null, matching any route.
- Support adding request method as string separated by |
- Allow matching of several routehandlers having the same path.
- Add testcases.
- Add arguments as part of route.
- Arguments can be validated as alpha, alphanum, digit, hex.
- Support different routes per request methods.
- Making standalone without
$di
. - Enhancing unittest.
- Adding exceptions.
- Cleanup makefile.
- Extracted from anax to be its own module.