Releases: specialtactics/l5-api
Releases · specialtactics/l5-api
Policy generation updates
v1.0.0-rc.2 Put policies under models to utilise default policy detection
Version 1 RC
Version 1 PR (Open for ongoing review until finalised) (#10) * Various improvements to the make:api-resource generator command Get rid of class_basename helper because laravel adds it in 5.8 Add laravel support 5.8 as a dependency * Routes should be kebab case, not snake * Fix missing bracket * Update migrate command with create_table style name * Updating $with behaviour and splitting into item and collection * Put should take request * viewAll policy ability & stub update * First pass at put * Better handling of saving model in service, immediate update to put * Extend json formatter * StyleCI fixes * Minor improvements to str handling * Move before function to laravel base repo for boilerplate, to make it more clear/transparent what is happening * Improvements to validating model update - especially relating to multi/level rule keys (separated by dots) * Remove blank line (cs) * Typehints for array on some service functions * Simplify logic with Str::before * V1 testing approach (#12) * First testing approach * Much improved approach * Removing old location of files * Large amount of progress * Reorganising tests directory Automating config copying & putting overrides in phpunit.xml Renaming routes file for clarity * Commit travis-ci file * Specify matrix * Exclude test dir from styleci * Added php 7.4 to travis * Attempt to remove xdebug * Update test script * Add a testing note * Add restful service test * Add phpunit dist * Remove php 7.4 snap from travis * Add travis shield * Separating out testing setup from base testcase * Make the Policy stub return true from all functions by default (ie. default functionality as if there were no policy) * Implement JSON formatting for meta in responses Refactor the function to format keycase from transformer into apiboilerplate class * Fixed static references * Refactoring to put helpers in a class * Update controllers to use new itemWith and collectionWith Revert them back to public static as well * StyleCI
v1.0.4-dev
Refactoring to put helpers in a class
Improvements to replacements handling in API exception handling
v0.1.8 improvement to replacements handling in API exception handler
Fixed a bug on transforming null properties which are cast as array
v0.1.7 Style fix
Use the more generic/base resource exception, since they could all have validation errors
v0.1.6 Use the more generic/base resource exception, since they could all ha…
Improvements to key-casing on validation errors
Handle situation where the error validations are coming from a dingo store resource failed exception and where error messages are in a message bag.
Minor improvements
0.1.4 Ucfirst the api-reousrce to be created for convenience - in case the …
Fix a bug with key case formatting where the new $levels wasn't being used
v0.1.3 Fix a bug with key case formatting where the new $levels wasn't being…
Add another case of transformation of keys
v0.1.2 Consider another case at transformation