Changelog
- Added
[flexible]
width widget size. - Added new dimensions for Turnstile's compact size.
- Added a Feedback Report toggle on the widget's configuration.
- Added
[refresh-timeout]
and document new automatic interactive timeout-refresh.
- Added more supported languages.
- Added Pre-Clearance mode.
- Added Client-side errors.
- Added
[turnstile.isExpired]
. - Added
uk
language.
- Added idempotency support for
POST /siteverify
requests via theidempotency_key
parameter.
- Added references to Turnstile Public API.
- Added references for
[after-interactive-callback]
,[before-interactive-callback]
, and[unsupported-callback]
.
- Added
[execution]
and[appearance]
.
- Added the
[turnstile.ready]
callback.
- Added the
[data-]language
parameter.
POST /siteverify
supports JSON requests now.
- Added
retry
andretry-interval
for controlling retry behavior.
- Renamed the
[data-]expired-callback
callback to[data-]timeout-callback
(called when the challenge times out). - Added the
[data-]expired-callback
callback (called when the token expires).
- Added
response-field
andresponse-field-name
for controlling the input element created by Turnstile. - Added option for changing the size of the Turnstile widget.
- Added validation for action:
/^[a-z0-9_-]{0,32}$/i
- Added validation for cData:
/^[a-z0-9_-]{0,255}$/i
- Added
turnstile.remove