Releases: phpsa/laravel-api-controller
Releases · phpsa/laravel-api-controller
Meta with original filters for pagination
Potential Breaking Change
Pagination resource endpoints meta now returns with the original query filters
Null filters
We can now filter on whether a column is null or not null
1.22.1
1.22.0: Updates
- 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
After this patch, input with either snake or camel keys for relationship being synced will work.
Relationship Updates
- 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
- fix join sorting accross databases
- add dd method to repository
403 vs 404
Authenticated but unauthorized now return 403 again as per usage
BugFix
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
- allow usage of scopes in the view, update and delete endpoints