Skip to content

Releases: phpsa/laravel-api-controller

Meta with original filters for pagination

17 Dec 02:15
Compare
Choose a tag to compare

Potential Breaking Change

Pagination resource endpoints meta now returns with the original query filters

Null filters

17 Dec 01:59
0ca8605
Compare
Choose a tag to compare

We can now filter on whether a column is null or not null

1.22.1

09 Nov 22:56
Compare
Choose a tag to compare

Fixes issue when sorting by relation and both relation and parent table have same column name and sorting on that column name is requesed resulting in a sql error - ambiquos

1.22.0: Updates

09 Nov 22:06
Compare
Choose a tag to compare
  • Fixes sort issue to use a left join for related sorts instead of an inner join
  • Update to response from a Post / Put will now include over the default fields any fields in the post / put that are in the allowed fields
  • BaseRepository::dd method now does not typecast any parameters nor require any.

Sync relations Patch

02 Nov 21:06
f283fc5
Compare
Choose a tag to compare

After this patch, input with either snake or camel keys for relationship being synced will work.

Relationship Updates

30 Oct 09:03
23def87
Compare
Choose a tag to compare
  • Improves relationships by automatically adding the ability to populate fields in pivot tables through the API
  • Automatically detected related records saved during the request and returns those in the response using the defined resouce

Join Sorting updates

27 Oct 23:55
1f7f3cf
Compare
Choose a tag to compare
  • fix join sorting accross databases
  • add dd method to repository

403 vs 404

21 Oct 03:25
03a84d3
Compare
Choose a tag to compare

Authenticated but unauthorized now return 403 again as per usage

BugFix

19 Oct 21:33
213f639
Compare
Choose a tag to compare
Feature/scoped get delete (#79)

* Get / update / Delete should be retrievable via scopes

* mismatched record identifier

* Apply fixes from StyleCI (#80)

Co-authored-by: Craig Smith <[email protected]>

* unused parameter

Co-authored-by: Craig Smith <[email protected]>
Co-authored-by: Craig Smith <[email protected]>

Scopes in get / update / delete

19 Oct 21:17
5484c48
Compare
Choose a tag to compare
  • allow usage of scopes in the view, update and delete endpoints