Skip to content

IconCaptcha 4.0.0

Compare
Choose a tag to compare
@fabianwennink fabianwennink released this 05 Nov 19:33
· 16 commits to master since this release
d12f6df

It's finally here, IconCaptcha 4! 🎉

This new major version of IconCaptcha introduces significant enhancements to the architecture and feature set, and offers greater flexibility and customization, alongside improved security. IconCaptcha can now also be installed via Composer, allowing for easier integration into your application.

For a full list of commits and changes, please refer to the full commit changelog.

Added

  • IconCaptcha is now available on Packagist, allowing installation via Composer.
  • Added database support for MySQL, PostgreSQL, SQL Server and SQLite to store challenge and timeout data.
  • Added support for ImageMagick to generate challenge images.
  • Added support for implementing custom drivers to handle storage, sessions, challenge generation and timeouts.
  • Added server-side hooks to execute custom code at specific points during challenge generation and validation steps.
  • Added support for Cross-Origin Resource Sharing (CORS).

Changed

  • Expanded and improved the server-side configuration file with numerous options and descriptions.
  • Code related to handling captcha requests has been moved to a dedicated class for easier implementation.
  • Changed the way IconCaptcha instances must be initialized while validating challenges, moving away from static function calls.
  • Validation of a captcha now returns error codes instead of error messages.
  • Challenge images are now returned as base64 strings instead of image links.
  • The default widget selector changed to .iconcaptcha-widget.
  • Widgets now use unique UUIDv4 widget and challenge identifiers instead of incremental integers.
  • Renamed several client-side widget configuration options.

Removed

  • Removed the legacy-light and legacy-dark themes.
  • Removed support for Internet Explorer now that it has been officially discontinued by Microsoft.