Releases: FirebaseExtended/reactfire
Release list
v4.2.5
What's Changed
- fix: revert ObservableStatus to a strict (non-union) type by @tyler-reitz in #750
- Bump fast-uri from 3.1.2 to 3.1.4 by @dependabot[bot] in #753
- Bump linkify-it from 5.0.1 to 5.0.2 by @dependabot[bot] in #751
- Bump fast-xml-parser from 5.9.3 to 5.10.1 in /functions by @dependabot[bot] in #752
- fix: remove NO_ID_FIELD sentinel from data hooks when idField is not provided by @tyler-reitz in #738
Full Changelog: v4.2.4...v4.2.5
v4.2.4 - DEPRECATED
Update: This release contained an unintended breaking type change, and is now deprecated in favor of 4.2.5+. See #750 for details.
What's Changed
- Update peerDeps to support prerelease versions by @TheIronDev in #556
- fix
suscribetypo by @leoortizz in #555 - pass options from useSigninCheck to useObservable by @CapsAdmin in #527
- useInitAuth Example by @codercatdev in #522
- Disable observable timeouts for suspense by @Mythie in #525
- Update dependencies by @jhuleatt in #580
- Bump json5 from 2.2.1 to 2.2.3 in /example by @dependabot[bot] in #576
- Bump express from 4.17.1 to 4.18.2 in /functions by @dependabot[bot] in #566
- Bump vite from 3.0.4 to 3.2.7 in /example by @dependabot[bot] in #581
- Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot[bot] in #585
- Bump word-wrap from 1.2.3 to 1.2.4 in /functions by @dependabot[bot] in #586
- Bump @grpc/grpc-js from 1.6.8 to 1.8.17 in /example by @dependabot[bot] in #584
- Bump protobufjs and google-gax in /functions by @dependabot[bot] in #587
- use
useSyncExternalStoreto sync data inuseObservableby @jhuleatt in #583 - JS v9.23 by @christhompsongoogle in #589
- chore: bump dev tooling to modern versions by @tyler-reitz in #713
- Bump braces from 3.0.2 to 3.0.3 by @dependabot[bot] in #617
- Bump @adobe/css-tools from 4.2.0 to 4.5.0 by @dependabot[bot] in #602
- Bump express from 4.18.2 to 4.22.2 by @dependabot[bot] in #724
- fix: use globalThis.performance in SuspenseWithPerf to avoid SSR crash by @tyler-reitz in #729
- docs: clarify reactfire is web-only, not compatible with React Native or Expo by @tyler-reitz in #727
- chore: migrate moduleResolution from node to bundler by @tyler-reitz in #728
- fix: update useFirestoreDocData return type to include undefined by @tyler-reitz in #733
- fix: replace JSX.Element with React types for React 19 compatibility by @tyler-reitz in #732
- Bump postcss from 8.4.24 to 8.5.16 in /example by @dependabot[bot] in #726
- Bump vite and @vitejs/plugin-react in /example by @dependabot[bot] in #725
- fix: seed useUser with auth.currentUser to prevent undefined on initial render by @tyler-reitz in #731
- docs: fix emulator setup example to prevent double-initialization by @tyler-reitz in #734
- Bump websocket-driver from 0.7.4 to 0.7.5 in /example by @dependabot[bot] in #737
- Bump brace-expansion and tmp in /example by @dependabot[bot] in #745
- Bump tar from 7.5.17 to 7.5.20 by @dependabot[bot] in #747
- Bump body-parser from 1.20.5 to 1.20.6 in /functions by @dependabot[bot] in #746
New Contributors
- @TheIronDev made their first contribution in #556
- @leoortizz made their first contribution in #555
- @CapsAdmin made their first contribution in #527
- @Mythie made their first contribution in #525
- @christhompsongoogle made their first contribution in #589
- @tyler-reitz made their first contribution in #713
Full Changelog: v4.2.3...v4.2.4
v4.2.3
v4.2.2
What's Changed
New Contributors
- @mikkimichaelis made their first contribution in #494
- @rwhogg made their first contribution in #532
Full Changelog: v4.2.1...v4.2.2
v4.2.1
What's Changed
Fixes
- Fix reconciler : Export SDK contexts for react-reconciler use case by @RenaudRohlinger in #486
Note: this is a very niche use case for those using ReactFire with a custom reconciler. Most ReactFire devs shouldn't import the
*SdkContexts directly.
Dependency updates
- Bump semver-regex from 3.1.2 to 3.1.3 by @dependabot in #454
- Bump tmpl from 1.0.4 to 1.0.5 by @dependabot in #456
- Bump nth-check from 2.0.0 to 2.0.1 by @dependabot in #458
Docs improvements
- Clarify need for providers in docs by @jhuleatt in #460
- update link for useObservable by @Ajonp in #475
- Update use.md by @Apfii in #481
✨ New Contributors
- @Ajonp made their first contribution in #475
- @RenaudRohlinger made their first contribution in #486
- @Apfii made their first contribution in #481
Full Changelog: v4.2.0...v4.2.1
v4.2.0
New Features
- add
useCallableFunctionResponsehook to make it easier to call a function on render (#449)
Fixes
- Add missing Cloud Functions hooks and provider (#444)
- Update RxFire dependency to
^6.0.2to get new types for Cloud Functions helper (FirebaseExtended/rxfire#34) - Internal cleanup: use RxFire's
fromTask(#448)
v4.1.1
v4.1.0
v4.0.1
- Update lockfile (fixes #433)
- Add missing Analytics exports (
useAnalytics,AnalyticsProvider,useInitAnalytics) (PR #431)Thank you @shiiinji!
- [internal cleanup] Use RxFire's remote config implementation instead of a custom ReactFire implementation (PR #434)
Thank you @sujishpatel!
- [internal cleanup] Use
@ts-expect-errorinstead of@ts-ignorefor safer typings (PR #435)Thank you @sujishpatel!
v4.0.0
ReactFire version 4 supports Firebase version 9. Firebase v9 introduces a new API that is more tree-shakeable, which should result in reduced bundle size and therefore faster page loads for your users!
ReactFire v3 -> v4 upgrade guide
Check out discussion #402 for more context.
ReactFire v3 source is available in the v3 branch.