Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Mar 9, 2024

Conversation

jessarcher
Copy link
Member

@jessarcher jessarcher commented Mar 8, 2024

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.

@jessarcher jessarcher changed the title [1.x] Remove deprecated Assert class [1.x] Remove deprecated Assert class Mar 8, 2024
@jessarcher jessarcher marked this pull request as ready for review March 8, 2024 02:59
@jessarcher jessarcher changed the title [1.x] Remove deprecated Assert class [1.x] Remove deprecated Assert class and Laravel 6 & 7 support. Mar 8, 2024
@jessarcher jessarcher merged commit ac686bf into 1.x Mar 9, 2024
52 checks passed
@jessarcher jessarcher deleted the remove-deprecated-assert-class branch March 9, 2024 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants