- Determine the current version (
composer info ...
) - Choose the wanted version
- Follow the instructions
- ??????
- PROFIT
For example, if the current version is 2.x
and you want to migrate to 5.x
, you need to perform all steps in the following order:
- "Upgrade from v2"
- "Upgrade from v3"
- "Upgrade from v4"
Please also see changelog to find all changes.
🤝 | Backward-compatible change. Please note that despite you can ignore it now, but it will be mandatory in the future. |
---|
- PHP 8.2 is not supported anymore. Migrate to the newer version.
- Laravel v10 is not supported anymore. Migrate to the newer version.
-
PHP 8.1 is not supported anymore. Migrate to the newer version.
-
Direct usages of
Container::getInstances()
were replaced by explicit constructor parameters. You may need to update your code accordingly (#151).
-
Following traits required
app()
method to get access to the Container (#151)ScheduleAssertions
Override
WithQueryLog
💀\LastDragon_ru\LaraASP\Testing\Database\RefreshDatabaseIfEmpty
WithTranslations
protected function app(): Application { return $this->app; }
-
ScheduleAssertions
methods became non-static and signature changes (#151).
- Laravel v9 is not supported anymore. Migrate to the newer version.
- Replace
CronableAssertions::assertCronableRegistered()
toScheduleAssertions::assertScheduled()
.