Skip to content

2.4.0

Choose a tag to compare

@binaryk binaryk released this 08 Mar 19:24
· 606 commits to master since this release
e824b88

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