Skip to content

Releases: BinarCode/laravel-restify

7.5.4

02 Aug 10:29
752e1ed
Compare
Choose a tag to compare

Fixed

  • The unauthorized code should be 401.

7.5.3

01 Aug 12:43
dae2293
Compare
Choose a tag to compare

Refactored

  • The testing Repository::route( method has a new signature, it accepts the action as well now.

7.5.2

30 Jul 21:11
d3088e3
Compare
Choose a tag to compare

Fixed

  • Cache enable option is considered during the policy methods check.

7.5.1

30 Jul 20:58
b745d2a
Compare
Choose a tag to compare

Fixed

  • Action logs should be enabled now.

7.5.0

30 Jul 20:49
e05c395
Compare
Choose a tag to compare

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

29 Jul 06:23
8a5ad1c
Compare
Choose a tag to compare

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 type null|string because it holds the parent repository that renders it.

7.3.1

26 Jul 12:56
Compare
Choose a tag to compare

Fixed

  • Publish provider before routes so restifyAuth macro works.

7.3.0

25 Jul 18:21
2957a89
Compare
Choose a tag to compare

Added

  • Singleton could be loaded from the RestifyServiceProvider in the local repository so the dev will have control over that.

7.2.1

24 Jul 19:10
Compare
Choose a tag to compare

Fixed

  • Nova routes conflict.

7.2.0

24 Jul 18:23
Compare
Choose a tag to compare

Added

  • Loading routes from the LaraveRestifyApplicationProvider so developers could override or comment that out.