- Update to Laravel 9, 10
- Drop PHP 7.x support
- Throw away dingo/api package
- Use tymon/jwt-auth 2.0
- Get rid of BaseApiController
- Add
Saritasa\LaravelControllers\Responses\ResponsesTrait
- Accomodate
PagingInfo
class from saritasa/dingo-api-custom
Add ILoginRequest interface to provider customizable login validation rules
Fix default transformer registration - BaseTransformer is used
Remove custom router and resolvers
- Add PageRequest, ChangePassword request
- Depend on saritasa/laravel-fluent-validation and saritasa/dingo-api-custom
- Remove ApiResourceRegistrar and WebResourceRegistrar (standard router is enough)
Require release tymon/jwt-auth version instead of RC
If token refresh failed return 403 code, not 401 - to prevent infinite refresh loop easier
Fix issue with wrong method name create
instead of store
in ResourceApiController
- Update the signature of the Saritasa\LaravelControllers\Api\ResetPasswordApiController::sendResetResponse method to match the new signature of the Illuminate\Foundation\Auth\ResetsPasswords trait
- Update the response of the Saritasa\LaravelControllers\Api\ResetPasswordApiController::sendResetFailedResponse method to display message instead of message token
- Update the signature of the Saritasa\LaravelControllers\Api\ForgotPasswordApiController::sendResetLinkResponse method to match the new signature of the Illuminate\Foundation\Auth\SendsPasswordResetEmails trait
- Set the minimal version of the Laravel to 5.7
Compatibility with Laravel 6
Fix show, update, delete methods in ResourceApiController - user repository to load models, rather than binding
Fix logout error message
- Update versions of dependent packages
- Added compatibility with laravel 5.8
Fix issue when rotatable model has key different from id
Fix the paths of the resource files.
Switched to Dingo/Api 2.0 beta (which contains bugfix in authentication)
Fixed controller method/route name when defined resource with ApiResourceRegistrar from create to store.
- Fixed issue with missing Arrayable contract at Responses DTO models.
- Change namespace from Saritasa\Laravel\Controllers to Saritasa\LaravelControllers
- Add ability to bind models for controller on side of route creation
- Update behavior of default laravel router that now using Repository layer to get entities from db when controller using model binding ability
- Update behavior of default laravel controller dispatcher that now not overrides early resolved model bindings on
- Remove IApiResourceController, UserApiController, MacroServiceProvider, RevisionsServiceProvider, AuthJWTService, BaseMarkupController, IWebResourceController
- Improve application structure
- Improve documentation
- Add more unit tests
- Switch minimum version of php to 7.1
Add laravelcollective/html as dependency
Explicitly add dingo/api as dependency
Do not require minimum-stability of packages
Enable Laravel's package discovery https://laravel.com/docs/5.5/packages#package-discovery
Fix controllers inheritance (override validate method was incompatible)
Trim slashes from resource controller route names in Api/Web route registrars
- BaseApiController inherited from BaseController, this gets AuthorizesRequests trait
- BaseController does not uses DispatchesJobs trait
Fix ResetPasswordController namespace
Get rid of DTO postfix in DTO models: rename AddressDTO, AuthSuccessDTO
- Add SuccessMessage and ErrorMessage, use in controller responses
- Mark MessageDTO as deprecated
Add missing parent constructor call in ForgotPasswordApiController
Update documentation Remove RequestResetPasswordApiController (duplicates ForgotPasswordApiController)
Add missing auth.failed language value Add controllers:
- ForgotPasswordApiController
- RequestResetPasswordApiController
- ResetPasswordApiController
Fix AuthJWTService error, causing authorization fail
Fix loading translation messages from resources
Update dependencies versions Change AuthJWTService->auth() from credentials array to $email and $password params
Rename AuthenticateApiController to JWTAuthApiController
Fix DtoModel namespace
Update AuthenticateApiController
Add validation to BaseApiController Remove clones of BaseApiController from related packages
- Add TransformException
- Fix namespace
- Initial version:
IDataTransformer BaseTransformer LimitFieldsTransformer CombineTransformer