3.0.0-alpha.12 (2022-12-01)
Bug Fixes
- app-check: run only in client (384085e)
- firestore: pass snapshotOptions before extracting refs (a61ee09)
- firestore: pass the id as a value (d0afc0a)
- firestore: skip ref extraction in non pojo (cc01b84), closes #1257
- nested refs (c4ab275)
- options-api: cleanup variables (5d244b7)
- pass options when unbinding documents (6d4f151)
- resilient walkSet and walkGet (80879d1)
- ssr: fallback value in firestore (57cdd82)
- ssr: use ssrKey in firestore (25d86ca)
- types: add undefined for initial values (76e1527)
Code Refactoring
- firestore: rename
$bind
to $firestoreBind
(a636c21) - remove manual bind/unbind methods (7b8b037)
- rename
unbind()
to stop()
(37d3f67) - rename rtdbPlugin to databasePlugin (a7f500d)
Features
- wait on server for data (947a325)
- warn wrong usage useDocument(), ... (098c16c)
BREAKING CHANGES
- database: when binding to a primitive value in RTDB, VueFire used
to create an object with a property
.value
for the primitive vaule
itself. The .
in front forces to always use a bracket syntax
(obj['.value']
) while the $
doesn't, making its usage cleaner. The
$value
and id
property created in the case of primitives are also
enumerable properties. This should make things easier to debug.