All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Support for Laravel 11.x
- Support for Laravel 10.x
ApiVersioningManager
andBase Drivers
for handling routing and version checking.- Support for Laravel 9.x
- Minimum requirement to PHP8
- In your controller that extends
GatewayController
, you'll need to specify the type for the$apiControllers
property asarray
class FooGatewayController extends GatewayController { /** old */ // protected $apiControllers = [...]; /** new */ protected array $apiControllers = [...]; }
- In your controller that extends
- Removed
Route::lapiv()
chaining. See issue.
- PHP 8 Support.
- Single action controllers via
__invoke
.
-
Drop Laravel >= 7 support.
-
Remove
header
versioning method. -
Remove
base_namespace
andbase_prefix
config.-
Route::lapiv()
received an overhaul and it has been decided that these configurations shouldn't be handled byRoute::lapiv()
-
If you want to retain the old behaviour, you'll need to modify
Route::lapiv()
like so:Route::namespace('\App\Http\Controllers\Api') ->group(function () { Route::lapiv(function () { Route::get('foo', 'FooGatewayController@index'); Route::get('foo/{foo}', 'FooGatewayController@show'); }) });
-
- Fix version validation.
- 🎉Initial Release!