Releases: KroderDev/laravel-microservice-core
Releases · KroderDev/laravel-microservice-core
v0.5.0
What's Changed
- Handle failed API responses in model operations by @KroderDev in #3
- Respect configured correlation ID length by @KroderDev in #4
- Sanitize JWT key logging in GatewayGuard by @KroderDev in #5
- Add type hints to gateway utilities by @KroderDev in #6
- Add JWT validator service and refactor auth components by @KroderDev in #7
- Validate redirect domains in auth controllers by @KroderDev in #8
Full Changelog: v0.4.3...v0.5.0
v0.4.3
[0.4.3] - 2025-08-13
Fixed
paginate()returns an empty paginator with a 200 status when the gateway responds with 404.paginate()fixed the division by zero error when perPage is empty.
Full Changelog: v0.4.2...v0.4.3
v0.4.2
Added
- Query builder with
where()->get()support for remote models. - Smart error handling based on the request's expected format.
- Error propagation improvements with tests for all status codes.
- Introduced
ParsesApiResponsetrait to centralize API response parsing logic. - Configurable HTTP methods for model updates and deletions.
updateById, instanceupdate,updateOrFail, andfindOrFailfor remote models.
Changed
- Refactored
QueryBuilderandApiModelto use the newParsesApiResponsetrait, removing duplicateparseResponseimplementations. - Improved README with installation details, key features, and basic-usage example.
Fixed
- Remote models hydrated from API responses are marked as existing to prevent local database queries.
Full Changelog: v0.4.1...v0.4.2
v0.4.1
[0.4.1] - 2025-07-10
Added
- Base
Controllerclass withapiResponsemethod. - Helper methods for common JSON responses.
$apiRelationsmapping inApiModelTraitfor nested relations.- Custom
make:modelcommand supporting a--remoteoption.
Changed
ApiGatewayClientandPermissionsClientbindings are now scoped.GatewayGuardregisters aCookieJarto avoid logout issues.
Full Changelog: v0.4.0...v0.4.1
v0.4.0
Added
- Gateway authentication controllers with comprehensive tests.
RedirectsIfRequestedtrait and redirect support in auth controllers.- Configurable
gateway_auth.default_redirectsetting. token()method inGatewayGuard.- Logging for JWT key loading and decoding.
- PHPDoc comments across
GatewayGuardmethods. - Laravel Pint integration and PSR-12 code style.
Changed
- Removed
__getmagic method fromExternalUser. - Enhanced redirect logic and session handling in
GatewayGuard. - Documentation reorganized with a new features list.
- Commented out session migration due to CSRF conflicts.
v0.3.1
Full Changelog: v0.2.10...v0.3.1
v0.2.10
Full Changelog: v0.2.9...v0.2.10
v0.2.3
Full Changelog: v0.2.2...v0.2.3
v0.2.2
What's Changed
Full Changelog: v0.2.1...v0.2.2
v0.2.1
Full Changelog: v0.2.0...v0.2.1