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

Laravel 9 Mid-Shift #537

Merged
merged 3 commits into from
Dec 22, 2022
Merged

Laravel 9 Mid-Shift #537

merged 3 commits into from
Dec 22, 2022

Conversation

arborrow
Copy link
Owner

This pull request includes recent changes to Laravel core files. Although some of these changes may be considered optional, they may be required to you use recent additions - such as exception log levels, UUID and ULID support, Precognition, and more.

Since Laravel has moved to an annual release cycle, these changes may reach a critical mass. When they do, you will receive this automated pull request as part of your Shifty Plan.

Before merging, you need to:

  • Checkout the shift-mid-laravel-9 branch
  • Review all pull request comments for additional changes
  • Run composer update (if the scripts fail, add --no-scripts)
  • Clear any config, route, or view cache
  • Thoroughly test your application (no tests?, no CI?)

If you would like more detail you may view the full changes. You may also review the Shifty Bits Newsletter for Laravel release highlights.

@arborrow
Copy link
Owner Author

ℹ️ Shift updated your dependencies with the latest constraints from Laravel 9. While many of the popular packages are also reviewed, you may have to update some packages. Watch dealing with dependencies for tips on handling any package incompatibilities.

@arborrow
Copy link
Owner Author

⚠️ Laravel 9 now requires Sanctum 3.x which added an expires_at column to support expiring tokens. Although Shift detected a dependency for laravel/sanctum, it did not find the migration for the personal_access_tokens table.

If your application is using the personal_access_tokens table, you may generate a custom migration for this column by running:

php artisan make:migration AddExpiresAtToPersonalAccessTokensTable

Then copy and paste the contents from Shift's migration to add the expires_at column to your existing personal_access_tokens table.

@arborrow
Copy link
Owner Author

ℹ️ Laravel 9 now uses Vite to build frontend assets. While you may continue to use Laravel Mix, it is no longer the default. If you wish to modernize your application to use Vite, you may run the Vite Converter for free.

@arborrow arborrow merged commit 55b512f into master Dec 22, 2022
@arborrow arborrow deleted the shift-mid-laravel-9 branch January 8, 2023 14:16
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