Upgrade to 3.1 is problematic

I wanted to upgrade from version 3 to 3.1 to use the new features. But when I run
composer require filament/filament:"^3.1" -W

I get the following error:
./composer.json has been updated
Running composer update filament/filament --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - filament/filament[v3.1.0-alpha1, ..., 3.x-dev] require illuminate/console ^10.0 -> found illuminate/console[v10.0.0, ..., 10.x-dev] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires filament/filament ^3.1 -> satisfiable by filament/filament[v3.1.0-alpha1, ..., 3.x-dev].


Installation failed, reverting ./composer.json and ./composer.lock to their original content.

What do I need to do to install the new version? Can anyone help me?
Was this page helpful?