2.4.0
Added
-
Support for Laravel 7.x
-
Wrap routes with the default Restify middlewares:
Before:
public static function routes(Router $router, $options, $wrap = false)
{
$options['namespace'] = 'Binaryk\LaravelRestify\Tests';
$router->group($options, function ($router) {
$router->get('custom-namespace', 'HandleController@sayHello')->name('namespace.route');
});
}
After:
public static function routes(Router $router, $options = [], $wrap = true)
{
$router->get('default-options', '\\'.HandleController::class.'@sayHello')->name('no.group.default.options');
}
- Integration tests for updating
- Integration tests for deleting
- Unit test for custom exception handler injector