The Laravel team released 8.4, 8.5, and 8.6 with many new features which includes SQLite schema dump support, auto-handling castAsJson values that are “Jsonable,” an artisan command for clearing queues, along with the latest new features, fixes, and changes in the 8.x branch.

SQLite Schema 

SQLite support for the new schema:dump artisan command. Laravel 8 has introduced this feature to squash large migrations into a single SQL file as an application’s migration files grow. This will reduce the developers effort.

Clearing Queues with Artisan

An artisan queue:clear command can be used in development (and perhaps in some emergency production issues) to clear application’s queue:

# Delete all jobs from the default queue 
php artisan queue:clear

# Clear jobs on the redis connection and the "emails" queue
php artisan queue:clear redis --queue=emails

Auto-Handling

The Laravel team has added castAsJson() method to the base test case, which now supports auto-casting of Jsonable and array values:

$this->assertDatabaseHas('users', [
'name' => $user->name,
'email' => $user->email,
'nicknames' => $this->castAsJson($user->nicknames->toJson()),
];