Releases: Le0Developer/react-turnstile
Releases · Le0Developer/react-turnstile
v1.1.0
Added
refreshExpired
optionlanguage
optionappearance
optionexecution
option
Changed
- Temporary load callback function is now removed after load
Fixed
onTimeout
callback not properly registeringref
not passing properly - passuserRef
insteadglobalThis
errors on older browsers
Removed
autoResetOnExpire
- userefreshExpired
instead
Full Changelog: v1.0.6...v1.1.0
v1.0.6
Added
- Support for the new
onTimeout
callback autoResetOnExpire
for automatically resetting the Turnstile widget once the token expiresretry
&retryInterval
- custom
ref
argument for using your own ref (#7)
Full Changelog: v1.0.5...v1.0.6
v1.0.4
v1.0.3
v1.0.2
Added
- Experimental (undocumented) fields
responseField
andresponseFieldName
for controlling the<input />
element generated by Turnstile. style
prop which is directly passed to the internal<div />
Changes
- Using explicit rendering for Turnstile now which prevents implicit renders (also undocumented)
- Using
turnstile.remove()
to remove widgets after being unloaded
Fixed
- A race condition when loading Turnstile on page load in dev mode has been fixed
- Callback props will now update as expected
- Entrypoint pointing to the wrong file (#3)
New Contributors
Full Changelog: v1.0.1...v1.0.2
v1.0.1
What's Changed
- Fix tslib being required to run react-turnstile by @zImPatrick in #2
- FIx double render in vite dev mode (#1)
New Contributors
- @zImPatrick made their first contribution in #2
Full Changelog: v1.0.0...v1.0.1
v1.0.0
Initial release of react-turnstile.
Full Changelog: https://github.com/Le0Developer/react-turnstile/commits/v1.0.0