It's really important that contrib modules have a release that bridges D9 and D10, because otherwise, the contrib module must be updated at the same time as Drupal core and that makes the process MUCH harder.
Unfortunately, 3.0.1 only supports D8/9 and 3.0.3, the next release, only supports D10.
AFAIK the change made in commit 1fc24578 still would work on D9 -- the rename of the FilterResponseEvent class (https://symfony.com/blog/new-in-symfony-4-3-simpler-event-dispatching) was accompanied with a deprecation.
So on D9, both deprecated FilterResponseEvent AND the new ResponseEvent can be used.
So the thing to do would be:
- 3.0.4 - same code as 3.0.3, but with D9 AND D10 support in the info file. Works on both 9 and 10. Users can update to this while on D9, then upgrade to D10.
- 3.0.5 - same code as 3.0.4, but remove D9 support. Users can update to this once their site is on D10.
Active
3.0
Code