Releases: Le0Developer/react-turnstile
Releases · Le0Developer/react-turnstile
v1.1.0
Added
refreshExpiredoptionlanguageoptionappearanceoptionexecutionoption
Changed
- Temporary load callback function is now removed after load
Fixed
onTimeoutcallback not properly registeringrefnot passing properly - passuserRefinsteadglobalThiserrors on older browsers
Removed
autoResetOnExpire- userefreshExpiredinstead
Full Changelog: v1.0.6...v1.1.0
v1.0.6
Added
- Support for the new
onTimeoutcallback autoResetOnExpirefor automatically resetting the Turnstile widget once the token expiresretry&retryInterval- custom
refargument 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
responseFieldandresponseFieldNamefor controlling the<input />element generated by Turnstile. styleprop 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