Skip to content

v2.0.0 (2021-01-09)

Compare
Choose a tag to compare
@juliomotol juliomotol released this 09 Jan 08:56
· 31 commits to master since this release

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');
              })
          });