Releases: specialtactics/l5-api
Releases · specialtactics/l5-api
Very minor and mostly irrelevant updates
Dev (#25) * Slight improvement, typehint Router in generator command for example routes * Update policy stub * Remove preset no longer in laravel * Update import order * Remove import order rule
Slight improvement on generator command
v1.2.1 Slight improvement, typehint Router in generator command for example …
Added ability to set per_page
Add ability to specify per_page value on getAll request (#21) * Bringing dev up to speed (#19) * Bug fix (#16) * Bug fix Bug fix for: https://github.com/specialtactics/laravel5-api-boilerplate/issues/26 * Update RestfulTransformer.php * Update RestfulTransformer.php StyleCI ?! * Add test for situation where model has a PK of "id" * Add tests for empty attributes cast to array * Some updates for laravel 6 (#18) * Updates for Laravel 6 * Remove PHP 7.1 from Travis (no longer supported) * Bump illuminate/support dep version * Bump orchestra testbench version for laravel 6 * Allow phpunit 8 * Replace str_ helper * replace assertEquals with assertEqualsWithDelta when using delta * Add phpunit result cache to gitignore * Update travis config * Different config try * Cater testing for laravel 5.8 as well * Commit a test to run first and eat up bootstrap time * Add ability to specify per_page value on getAll request * Newline oddity
Laravel 6 compat
Some updates for laravel 6 (#18) * Updates for Laravel 6 * Remove PHP 7.1 from Travis (no longer supported) * Bump illuminate/support dep version * Bump orchestra testbench version for laravel 6 * Allow phpunit 8 * Replace str_ helper * replace assertEquals with assertEqualsWithDelta when using delta * Add phpunit result cache to gitignore
Fixes bug where a model has a PK named "id"
Fixes issue where if a model has a PK called "id", it would not be returned in the transformation.
Thanks to @hallelujahbaby for the fix !
Snake case middleware improvements
v1.0.0-rc.3 Don't snake/camel case keys on incoming input, if they are all uppercase
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