Skip to content

Latest commit

 

History

History
80 lines (52 loc) · 1.92 KB

CHANGELOG.md

File metadata and controls

80 lines (52 loc) · 1.92 KB

Changelog

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.

v3.2.0 (2024-04-2)

Added

  • Support for Laravel 11.x

v3.1.0 (2023-02-16)

Added

  • Support for Laravel 10.x

v3.0.0 (2022-04-18)

Added

  • ApiVersioningManager and Base Drivers for handling routing and version checking.
  • Support for Laravel 9.x

Changed

  • Minimum requirement to PHP8
    • In your controller that extends GatewayController, you'll need to specify the type for the $apiControllers property as array
    class FooGatewayController extends GatewayController
    {
        /** old */
        // protected $apiControllers = [...];
    
        /** new */
        protected array $apiControllers = [...];
    }

Removed

  • Removed Route::lapiv() chaining. See issue.

v2.0.0 (2021-01-09)

Added

  • PHP 8 Support.
  • Single action controllers via __invoke.

Removed

  • Drop Laravel >= 7 support.

  • Remove header versioning method.

  • Remove base_namespace and base_prefix config.

    • Route::lapiv() received an overhaul and it has been decided that these configurations shouldn't be handled by Route::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');
              })
          });

v1.0.1 (2021-01-08)

Changed

  • Fix version validation.

1.0.0 - 2020-09-19

  • 🎉Initial Release!