Skip to content

Releases: BinarCode/laravel-restify

4.10.0

18 Jan 13:52
4c57a3c
Compare
Choose a tag to compare

Added

  • For the BelongsToMany, MorphToMany fields now you can specify validations rules using:
BelongsToMany::make('roles', 'roles', RolesRepository::class)->validationCallback(fn(Request $request) => ....))
  • Added ->unique() to BelongsToMany kind fields, so you can validate unicity of your pivot table entries.
  • Fixed $withs property for repositories when force eager loading.

4.9.2

12 Jan 10:12
a04d5b2
Compare
Choose a tag to compare

Added

  • Model guesser, so if you have ArticleRepository for example, Restify will guess the model App\Models\Article so you don't have to define the model static property.

4.9.1

06 Jan 21:47
c1187f1
Compare
Choose a tag to compare

Added

  • data helper

4.9.0

05 Jan 06:25
87ac7a2
Compare
Choose a tag to compare

Added

  • PHP 8.0 Support.

4.8.0

30 Dec 20:28
5ceef21
Compare
Choose a tag to compare

Added

Fixes

  • JSON responses for the forgot and reset passwords.

4.7.0

27 Dec 07:35
773cd66
Compare
Choose a tag to compare

Added

4.6.3

23 Dec 17:52
Compare
Choose a tag to compare

Added

  • Scaffolding UserRepository.

4.6.2

23 Dec 17:08
Compare
Choose a tag to compare

Added

  • Scaffolding UserRepository.

4.6.1

23 Dec 17:01
Compare
Choose a tag to compare

Added

  • Default scaffold for repository and base repository.

4.6.0

23 Dec 16:37
d02078d
Compare
Choose a tag to compare

Added

  • Pivots on the show and index requests, they are now displayed in a pivots object.

Changed

  • Not for being able to attach / detach resources, you MUST have the ManyToMany field defined in the related of the repository.