All notable changes to this project will be documented in this file. This change log follows the conventions of keepachangelog.com.
- Support for emulator.
snap
, which gets a snapshot given a document reference or query. useful for compositions.
- Some renaming for consistency and intentfulness:
| old name | new name |
| doc-snaps
| query-snap->doc-snaps
|
| snapshot->data
| snap->plain
|
exists?
, signatures for using set options withset
andset!
.
batch-delete!
,purge!
ref
,doc-snaps
,delete-all!
,delete-all!*
,offset
,range
,colls
,firestore
,select
,start-at
,start-after
,end-at
,end-before
,geo-point
,lat-lon
,coll-group
- support for subcollections
- support for collection groups
- renamed
take
tolimit
for semantic reasons.
list-colls
update!
,update-field!
andmap!
do not need take adb
parameter anymore, since it can be inferred.
- print methods for
DocumentReference
,DocumentSnapshot
,CollectionReference
andQuerySnapshot
. ->stream
for pushing snapshot updates to a manifold stream.
- internals: consistent naming, renamed snapshot representation fns.
list-colls
,changes
doc
anddocs
now accept aFirestore
parameter (provided full paths to docs)id
now accepts DocumentSnapshot and CollectionReference parameters.detach
now accepts ListenerRegistration too.
- Fixed unresolved
assoc
- refer-clojure excluded conflicting names on clojure.core to avoid warning messages.
pullv
pullv-with-ids
and a few query->something fns allowing more control on representation of objs as data.## 0.3.0 - 2020-01-31
- Lots of changes on internals, finer control of results' representation as data.
->atom
has a new paramplain-fn
that receives a query->something fn.
- Rewrited lots of internals, allowing more flexibility on representation of objs as data.
->atom
now takes a dict as second parameter
- Moved
org.clojure/clojure
to dev dependencies.
- Support for transactions and batched writes
doc
with 1-arity
set!
now takes a DocumentReference- Renamed
collection
->coll
,document
->doc
,field-delete
->mark-for-deletion
.
- All functions now have proper type hints to avoid reflection.
- Renamed
in
,contains
,contains
any, adding afilter-
prefix.
- Converts
com.google.cloud.Timestamp
tojava.util.Date
when receiving data.
- Renamed
field-delete
->delete
.
merge!
,assoc!
,dissoc!
,field-delete
,inc
,server-timestamp
,array-union
,array-remove
,id
->atom
now returns an atom instead of a promise.- Renamed
add
->add!
,set
->set!
,delete
->delete!
- First release.