Releases: phpsa/laravel-api-controller
Releases · phpsa/laravel-api-controller
Remap Request system
0.4.0-a.1 Apply fixes from StyleCI (#12)
0.3.1
Updated Requests / Events availability
Develop - Release 0.3.0 (#11) * Added Created, Updated and Deleted events, Moved request to each method to allow overloading: * Apply fixes from StyleCI * Scrutinizer updates
Introducing Events
Events added in for Created, Updated and Deleted,
Upgrading from V0.2
overloaded index, store, show, update & destroy methods will need to be updated to include the Request param,
__constructor no longer required the Request param
Minor Update
- Added ability to add an array of errors to the error output from the api controller
With Laravel 6 Support and Better use of JSON spec for gets
Beta Version -
- Fixed a few issues
- added ability to limit fields requested through the includes keyword
- Plan is to stabalise current featureset and release before doing further enhancements
Api Samples
https://www.getpostman.com/collections/42113bcd922bf9299280
JSON Api Spec for filtering updated
Cleaned up the code and updated the documentation
JSON Api Spec for filtering
Updated to use the json api spec for filtering,
moved from
age=2&height<=5&shoe>2
to
filter[age]=2&filter[height<=]=5&filter[shoe>]=2
Laravel 6 support started
0.2.0-b.2 Updated readme, added extra test cases, default sorting