Skip to content

Releases: open-southeners/laravel-apiable

3.15.0

04 Mar 13:10
1a00dac
Compare
Choose a tag to compare

Added

  • Laravel 12 support

Removed

  • Laravel 9 and 10 support
  • PHP 8.0 and 8.1 support

3.14.2

16 Aug 08:53
e93e6df
Compare
Choose a tag to compare

Changed

  • Replaced package open-southeners/laravel-helpers with open-southeners/extended-php

3.14.1

22 Jul 15:57
e68cf6b
Compare
Choose a tag to compare

Fixed

  • Performance degradation issue on serialisation (infinite loop on nested includeds)

3.14.0

23 May 23:17
e08d44b
Compare
Choose a tag to compare

Added

  • Laravel 11 support

3.13.3

06 May 16:19
bf8c8e1
Compare
Choose a tag to compare

Fixed

  • Raw response without pagination returning query builder

3.13.2

06 May 16:08
21df6e3
Compare
Choose a tag to compare

Added

  • Raw response formatting to JsonApiResponse

3.13.1

31 Dec 17:02
1b5954b
Compare
Choose a tag to compare

Added

  • Type generics into:
    • OpenSoutheners\LaravelApiable\Http\JsonApiResponse
    • OpenSoutheners\LaravelApiable\Http\RequestQueryObject
    • OpenSoutheners\LaravelApiable\Http\Resources\JsonApiResource
    • OpenSoutheners\LaravelApiable\Http\Resources\JsonApiCollection
    • OpenSoutheners\LaravelApiable\Contracts\ViewQueryable
    • OpenSoutheners\LaravelApiable\Contracts\ViewableBuilder

3.13.0

30 Dec 10:26
a12918b
Compare
Choose a tag to compare

Added

  • Handler::withHeader (used as apiable()->jsonApiRenderable()->withHeader) to add headers to JSON errors

3.12.0

14 Dec 15:22
a5c54c2
Compare
Choose a tag to compare

Added

  • Includes relationships counts with tags_count (needs to end with _count). E.g:
JsonApiResponse::using(Post::class)->allowInclude(['tags_count']);

// Then request this with ?include=tags_count

Fixed

  • Some IDEs getting confused with returning self types in traits (replaced to static)

3.11.5

24 Oct 16:37
188662b
Compare
Choose a tag to compare

Changed

  • Fix open-southeners/laravel-helpers utilities package version constrain so other packages can use similar versions under the same major release