Updating from Drupal 9 to 10, how to specify version

Created on 20 February 2024, 9 months ago

Sorry this may be obvious.

Since there is no version that works with 9 & 10 is this a solution for composer.json?

"drupal/pagerer": "^2.0 || ^3.0",

On the D9 site is it this at the moment.

"drupal/pagerer": "^2.0 ",

I do also have deprecated code I need to deal with in a template file, but that's separate.

๐Ÿ’ฌ Support request
Status

Active

Version

3.1

Component

Miscellaneous

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States Rick Hood

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Rick Hood
  • ๐Ÿ‡ณ๐Ÿ‡ฟNew Zealand xurizaemon ลŒtepoti, Aotearoa ๐Ÿ

    That looks correct for specifying "install one of these version ranges", yes. It's what I might try.

    Suggest also to check the release notes (project page - all releases) as it looks like there's some removals which might make this not a drop in replacement.

    So while the Composer require might work, the module behavior might change - to be expected with a major version bump.

    (I'm not familiar with Pagerer, and commenting here based on Composer/Drupal experience and what I see in the release notes. If you find there's no docs on this upgrade step, that might be good to contribute!)

Production build 0.71.5 2024