Version 4.0.2

March 5, 2024

Changed

  • A custom log target is now only registered if a dispatcher exists.

    Fixed

  • Fixed the table field formatting on the plugin settings page.

Version 4.0.1

August 26, 2022

Fixed

  • Fixed a bug in which an error could be thrown if craft.snaptcha.fieldValue() was used without passing iin a config array (#24).

Version 4.0.0

May 4, 2022

Added

  • Added compatibility with Craft 4.

Version 3.0.11

December 18, 2021

Changed

  • Excluded the ad-wizard/tracking/click controller action from being validated.

Version 3.0.10

November 23, 2021

Changed

  • Excluded the enupal-stripe/checkout/create-session controller action from being validated (#23).

Version 3.0.9

August 27, 2021

Changed

  • The controller action is now logged when a form submission is rejected for easier debugging (#21).

Version 3.0.8

August 25, 2021

Changed

  • Excluded the templates/render controller action from being validated (#20).

Version 3.0.7

June 28, 2021

Changed

  • Excluded GraphQL requests that do not use application/graphql as their MIME type from being validated (#17).

Version 3.0.6

June 3, 2021

Fixed

  • Fixed a bug in which a migration was not run when updating from v2 to v3 (#15).

Version 3.0.5

May 8, 2021

Fixed

  • Fixed a bug in which config changes could be made twice if the plugin was installed via project config (#15).

Version 3.0.4

May 6, 2021

Changed

  • Excluded requests to the GraphQL API from being validated (#17).

Version 3.0.3

April 27, 2021

Fixed

  • Fixed a bug in which the PHP script was allowed to continue even if a submission was flagged as spam (#16).

Version 3.0.2

April 16, 2021

Changed

  • The keys of posted arrays are now preserved when a submission is flagged as spam.

Version 3.0.1

April 14, 2021

Fixed

  • Fixed a bug in which an error could be thrown if values were passed in as an array and a submission was flagged as spam.

Version 3.0.0

April 13, 2021

The “Excluded URI Patterns” setting has been removed. Use the new “Exclude Controller Actions” setting instead. Read more

The error screen has been updated. If you previously set a custom error message then you should review the plugin settings.

Added

  • Added a customisable template that allows users to resubmit their data if a submission is flagged as spam.
  • Added a “Validate Users” setting that lets you disable validation for logged-in users.
  • Added an “Exclude Controller Actions” setting that lets you disable validation for specific controller actions.
  • Added an “Allow List” of IP addresses that will not be validated.
  • Added unit tests.

Changed

  • Changed the minimum requirement of Craft to version 3.2.1.
  • Renamed “Blacklist” to “Deny List”.
  • The hidden input field now has an autocomplete attribute set to off.
  • IP addresses are now stored as anonymous hashed values.

Removed

  • Removed the “Excluded URI Patterns” setting. Use the new “Exclude Controller Actions” setting instead.

Version 2.3.1

December 21, 2020

Changed

Version 2.3.0

November 9, 2020

Added

  • Added a beforeExcludeControllerActions event with the ability to modify controller actions to exclude from validation.

Changed

Version 2.2.5

March 10, 2020

Fixed

  • Fixed validation being applied to live preview using a token query string.

Version 2.2.4

March 5, 2020

Changed

  • Absolute URL is now added to rejected message in log file (#7).

Version 2.2.3

January 25, 2020

Fixed

  • Fixed validation being unnecessarily applied to the set password path.

Version 2.2.2

January 23, 2020

Changed

  • Changed actionGetField controller action to return a raw input field if the request does not accept JSON.

Version 2.2.1

December 19, 2019

Fixed

  • Fixed validate field value action to work with POSTed values.

Version 2.2.0

October 28, 2019

Added

  • Added field controller actions for better AJAX support.

Version 2.1.1

February 12, 2019

Changed

  • Changed script tag to avoid validation error.

Fixed

  • Fixed possible error when updating plugin.

Version 2.1.0

October 9, 2018

Added

  • Added excluded URI patterns to settings.
  • Added table field for blacklisted IP addresses in settings.
  • Added check for enableSnaptchaValidation parameter in action's controller class.

Version 2.0.3

October 8, 2018

Fixed

  • Fixed bug that was causing issues with live preview.

Version 2.0.2

October 7, 2018

Fixed

  • Fixed bug that was preventing the correct error message from being displayed.

Version 2.0.1

October 5, 2018

Fixed

  • Fixed bug with variable using incorrect StringHelper class.

Version 2.0.0

October 4, 2018
  • Initial release.