inertiajs / inertia-laravel

The Laravel adapter for Inertia.js.
https://inertiajs.com
MIT License
2.01k stars 224 forks source link

[1.x] Remove deprecated `Assert` class and Laravel 6 & 7 support. #594

Closed jessarcher closed 5 months ago

jessarcher commented 5 months ago

This PR removes the built-in Assert class, which was deprecated over two years ago, in favor of Laravel's AssertableJson class (available in Laravel 8.35 onward).

As a result, Laravel 6 and 7 (along with PHP 7.2) are no longer supported, bringing the minimum required Laravel version to 8.74 (the current minimum for 8.x).

If you are still using the Assert class, you would have received deprecation notices and a message in your test output (see the linked PR above). If you haven't been seeing this, then you shouldn't need to change anything.

Current testing documentation is available at https://inertiajs.com/testing.