Releases: samuelgozi/firebase-firestore-lite
Releases · samuelgozi/firebase-firestore-lite
Typescript
Finally migrated to typescript.
Although I'm a big fan of plain JS. I like the help type suggestion gives developers.
There should be no breaking changes.
However, if you are importing some of the "private" files directly, then your code will break.
There are no longer default exports for List
and Document
.
Transforms
Feature
This beta release adds a big new feature called Transforms.
You can read more about it here: #14
Breaking changes
- Calling
ref.update()
will now fail if the document does not exist. If you are sure you want to update a document even when it doesn't exist, then you can usereference.set()
or passtrue
as the second argument toreference.update({...}, true)
method. This will remove the requirement for the document to exist.
v0.5.0
Breaking changes:
When constructing a query and specifying an order, you should now use asc
/desc
instead of ascending
/descending
. When unspecified the order on each field will default to asc
.
v0.4.0
This release adds two atomic operations:
- Transactions
- Batch Writes