Releases: apiato/apiato
Releases · apiato/apiato
v12.0.0
What's Changed
Full Changelog: v11.3.2...v12.0.0
Breaking changes
- Upgraded to Laravel v10 (All Laravel files (e.g. configs, .env, etc...) are now synced with the latest Laravel changes)
- Updated Composer dependencies to their latest version
- Laravel Passport route registration & customization has changed. Passport routes are now reside in a dedicated route file (Instead of registering them in the provider).
- Middleware
$routeMiddleware
field is renamed to$middlewareAliases
- Trimmed down the TestCase by removing some useless traits including:
TestsMockHelperTrait
TestsResponseHelperTrait
encode()
method return value has changed -> In case of unencodable value (e.g.null
), now returnsnull
instead of''
decode()
method return value has changed -> In case of undecodable value (e.g.null
), now returnsnull
instead of[]
- StateKeeperTrait is removed from
Request
None breaking changes
- Everything is refactored to use
constructor
injection instead of directly using the Service Container like soapp(CreateUserByCredentialsTask::class)->run()
- Added more tests and refactored the rest
- Switched to
invokable
controllers
\\ from
Route::get('profile', [GetAuthenticatedUserController::class, 'getAuthenticatedUser']);
\\ to
Route::get('profile', GetAuthenticatedUserController::class);
- All rotues are moved into the private documentation. e.g.
RefreshProxyForWebClient.v1.public.php
->RefreshProxyForWebClient.v1.private.php
- Added some getter methods to the Request including:
withUrlParameters()
getAccessArray()
getDecodeArray()
getUrlParametersArray()
- Added a
TestAssertionHelperTrait
to the TestCase which provides some usefull assertions
Bug fixes
withMeta()
method on ResponseTrait now correctly includes added meta data- Calling invokable controllers from routes #174
- Exception when try to generate an WEB CRUD Controller from generator #171
- PHP 8.1 warning on passing null to explode #176
11.3.4
- update(vendor): update composer dependencies
- update(node_modules): update npm dependencies
- fix test
v11.3.3
- update(vendor): update composer dependencies
v11.3.2
- chore(dep): update composer dependencies
Full Changelog: v11.3.0...v11.3.2
v11.3.1
What's Changed
- chore(deps): update composer dependencies
v11.3.0
Thanks to @smurtazakazmi
- feat(authorization): add endpoints to manage permissions directly on user
- chore(dep): update composer dependencies to their latest versions
v11.2.1
- update dependencies
v11.2.0
- get latest dependencies, features and bug fixes
v11.1.1
- get latest dependencies and bug fixes
v11.1.0
- use
CanOwn
trait on parent models - sync translations with Laravel
- update dependencies