Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Releases: skore/laravel-json-api

Faster jsonPaginate method

26 Aug 10:46
e75f7c8
Compare
Choose a tag to compare

Final release

15 Jul 20:22
6592c86
Compare
Choose a tag to compare

THIS PACKAGE IS GONNA BE DEPRECATED IN FAVOUR OF THIS ONE: https://github.com/open-southeners/laravel-apiable

Fixed

  • Missing autoload-dev, tests were autoloaded with the released version (ouch!)

Minor fix to facade binding

17 Jun 14:21
dd773e3
Compare
Choose a tag to compare

Fixed

  • Missing app container binding for support facade usage

Minor fixes

06 Apr 11:55
0cbaf63
Compare
Choose a tag to compare

Fixed

  • Pagination handling when cursor pagination is being used on resources
  • Minor removals of warnings and deprecations on newer versions of PHP

Fix issue with hasMany relationships on testing utils

22 Mar 13:41
10b275f
Compare
Choose a tag to compare

Fixed

  • Assert testing utilities with hasMany relationships

Change suggested package to own forked

18 Feb 09:29
074e11e
Compare
Choose a tag to compare

Changed

Minor fix to test utilities

17 Feb 18:53
e01b743
Compare
Choose a tag to compare

Fixed

  • hasAttribute / hasAttributes now accepts array as values

Small fix to dependencies 3... 2... 1... DOH!

11 Feb 23:13
726d4a2
Compare
Choose a tag to compare

Fixed

  • Some extra dependencies not needed :/

v3.2.0 The new year bonus 🎉

14 Jan 14:47
d4f852c
Compare
Choose a tag to compare

Added

  • Laravel 9 support
  • Testing utilities with more useful failure messages and docblocks
  • PHPStan for static analysis (Github full integration still in progress...)
  • Tests to some nested relationships
  • Code analysis thanks to @codacy

Changed

  • hasSize renamed to count (original will be still maintained as an alias)
  • Internal package API: Moved Assert props to traits

Last feature update for v3

29 Oct 08:32
bee8a6f
Compare
Choose a tag to compare

Added

  • JSON:API pagination to Illuminate\Database\Query\Builder class
  • Testing utilities (as macros of Illuminate\Foundation\Testing\TestResponse): hasId, hasType, hasAttribute, hasAttributes, atRelation, hasRelationshipWith, hasAnyRelationships, at, hasSize
  • SkoreLabs\JsonApi\Support\JsonApi utilities facade
  • SkoreLabs\JsonApi\Contracts\JsonApiable contract interface for custom resource types