Closed (fixed)
Project:
reCAPTCHA
Version:
8.x-3.x-dev
Component:
General
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2022 at 11:20 UTC
Updated:
15 Oct 2022 at 02:09 UTC
Jump to comment: Most recent
Fix Drupal >=9.2 deprecations in the module, which will lead module one step closer to Drupal 10 readiness.
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
japerryThese changes only affect tests, I see no reason to update the minimum version to 9.2. recaptcha should remain 8.9+, but have the tests updated to support only 9.2. This allows customers to run the module on earlier, non supported versions of Drupal, but brings the testing upto speed with current versions of Drupal.
Comment #4
n4r3nComment #5
bas123 commentedDrupal v. 9.3.9
reCaptcha v. 8.x-3.0
Image challenge completes and Login sends user to error page:
Math and Image methods work smoothly!
Why is this still unresolved?
Comment #7
berdirUpdating title, it's not about D10 compatibility, the module is compatible with 9.2 just fine, it just has deprecations.
Pushed a bunch of fixes and improvements, the test passes now for me on D10.
Not sure why you want to keep D8 compatibility when it can't be tested, D8 is unsupported for 6+ months now and everyone is moving on, but that's your call.
Comment #8
neclimdulLGTM. Code looks correct, tests run without any deprecation, and upgrade_status reports no problems which is good enough to commit. Unblocks some test failures for other issues too so bonus.
Comment #9
mglaman+1 all deprecations are just in tests
Comment #10
japerryEnsure we're using the D10+ compatible version of the captcha module.
Since captcha is 8.9+ compatible, and unfortunately many people are still using Drupal 8, making it compatible (widening the supported versions) helps customers upgrade to drupal 9 or 10 without having another module getting in the way of the dependency tree.
That said, as soon as the Drupal 9 LTS (9.5?) comes out, I'd argue making all module minimums compatible with that version, regardless of it technically could work with D8.
Comment #11
jcnventuraI'd rather that no release ever comes out stating that it is compatible with ">= 8.9".. That means one day composer will install that release for Drupal 19. The constraint should really be ">=8.9 <11", if you don't want to write "^8.9 || ^9 || ^10"
Comment #12
kim.pepperAgree with #11 I prefer the more verbose version. We can drop
^8.9in a later release.Can we change it to:
^8.9 || ^9 || ^10Comment #13
berdirUpdated through the MR suggestion feature.
Comment #14
jcnventuraThanks Berdir! I agree with the RTBC status.
Comment #16
kim.pepperCommitted to 8.x-3.x. Thanks!