Releases: Vlancy/LAPI-response
Releases · Vlancy/LAPI-response
v1.3.8
v1.3.7
v1.3.6: Merge pull request #63 from i3rror/dev
What's Changed
- Update pagination and exception handling logic
- Add
apiCreatedmethod for handling HTTP 201 responses - Refactor API response handling and exception management
- Update dependencies and enhance API response handling
Full Changelog: v1.3.5...v1.3.6
v1.3.5
What's Changed
-
Refactor: Enhanced
Handlerlogic by improving validation error responses and introducing agetErrorCodehelper method for consistent error code handling. -
Refactor: Improved error collection structure and streamlined
invalidJsonhandling logic inHandler. -
Refactor: Modified fallback logic to use exception code for non-HTTP exceptions in API responses.
-
Refactor: Removed fallback to exception code for non-HTTP exceptions to standardize status code handling.
v1.3.4
v1.3.3.3
v1.3.3.2
What's Changed
- Refactor: Simplify
APIRequestValidatorby removing the unusederrorMessageproperty and ensuring null-safe handling inapiBadRequest - Refactor: Replace
apiUnauthenticatedwithapiForbiddeninAPIRequestValidatorto improve response accuracy - Refactor: Simplify
APIRequestValidatorby removing the unusederrorMessageproperty and ensuring null-safe handling inapiBadRequest
v1.3.3.1
v1.3.3
What's Changed
- [fix] Bad request error status
- Standardize bash command formatting in README.md
- Standardize exception handling and JSON error responses
- Refactor parameter types and names for consistency
- Add API response service and helper utilities
- Refactor: Replace
APIResponsewithApiResponsereferences - Update README: Improve structure, add features, and usage examples
- [fix] Bad request error status
- Add comprehensive unit tests for API response helpers and services
v1.3.2
What's Changed
- Set option to hide pagination links in API responses
- Add APIRequestValidator trait for request validation handling
- Add API validation section to README
- Update APIRequestValidator to return JsonResponse
- Update APIRequestValidator to return JsonResponse
- Allow null data in apiOk() method