This release is marked as a minor because of improvements to listener cleanup (#839, #852). Previously, there was a bug where subscriptions were never cleaned up despite a default 30-second timeout window. Now listeners are cleaned up 1 second after their last subscriber unmounts instead of staying attached indefinitely (#790).
What's Changed
- fix(core): release subscriptions on unmount and evict errored cache entries by @jhuleatt in #839
- fix: complete direct subscribers of preloaded observables on error by @tyler-reitz in #852
- fix(build): preserve ESM modules so bundlers can tree-shake unused Firebase SDKs by @jhuleatt in #838
- fix(firestore): key document cache by Firestore instance, converter presence, and path by @jhuleatt in #840
- fix(types): emit CommonJS declarations for every module by @tyler-reitz in #853
- docs: add a release guide with a browser smoke test of the published build by @tyler-reitz in #849
Full Changelog: v4.3.0...v4.4.0