Releases: BinarCode/laravel-restify
Releases · BinarCode/laravel-restify
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
2.3.0
2.2.0
2.1.2
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
Deletions
- Removed Eloquent API Resource from dependencies since this was a blocker for future development
- Removed unused authorization
- Changed naming convention from
view
toshow
as it's a REST convention
Additions
- Ability to customize your own routes (with custom group attributes)
- Added
show
policy - Added
model
RestResponse helper - Fixed show response (according to JSON:API structure)