You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's been a while since the last release, so this has been a bit of a housekeeping release focused on landing outstanding PRs and resolving a few of the simpler issues that have been reported.
I'm aware there are some outstanding issues with React 18 that require some deeper investigation and these will be tackled in a future release.
Special thanks to @levino for putting a test framework in place and adding our first test. We would welcome PRs with additional tests to improve the resilience of the library!
New Hooks
[auth] Add useSendPasswordResetEmail - thanks to @mparsakia
[auth] Add useSendSignInLinkToEmail and useSignInWithEmailLink#261
New Features
[auth] useCollection and useDocument now supports an optional initialValue option which sets the default value for hooks. This had been missed in the upgrade from v3 to v4 - thanks to @mauriceackel and @dylanwatsonsoftware
[auth] All methods returned by the createUser and signInWithXXX hooks will return the UserCredential when successful #251
[auth] All methods returned by updateXXX and sendXXX hooks will return a boolean to indicate success or failure
Bug fixes
Ensure that all internal functions are wrapped in useCallback to prevent unnecessary renders - thanks to @wong2 and @pzmudzinski
Bumps react-firebase-hooks from 5.0.3 to 5.1.1.
Release notes
Sourced from react-firebase-hooks's releases.
Commits
09bf06b
5.1.1faa98f7
Merge pull request #277 from vwxyutarooo/utilise-id-token17b2404
[auth] Fix import/export path on useIdToken593f479
5.1.08208eb9
[auth] Make all functions return a success indicatorac8bb13
[firestore] Improve isMounted check44b830d
5.1.0-alpha.0c35841b
[auth] Add support for sign in links. Fixes #261a119c2a
[auth] AddonIdToken
. Fixes #223b5b2955
[functions] PrettierThe text was updated successfully, but these errors were encountered: