Releases: BinarCode/laravel-restify
Releases · BinarCode/laravel-restify
7.5.4
7.5.3
7.5.2
7.5.1
7.5.0
Added
This will enable policies to be cached by adding the configuration:
'cache' => [
/*
| Specify the cache configuration for the resources policies.
| When enabled, methods from the policy will be cached for the active user.
*/
'policies' => [
'enabled' => true,
/*
| ttl in seconds
*/
'ttl' => 5 * 60,
],
],
7.4.0
Added
- Added support for nested relationships when you want to get the parent and children in the same query. Imagine a tweet thread, where you want to list all tweets with its parent tweet along with its immediate children tweets. This is now possible and will do not run into infinite loop issue.
Fixed
- Support to mock repositories using
YourRepository::partialMock()
for the index request, previously it ran into the mock state and didn't update the second resources in tests.
Breaking
- The
$eagerState
repository property is now private, and it is of typenull|string
because it holds the parent repository that renders it.