Adds url
to config generated by Config::s3
Fixes Config::s3
paths with missing DIRECTORY_SEPARATOR
Fixes a bug with Config::s3
- Adds method
modelResource
for API controllers
- Fixes
paginatedList
for arrays
Fixes a typo bug
- Makes using Authorize trait optional
- Adds method
validationRequest
for controllers. - Removed deprecated
Upload::awsUpload
method.
- Adds
Config
helper class
- Adds method
getMailMessage
to Notifications\Send. - Adds Scribe strategy for test responses.
- Adds Scribe strategy for metadata.
- Adds documentation doctype to all crud methods
- Introduces "actionNames" options for
Route::httpResource(...)
- Fixed toArray issue with snake/camel case relationships.
- Made the validationRules method not required. It returns an empty array by default.
- Changes test response path to reflect status codes.
- Swaps d-scribe/laravel-apidoc-generator with Scribe.
- Changes 'all' to
-1
on index action to load all. - Fixes storing test responses with 204 content
- Renames config tag from just 'config' to 'laraquick-config'
- Updates the indexResponse param type
- Uses Laravel's default 'trans' function in the translate method
- Removed Helper/Http. Laravel now has an Http facade.
- Removed Events/WebSocket. Use Laravel WebSockets.
- Removed Helper::relationLoaded method. Laravel now has a method for that.
- Removed Helper/Excel.
- Removed d-scribe/laravel-db-command as a dependency.
- Removed JWT references entirely
Added Notfications DBChannel
- Fixed issue with
before{method}Response
in PassThrough's respond method
- Added DB helper class to create full text indexes
- Added Searchable trait to provide methods for full text searches
- Ensure
0
and empty strings are allowed as success and error messages
- Updated parameters for method
rollbackStore()
- Updated method
rollbackDestroy()
- Catch and log exceptions thrown in
rollbackDestroy()
.
- Catch and log exceptions thrown in methods
rollbackStore()
androllbackUpdate()
.
- Updated methods
rollbackStore()
androllbackUpdate()
.
- Fixed typo
- Added method
validateData()
- Method
validateRequest()
now only takes parameters$rules
and$messages
. - Implemented using custom validation messages
- Deprecated method
checkRequestData()
should be replaced with new methodvalidateData()
- Removed parameter
$ignoreStrict
entirely from methodvalidateData()
Deprecated method checkRequestData()
in favour of validateRequest()
- Ensured exceptions in
beforeResponse
methods are caught - Ensured method
rollback
is called on the caught errors
Fixed notFoundError consistency issue'
- Exempted
$hidden
attributes in model helper trait - Added method
validationMessages()
to the validation trait - Used
validationMessages()
in both storing and updating. - Allowed custom
notFoundError
messages - Allowed success method in api to have zero params
- Check that model methods do not return falsable
- The model being updated is now passed as the second parameter to
beforeUpdate
Laraquick\Models\Traits\Helper
now has an except
scope method to remove provided
columns from selection. Thanks @mykeels.
Response method paginatedList()
now takes a third parameter, an array
of custom meta fields.
Created Dud model
PassThrough Trait:
- Updated methed names with create to store
- Updated method names with delete to destroy
- Ensured using validation rules work as expected
Made attach/detach/sync error message more custom to the parameter key or relation name
Added methods prepareAttachItems
, prepareDetachItems
, prepareSyncItems
to Attachable
Converted Attachable public methods' $relation
to camelCase if it doesn't exist
on the model in the default form.
Created model helper trait
Changed response structure to:
{
"status": "ok", // or "error", if the request failed
"message": "...", // [optional] holds a string description of the status
"data": "", // [optional] holds the retrieved/processed data if any
"errors": [] // [optional] holds the errors encountered while processing the request
}