Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This release brings back D10 compatibility to Captcha 8.x-1.x, making it possible to use legacy versions of captcha with Drupal 10. It also brings the 8.x-1.x branch upto date with the 2.x branch. Going forward, the 2.x branch will also release 1.x versions for compatibility, until there is a breaking change in which development on 1.x will stop.
There is no difference between the 2.0.1 and 8.x-1.11 releases.
This release fixes an incompatibility issue caused with the 2.0.0 release, making 1.x and 2.x mutually incompatible with major versions of Drupal 10. No other changes were made between 2.0.0 and 2.0.1
With this release, 2.0.1 is compatible with Drupal 9.4+. There is no difference between the 2.0.1 and 8.x-1.11 releases.
Please help testing, and please note, that there may be breaking changes BC, if you've modified CAPTCHA output for example. For regular installations, 2.x should "just work" and provide many bugfixes and new features, like new .twig templates that can be overwritten.
This is an incremental bug and compatibility fix for the captcha module. The biggest change being better PHP 8.1 support, in preparation for Drupal 10 beta.
This is an incremental release for the Captcha module.
The biggest change is support for Drupal 10 and PHP 8.1. While the module still supports Drupal 8.9, testing is no longer done in Drupal 8, and features may break!.
This release fixes many bugs and introduces a few new features. The biggest being answer error messages are configurable, and you can now migrate from D7 to D8/9 captcha settings.
Issue #2486113 by keshav.k, m1r1k, naveenvalecha: Replace md5 with sha256 hashes
Issue #2798991 by naveenvalecha: Fix coding standards & replace the deprecated methods
Issue #2631636 by elachlan, Prashant.c, harsha012: Improve README.md file for CAPTCHA
Issue #2798991 by naveenvalecha: Fix coding standards & replace the deprecated methods
Issue #2668134 by TMontana93: Installation message unnecessary
Issue #2627904 by ddrozdik: Convert hook_help() from 7 to 8 version
Issue #2748859 by fornigam: Need to improve readme file
In case you already using CAPTCHA 7.x-1.0-alpha2: the upgrade should be seamless.
In case you already tried/worked with CAPTCHA 7.x-1.0-alpha1: there is no upgrade path from 7.x-1.0-alpha1 and 7.x-1.0-alpha3. If you try to upgrade, you will get database errors. Instead, you should first uninstall the CAPTCHA module and reinstall 7.x-1.0-alpha3 (like a fresh install).
When upgrading from CAPTCHA 6.x-2.x (for Drupal 6), it is required to first upgrade to CAPTCHA 6.x-2.4 (or higher within the 6.x-2.x branch) first, otherwise the upgrade will fail (issues #1021244: Prevent upgrading directly from 6.x-2.3 (or earlier) to 7.x-1.x).
Changes since 7.x-1.0-alpha2:
#976436 by matheusgorino, soxofaan: Adds an ob_end_clean to prevent the output image from being corrupted.
#1024370 by soxofaan, nineLemon, Pancho, slashrsm: Prevents CAPTCHA from failing in certain forms
fixing captcha.js identation
Removing translation directories
Stripping CVS keywords
#881156 by elachlan and soxofaan: disable autocomplete on CAPTCHA response field with javascript (instead of with non-standard markup)
Yet a step closer to getting this module properly ported to Drupal 7.
Note about upgrading
In case you already tried/worked with CAPTCHA 7.x-1.0-alpha1: there is no upgrade path from 7.x-1.0-alpha1 and 7.x-1.0-alpha2. If you try to upgrade, you will get database errors. Instead, you should first uninstall the CAPTCHA module and reinstall 7.x-1.0-alpha2 (like a fresh install).