Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumps react-firebase-hooks from 5.0.3 to 5.1.1 #46

Open
SashenJayathilaka opened this issue Dec 22, 2022 · 0 comments
Open

Bumps react-firebase-hooks from 5.0.3 to 5.1.1 #46

SashenJayathilaka opened this issue Dec 22, 2022 · 0 comments
Labels
dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation

Comments

@SashenJayathilaka
Copy link
Owner

Bumps react-firebase-hooks from 5.0.3 to 5.1.1.

Release notes

Sourced from react-firebase-hooks's releases.

v5.1.1

Release Notes

Bug fixes

Full Changelog: CSFrequency/react-firebase-hooks@v5.1.0...v5.1.1

v5.1.0

Release Notes

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 useDeleteUser - thanks to @​RobertSasak
  • [auth] Add useSignOut - thanks to @​RobertSasak
  • [auth] Add useVerifyBeforeUpdateEmail - thanks to @​skratchdot
  • [auth] Add useIdToken #223
  • [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

Full Changelog: CSFrequency/react-firebase-hooks@v5.0.3...v5.1.0

Commits

@SashenJayathilaka SashenJayathilaka added documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file labels Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant