All notable changes to laravel-api-response
will be documented in this file.
Unreleased - TBD
2.0.0 - Next
WORK IN PROGRESS
v1.3.1 - 23 Dec 2022
- Exception Handler fails to convert ApiResponse to JsonResponse (#16)
- Support for php8.2
v1.3.0 - 14 Dec 2022
- Laravel exception handler does not recognize Responsable trait (#11)
- Return 404
NOT_FOUND
for laravelModelNotFoundException
(#10)
- Support
Arrayable
interface for response data (#13)
v1.2.0 - 24 Jul 2022
- Add try/catch handler when parsing exception to response
- Return 401
HTTP_UNAUTHORIZED
for laravelAuthenticationException
- Get data directly from
ResourceCollection
data type - Add more tests to improve coverage
v1.1.0 - 28 Jun 2022
- Missing return type for
ApiException
(#4)
- Return type for
validateOrFail
ExceptionHandler::renderAsApiResponse
helper
v1.0.0 - 13 Jun 2022
- ApiResponse
ApiResponse::success
andApiResponse::error
- Exception
ApiException
andApiValidationException