Now we ship ESM-only code, this will decrease the bundle size significantly.
If you are a CommonJS user, I suggest you to keep using the version 0.7.2 or upgrade your project to ESM.
Removed "auto" widget size due to is not even a valid size for Cloudflare Turnstile.
We have been sending undefined when the size was "auto", so if you were using this size, then you can simply remove it.
Peer dependencies for react and react-dom have been updated to 17.x and above.
🚀 Features
Added callback onTimeout
Added render options refreshTimeout and feedbackEnabled (Closes #82)
The generated build is now minified, this will decrease the bundle size significantly.
TypeScript
Improved type definitions. Now we expose these types: AppearanceMode, ExecutionMode, FailureRetryMode, RefreshExpiredMode, RefreshTimeoutMode, WidgetSize. Inspired by @types/cloudflare-turnstile
The component prop has been removed from the BoxOwnProps as it is already included in the Box type.
This might affect your code if you are using the styled function with the Box component.
Detects conflicts between optimised animations and rendered style.
Resumes optimised animations where possible once layout measurements are complete.
[11.3.30] 2024-08-23
Fixed
Removed double "change" handler on externally-provided MotionValues.
[11.3.29] 2024-08-21
Fixed
Selective cancellation of optimised appear animations.
[11.3.28] 2024-08-15
Fixed
Use startTime instead of elapsed to sync optimised animations.
[11.3.27] 2024-08-14
Changed
Allow manual setting of startTime via animation options (currently for internal use only).
[11.3.26] 2024-08-14
Fixed
Improving synchronisation between DOM animations on externally-provided MotionValues and internal MotionValues.
Fixing unit conversion on DOM animations with externally-provided MotionValues.
[11.3.25] 2024-08-14
Changed
Improve calculation of startTime to prefer the immediacy of animation creation over keyframe resolution, but fall back to the latter if the former would lead to a perceptual jump.
If you are new, please check out the trimmed down summary of our deployment process below:
👀 Observe the CI jobs and tests to ensure they are passing
✔️ Obtain an approval/review on this pull request
🚀 Deploy your pull request to the development environment with .deploy to development
🚀 Deploy your pull request to the production environment with .deploy
If anything goes wrong, rollback with .deploy main
🎉 Merge!
Note: If you have a larger change and want to block deployments, you can run .lock --reason <reason> to lock all other deployments (remove with .unlock)
You can view the branch deploy usage guide for additional information
Bumps the npm-dependencies group with 15 updates:
0.7.2
1.0.1
5.0.0-alpha.173
6.0.0-beta.8
5.16.6
6.0.1
7.11.1
7.15.0
6.4.8
6.5.0
16.0.0
16.0.1
1.11.12
1.11.13
11.3.19
11.3.31
23.12.2
23.14.0
2.5.2
2.6.1
2.3.5
2.3.6
15.0.0
15.0.1
6.25.1
6.26.1
0.33.4
0.33.5
37.0.2
37.1.0
Updates
@marsidev/react-turnstile
from 0.7.2 to 1.0.1Release notes
Sourced from
@marsidev/react-turnstile
's releases.Commits
c82fdf4
chore: release v1.0.141306bb
Merge pull request #86 from faiare/fix-use-client-banner54f908a
fix: 'use client'; banner that was no longer being outpute47ee9b
chore: release v1.0.0e03daf7
chore: update issue templatesce2bbf0
chore: update issue templatesfddb625
Merge pull request #84 from marsidev/feature/release-2024-08a2763aa
chore: add issue forms and policiesac0bc1d
feat: ship esm only code and update peer dependencies!8a8638d
refactor: run prettierUpdates
@mui/lab
from 5.0.0-alpha.173 to 6.0.0-beta.8Release notes
Sourced from
@mui/lab
's releases.... (truncated)
Changelog
Sourced from
@mui/lab
's changelog.... (truncated)
Commits
Updates
@mui/material
from 5.16.6 to 6.0.1Release notes
Sourced from
@mui/material
's releases.... (truncated)
Changelog
Sourced from
@mui/material
's changelog.... (truncated)
Commits
71dbef6
[release] v6.0.1 (#43515)975ecbb
[material-ui] Attach default light color scheme when enabling CSS theme varia...f71b23a
[core] Remove'use client'
from index files and useAutocomplete reexport (#...a879a93
[core] Replace relative links to absolute ones in JSDocs (#43472)d2e0762
[Skeleton] Apply the wave animation to the correct element (#43474)c9a9adf
v6.0.0 (#43463)46bac33
Prepare for v6 stable release (#43454)08ea93e
Bump@types/react
to v18.3.4 (#43424)129a3ef
[material-ui] Change React.ReactElement<any,any> type from any to unknown (#4...4a85313
[button] Add missing customize points for span (#43436)Updates
@mui/x-tree-view
from 7.11.1 to 7.15.0Release notes
Sourced from
@mui/x-tree-view
's releases.... (truncated)
Changelog
Sourced from
@mui/x-tree-view
's changelog.... (truncated)
Commits
cf441ec
v7.15.0 (#14384)70b6cb7
[core] Support@mui/material@6
peer dependency (#14142)2c8d5fc
Bump MUI Internal (#14321)1080a76
Bump babel to ^7.25.4 (#14345)b321b40
v7.14.0 (#14294)3fb2093
Bump MUI Core (#14095)e570b4b
[core] Prepare for material v6 (#14143)eb5644b
Bump MUI Internal (#14266)a943aef
[code-infra] Set upeslint-plugin-testing-library
(#14232)71b18d6
Bump@types/react-transition-group
to ^4.4.11 (#14159)Updates
@testing-library/jest-dom
from 6.4.8 to 6.5.0Release notes
Sourced from
@testing-library/jest-dom
's releases.Commits
62f0e3a
docs: add waynevanson as a contributor for code, and test (#626)acbf416
feat(toHaveValue): Asserting aria-valuenow (#479)47a667c
docs: add vorant94 as a contributor for code (#619)06d19ba
adjust vitest ambient declaration file according to vitest docs (#612)a073b08
docs: add aleks-elkin as a contributor for maintenance (#618)aa094a5
chore: remove unused@babel/runtime
dependency (#617)Updates
@testing-library/react
from 16.0.0 to 16.0.1Release notes
Sourced from
@testing-library/react
's releases.Commits
3dcd8a9
fix: Add support for exactOptionalPropertyTypes in TypeScript (#1351)7a28fa9
Fix React Canary and Experimental tests (#1353)Updates
dayjs
from 1.11.12 to 1.11.13Release notes
Sourced from dayjs's releases.
Changelog
Sourced from dayjs's changelog.
Commits
93c8fd0
chore(release): 1.11.13 [skip ci]3f33397
Merge pull request #2713 from iamkun/dev365f81d
chore: update doc11e5744
chore: Update README.md8ca74f1
fix: customParseFormat supports Q quter / w ww weekOfYear (#2705)0898d9f
chore: update readme11fcf22
chore: uodate docUpdates
framer-motion
from 11.3.19 to 11.3.31Changelog
Sourced from framer-motion's changelog.
... (truncated)
Commits
2947065
v11.3.31aee687f
Updating changelog45a1d06
Resume optimised animations where possible (#2774)689b247
Bump webpack from 5.76.1 to 5.94.0 (#2776)d2484a8
Ensure optimised appear animations are cancelled when styles differ (#2772)4c92d2f
Increasing bundlesizes9436cce
updating version7f7e430
v11.3.30a0f0573
Updating changelog828b8d9
Removing double update listenrs on externall provided motion values (#2773)Updates
i18next
from 23.12.2 to 23.14.0Release notes
Sourced from i18next's releases.
Changelog
Sourced from i18next's changelog.
Commits
0083b3a
23.14.004e2fc9
If backend errors with retry flag, set internal state to 0, so reloadingResou...d7fcec6
23.13.0ffc0a52
build3756cf6
Cache output of getRule to optimize performance (#2226)202465a
23.12.766fad4c
revert last optimization to address #222735d9757
23.12.6eb04454
remove console.log statement #222721fdd90
23.12.5Updates
i18next-http-backend
from 2.5.2 to 2.6.1Changelog
Sourced from i18next-http-backend's changelog.
Commits
7c20297
2.6.1f735b91
optimize "Network request failed" retry case #147541b257
2.6.0👋 Thanks for opening a pull request!
If you are new, please check out the trimmed down summary of our deployment process below:
👀 Observe the CI jobs and tests to ensure they are passing
✔️ Obtain an approval/review on this pull request
🚀 Deploy your pull request to the development environment with
.deploy to development
🚀 Deploy your pull request to the production environment with
.deploy
🎉 Merge!
You can view the branch deploy usage guide for additional information