Skip to content

v2.5.0

Compare
Choose a tag to compare
@izniburak izniburak released this 23 Jan 03:15
· 11 commits to master since this release
  • IMPORTANT - Added notFound method instead of error method. From now on, error method will be used to handle exceptions and be able to return a pretty response you desire to client.
  • Added XGET request method instead of AJAX. AJAX request method will be deprecated in next releases.
  • Added __invoke method support for Controllers
    • From now on, you can use the Controller which only contain __invoke method. You can define a route with such a that controller:
      $router->get('/foo', 'FooController');

For details, please check the Changelogs.