Releases: designcise/bitframe-fastroute
Releases · designcise/bitframe-fastroute
v4.0.0
- Updated required version to PHP 8.2
- Updated composer dependencies
- Added support for adding routes via "
Route
" attribute usingRouter::registerControllers()
- Added
ControllerFactory::create()
to instantiate a controller with given arguments - Added new tests
- Refactored deprecated callable in
RouteCollection::generateVariableRouteData()
v3.6.0
- Required version updated to PHP 8.1
- Minor refactoring
v3.5.2
ControllerFactory::fromArray()
allows non-static methods to be called with string class name- Added test case for
ControllerFactory::fromArray([Controller::class, 'methodAction'])
- Made returned function in
ControllerFactory::fromCallable()
static
v3.5.1
- Added stricter type hints
- Updated BitFrame dependency to v3.5+
- Updated
Router::map()
method signature - Update tests
- Updated PHPUnit version to v9.5
PHP 8 Upgrade
- Bumped up PHP to v8
- Updated Bitframe dependency to v3.5
- Updated Readme
v2.1.0
- Added
BitFrame\FastRoute\ControllerFactory
- Added tests for
ControllerFactory
Router::map()
usesControllerFactory::fromArray()
to inject extra arguments to route controller method
v2.0.1
- Better error message for non-existent or invalid controller
- Added more tests
v2.0.0
Merge branch 'master' of github.com:designcise/bitframe-fastroute
v2.0-beta
Updated example in readme
v1.0.4
- Updated tests to reflect changes in BitFrame v1.1.1