Latest Releases
v1.4.2 - 2025-03-10
Fixed- Fixed
feedbackEnabledoption that could not be set tofalse(#120)
- Patched security vulnerabilities in dependencies:
minimatch: Fixed ReDoS vulnerabilityrollup: Fixed path traversal vulnerabilityajv: Fixed ReDoS vulnerability
- Total of 8 security vulnerabilities resolved (7 high, 1 moderate)
- Updated
minimatchto^9.0.7(via@typescript-eslint/typescript-estree) - Updated
minimatchto^3.1.4(viaeslint) - Updated
rollupto^4.59.0(viatsup) - Updated
ajvto^6.14.0(viaeslint)
v1.4.1 - 2025-02
Fixed- Prevented race condition when loading Turnstile script (#118, #116)
- Widget now polls for
window.turnstileto handle:- Script manually injected without
?onload=callback parameter - Script executes before onload callback is registered (race condition)
- Script manually injected without
- Widget now polls for
- Added support for Bun package manager in getting started guide (#117)
v1.4.0 - 2025-01
Maintenance- Updated dependencies to latest versions
- Updated CI configurations
- Updated ESLint config
- Updated Prettier config
- Updated
.gitignore
v1.3.1 - 2024
Fixed- Fixed
getResponsePromisereturn type to correctly excludeundefined(#111)
- Include README in npm package publication
v1.3.0 - 2024
Added- Added
rerenderOnCallbackChangeprop to fix stale callback closures (#108, #107)- When
false(default): Callbacks are stable and don’t cause re-renders - When
true: Widget re-renders when callback props change - Fixes issue where callbacks captured stale values from parent component closures
- When
v1.2.0 - 2024
Fixed- Added missing dependencies to
renderConfiguseMemo dependencies array (#105)- Widget now properly re-renders when options change
v1.1.0 - 2024
Added- Support for React 19 (#94)
- Updated peer dependencies to allow React 19:
v1.0.2 - 2024
Fixed- Added default exports for better compatibility (#89, #88)
- Fixes Jest test failures
- Both named and default imports now work correctly
v1.0.1 - 2024
Fixed- Fixed
'use client'directive that was not being output in the build (#86)- Ensures proper client-side rendering in Next.js App Router
v1.0.0 - 2024
Breaking Changes- ESM Only: Library now ships only ESM code, CommonJS removed
- Peer Dependencies: Updated minimum React version to 17.0.2
autoResetOnExpireRemoved: UserefreshExpiredoption instead
refreshExpiredoption with values:'auto'|'manual'|'never'- Better ESM compatibility with modern bundlers
Older Releases
For releases prior to v1.0.0, please refer to the GitHub Releases page.Release Notes Format
- Added: New features
- Changed: Changes in existing functionality
- Deprecated: Soon-to-be removed features
- Removed: Removed features
- Fixed: Bug fixes
- Security: Security vulnerability fixes
Stay Informed
GitHub Releases
Subscribe to get notified of new releases
npm Package
View package version history
Version Support
| Version | Status | Support |
|---|---|---|
| 1.4.x | ✅ Current | Full support |
| 1.3.x | ⚠️ Maintenance | Security fixes only |
| 1.2.x | ⚠️ Maintenance | Security fixes only |
| 1.1.x | ⚠️ Maintenance | Security fixes only |
| 1.0.x | ⚠️ Maintenance | Security fixes only |
| < 1.0.0 | ❌ Unsupported | Upgrade required |