Skip to content

Releases: designcise/bitframe-fastroute

v4.0.0

01 Jul 23:48
784ddc2
Compare
Choose a tag to compare
  • Updated required version to PHP 8.2
  • Updated composer dependencies
  • Added support for adding routes via "Route" attribute using Router::registerControllers()
  • Added ControllerFactory::create() to instantiate a controller with given arguments
  • Added new tests
  • Refactored deprecated callable in RouteCollection::generateVariableRouteData()

v3.6.0

02 Jan 00:40
9b75c52
Compare
Choose a tag to compare
  • Required version updated to PHP 8.1
  • Minor refactoring

v3.5.2

22 Jul 23:39
Compare
Choose a tag to compare
  • 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

22 Jul 20:38
Compare
Choose a tag to compare
  • 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

21 Jul 22:06
Compare
Choose a tag to compare
PHP 8 Upgrade Pre-release
Pre-release
  • Bumped up PHP to v8
  • Updated Bitframe dependency to v3.5
  • Updated Readme

v2.1.0

14 May 21:26
Compare
Choose a tag to compare
  • Added BitFrame\FastRoute\ControllerFactory
  • Added tests for ControllerFactory
  • Router::map() uses ControllerFactory::fromArray() to inject extra arguments to route controller method

v2.0.1

12 May 23:14
Compare
Choose a tag to compare
  • Better error message for non-existent or invalid controller
  • Added more tests

v2.0.0

11 May 22:04
Compare
Choose a tag to compare
Merge branch 'master' of github.com:designcise/bitframe-fastroute

v2.0-beta

05 Apr 20:55
Compare
Choose a tag to compare
v2.0-beta Pre-release
Pre-release
Updated example in readme

v1.0.4

22 Jul 10:59
Compare
Choose a tag to compare