Skip to content

Releases: specialtactics/l5-api

Policy generation updates

25 Jul 06:38
Compare
Choose a tag to compare
Pre-release
v1.0.0-rc.2

Put policies under models to utilise default policy detection

Version 1 RC

25 Jul 03:03
3a6c2e8
Compare
Choose a tag to compare
Version 1 RC Pre-release
Pre-release
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

23 Jul 07:35
Compare
Choose a tag to compare
v1.0.4-dev Pre-release
Pre-release
Refactoring to put helpers in a class

Improvements to replacements handling in API exception handling

19 Jul 08:04
Compare
Choose a tag to compare
v0.1.8

improvement to replacements handling in API exception handler

Fixed a bug on transforming null properties which are cast as array

15 Jul 15:48
Compare
Choose a tag to compare

Use the more generic/base resource exception, since they could all have validation errors

04 Jul 07:08
Compare
Choose a tag to compare
v0.1.6

Use the more generic/base resource exception, since they could all ha…

Improvements to key-casing on validation errors

04 Jul 06:30
Compare
Choose a tag to compare

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

05 Jun 11:07
Compare
Choose a tag to compare
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

28 Mar 05:56
Compare
Choose a tag to compare
v0.1.3

Fix a bug with key case formatting where the new $levels wasn't being…

Add another case of transformation of keys

27 Mar 09:57
Compare
Choose a tag to compare
v0.1.2

Consider another case at transformation