Skip to content

Releases: apiato/apiato

v12.0.0

04 Jun 19:59
Compare
Choose a tag to compare

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 returns null instead of ''
  • decode() method return value has changed -> In case of undecodable value (e.g. null), now returns null 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 so app(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

13 Feb 15:33
Compare
Choose a tag to compare
  • update(vendor): update composer dependencies
  • update(node_modules): update npm dependencies
  • fix test

v11.3.3

13 Feb 14:36
Compare
Choose a tag to compare
  • update(vendor): update composer dependencies

v11.3.2

03 Dec 09:05
Compare
Choose a tag to compare
  • chore(dep): update composer dependencies

Full Changelog: v11.3.0...v11.3.2

v11.3.1

03 Dec 08:52
Compare
Choose a tag to compare

What's Changed

  • chore(deps): update composer dependencies

v11.3.0

14 Oct 16:55
Compare
Choose a tag to compare

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

14 Oct 12:13
Compare
Choose a tag to compare
  • update dependencies

v11.2.0

20 May 13:37
Compare
Choose a tag to compare
  • get latest dependencies, features and bug fixes

v11.1.1

02 May 10:29
Compare
Choose a tag to compare
  • get latest dependencies and bug fixes

v11.1.0

02 May 05:44
Compare
Choose a tag to compare
  • use CanOwn trait on parent models
  • sync translations with Laravel
  • update dependencies