7.x
- Clean up controllers
- Reduce the main Repository class by using traits
- Revisit the
InteractWithRepositories
trait and clean model queries accordingly - Clean up all tests using AssertableJson [x]
- Make sure the
include
matches array key firstly, and secondly the relationship name - Improve performance for queries and relationships
- Adding support for custom ActionLogs (ie ActionLog::register("project marked active by user Auth::id()", $project->id))
- Ensure
$with
loads relationship inshow
requests - Make sure any action isn't permitted unless the Model Policy exists
- Having a helper method that allow to return data using the repository from a custom controller
PostRepository::withModels(Post::query()->take(5)->get())->include('user')->serializeForShow()
- Serialize nested relationships
- Ability to make an endpoint public using a policy method
- Load specific fields for nested relationships
- Load nested for relationships with a nested level higher than 2
- Shorter definition of Related fields
8.x
- Adding Larastan support
- Drop Psalm
- Adding PestPHP support
- Adding support for PHPStan and configure the level 4
- Request validations should be rewritten
- Adding a command that lists all Restify registered routes
php artisan restify:routes
- UI for Restify
- Support for Laravel 10
- Custom namespace and base directory for repositories
- Deprecate
show
and useview
as default policy method forshow
requests - Deprecate
store
and usecreate
as default policy method forstore
requests so it's Laravel compatible