- Updated to use DOM element instead of element id on render (#27)
- Fixed migrations to better support allowAdminChanges (#46)
- Added support for dynamically setting reCAPTCHA language based on current locale (#19)
- Updated reCAPTCHA 'Language' setting to 'Fallback Language'
- Updated polyfill rules when generating front-end resources
- Updated javascript resource loading order (#21)
- Updated Checkbox reCAPTCHA javascript and removed
beforeSproutFormsSubmit
logic
- Fixed Checkbox reCAPTCHA throws an "Uncaught in Promise" error after checked (#22)
- Fixed HTML5 invalid message when two forms exist on the same page
{note} If you are using config overrides in
config/sprout-forms-google-recpatcha.php
will need to migrate those settings to Sprout Formsconfig/sprout-forms.php
. See thecaptchaSettings
setting in the docs and an example config (src/config.php
) in the plugins vendor folder.
- Updated captcha settings to use class name
- Updated
barrelstrength/sprout-base-forms
requirement to v3.10.0
- Fixed error where settings assumed a file-based config existed (#16, #17, #18-PR)
- Fixed error message syntax
- Removed support for
sprout-forms-google-recpatcha.php
config in favor of the Captcha settings array insprout-forms.php
config
- Added support for config overrides via
config/sprout-forms-google-recaptcha.php
. Seesrc/config.php
for examples.
- Added polyfill for front-end javascript resources to support additional browsers
- Updated Invisible reCAPTCHA to use
onSproutFormsSubmit
Event - Updated Checkbox reCAPTCHA to use
beforeSproutFormsSubmit
Event - Updated javascript to target submit button element directly, instead of wrapper element (#12)
- Updated
barrelstrength/sprout-base-forms
requirement to v3.9.0 (#15)
- Fixed issue where
onloadCallback
inline script could load after the script it depends on (#14) - Fixed bug parsing
.env
variables (#11)
- Removed
data-google-recaptcha-form-id
in favor of finding form element directly (#13)
- Added support for Invisible reCAPTCHA v2
- Added Invisible reCAPTCHA settings for Language, Theme, and Badge Type including a 'Inline Text' option to display a line of text terms instead of a badge
- Added Checkbox reCAPTCHA settings for Language, Theme, and Size (#1, #3, #332)
- Added support for using reCAPTCHA when displaying multiple forms on a page
- Updated setting 'Display default required CSS' to 'Disable CSS'
- Added setting to resources for HTML Required behavior
- Added support for environment variables in settings (#9)
- Updated
barrelstrength/sprout-base-forms
requirement to v3.6.1
- Fixed bug where CP settings were enabled but didn't exist (#6)
- Updated icon
- Removed unnecessary CSS (#272)
- Updated
EVENT_REGISTER_CAPTCHAS
Event toRegisterComponentTypesEvent
- Added support for Return Types on Captcha class (#5)
- Added async and defer to the Google Recaptcha api.js
- Updated JS to be rendered at the end of the document
- Added new packagist hook
- Initial release