Closed (fixed)
Project:
Forward
Version:
4.0.4
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2025 at 10:10 UTC
Updated:
21 May 2026 at 21:38 UTC
Jump to comment: Most recent
This module is not compatible with Drupal 11.
I scanned it with upgrade_status and it looks like the only deprecation is this in ForwardLinkFormatter.php:
Call to deprecated function file_validate_is_image(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
prudloff commentedWe don't need to duplicate the drupal/core requirement in composer.json, drupal.org generates it based on core_version_requirement when creating the Composer package.
Comment #5
john_b commentedI made further changes required to get the module working with D11.
Comment #6
brunodboUpgrade Status reports the module as compatible with Drupal 11 after applying changes. Manually tested the module, all good.
Comment #7
dwwComment #10
dwwThis was more broken that I had thought. Ended up having to do more with the event dispatcher stuff. Plus, we all missed that
forward_test.info.ymlneeded to be fixed, too. Glad I got #3579177: Enable GitLab CI and fix pipelines resolved earlier today! Gives me a lot more confidence.Did a little experimenting with the
.gitlab-ci.ymlconfig to see what the unreported deprecations were when running the phpunit tests on D11. It's all new deprecations in D11 to prepare for D12 or even D13. Left that configuration as a separate, manually-triggeredphpunit-all-deprecationsjob:https://git.drupalcode.org/project/forward/-/pipelines/768826
https://git.drupalcode.org/project/forward/-/jobs/8919365
I'm not worried about trying to fix any of that stuff, yet. 😅 Given that both phpstan and phpunit are happy when run against 11.3.x, I went ahead and merged this to 4.0.x.
Since I *just* cut the 4.0.3 release, and I don't actually need the D11 support immediately for the site I'm working on this for, I'm going to let this simmer in the -dev release for a few days. If anyone is available to do more manual testing, that'd be great! If there are no signs of trouble, I'll cut 4.0.4 to drop D9 and add D11 in the coming days/weeks (but not months/years).
Thanks!
-Derek
Comment #13
jason_purdy commentedany update on when the 4.0.4 version will be released for full D11 support?
Comment #14
dww@jason_purdy: Did you do any testing of the -dev release? Would be helpful to confirm before tagging a stable release.
Comment #15
jason_purdy commentedI did and it worked great on my local box.
Comment #16
dwwGreat, thanks.
https://www.drupal.org/project/forward/releases/4.0.4