Updating plugins doesn't reflect in plugin version in system/updates

I updated composer.json with

"rainlab/pages-plugin": "^2.0",
"rainlab/builder-plugin": "^2.0",

and ran composer:update and php artisan october:util set build afterwards with the following result.

Package operations: 0 installs, 4 updates, 0 removals
  - Upgrading monolog/monolog (2.9.1 => 3.4.0): Extracting archive
  - Upgrading laravel/framework (v9.52.10 => v10.14.1): Extracting archive
  - Upgrading rainlab/builder-plugin (v1.2.6 => v2.0.5): Extracting archive
  - Upgrading rainlab/pages-plugin (v1.5.12 => v2.0.2): Extracting archive
Generating autoload files
> Google\Task\Composer::cleanup
> System\Console\ComposerScript::postAutoloadDump

   INFO  Discovering packages.

  barryvdh/laravel-async-queue ................................................................................................................ DONE
  laravel/tinker .............................................................................................................................. DONE
  nesbot/carbon ............................................................................................................................... DONE
  nunomaduro/termwind ......................................................................................................................... DONE
  october/rain ................................................................................................................................ DONE
  rainlab/debugbar-plugin ..................................................................................................................... DONE

101 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> System\Console\ComposerScript::postUpdateCmd

* You are using October CMS version: v3.4.6
No security vulnerability advisories found

buciu@Bogdan MINGW64 /d/opt/websites/olbg-3.com (master)
$ php artisan october:util set build
* You are using October CMS version: v3.4.6

Also in vendor/composer/installed.json the two plugins have:

"name": "rainlab/builder-plugin",
"version": "v2.0.5",
"version_normalized": "2.0.5.0",

"name": "rainlab/pages-plugin",
"version": "v2.0.2",
"version_normalized": "2.0.2.0",

But the system/updates page shows them:

Pages Pages & menus features. 1.5.9 2.0.2
Builder Provides visual tools for building October plugins. 1.2.6 2.0.5

I know I can update in the table the real versions for these plugins but maybe there is another solution.

check another plugins if there are not strict dependency to lower versions

Don’t forget to migrate your database

php artisan october:migrate
1 Like