Bot releases are visible (Hide)
Published by prescottprue over 6 years ago
null
react
^16.3.0
by making a simple withFirestore
utilPublished by prescottprue over 6 years ago
docChanges
(changes reference of document instead of collection)state.data
- #45oneListenerPerPath
config option to only attach one callback per listener path - @compojoomPublished by prescottprue over 6 years ago
Published by prescottprue over 6 years ago
where
or orderBy
parameters - compojoomstate.ordered
- #46mergeOrdered
, mergeOrderedDocUpdates
, and mergeOrderedCollectionUpdates
config options added to allow for enabling/disabling merging of ordered data within orderedReducer
Published by prescottprue over 6 years ago
startAt
, startAfter
, endAt
, and endBefore
) - #45, #46 - @franveraLISTENER_ERROR
case (set path to null if it doesn't exist)DELETE_SUCCESS
case added which sets item at path to null
(i.e. loaded and empty) - #45, RRF 410
preserveOnDelete
config option added to preserve data when DELETE_SUCCESS
action is dispatched (NOTE: Will not preserve data removed from state.ordered by LISTENER_RESPONSE
action, which is common when having a listener on a list of items)requested
, requesting
and timestamps
states now update - @compojoomallowMultipleListeners
config option for enabling/disabling whether multiple listeners are attached for the same queryaddWhereToRef
and addOrderByToRef
utils simplified to be recursiveCLEAR_DATA
action case now accepts boolean and function types for the preserve
parameterpreserve
parameterreduxFirestore
store enhancer is spread onto internal config (allowing config options passed in either reactReduxFirebase
or reduxFirestore
)onAttemptCollectionDelete
config option added to allow for running a promise when attempting to run delete
on a collectionPublished by prescottprue over 6 years ago
LISTENER_ERROR
dispatch - RRF #386
orderedReducer
(including one covering update of existing document within subcollection)Published by prescottprue over 6 years ago
subcollections
of any depth - @lopesmccsubcollections
of any depth (including interactions with both setListener
and dataReducer
)prettier
and eslint-plugin-prettier
added for improved code stylingPublished by prescottprue over 6 years ago
tests
folder (which was previously renamed to test
)Published by prescottprue almost 7 years ago
tests
folder renamed to test
(with associated updates to npm scripts).github/CONTRIBUTING.md
, .github/ISSUE_TEMPLATE.md
, .github/PULL_REQUEST_TEMPLATE.md
)README.md
Published by prescottprue almost 7 years ago
setListeners
(not including meta
or firebase._
)Published by prescottprue almost 7 years ago
addOrderBy
& addWhere
now use reduce - #39 - @danleavitt0preserve
with CLEAR_DATA
actionversion
is now exported in all build types (current version of redux-firestore
as a string)pathFromMeta
util (used in multiple reducers) throws error if collection
is not passed to action.meta
(prevents data being written to "undefined"
key in redux)dataReducer
, getFirestore
, and multiple utils such as pathFromMeta
Published by prescottprue almost 7 years ago
Published by prescottprue almost 7 years ago
Published by prescottprue almost 7 years ago
orderBy
and limit
support for queries - #30window.ReduxFirestore
(was window.redux-firestore
)errorsReducer
now handles listener errorssetListener
errors are logged to the console (helpful for access to the links that Firebase provides to create indexes)Published by prescottprue almost 7 years ago
storeAs
support (both data
and ordered
reducers) - #16Published by prescottprue almost 7 years ago
set
, add
, and remove
are correctly using subcollectionsPublished by prescottprue almost 7 years ago
unsetListener
works all the time (instead of just when array config is passed)dataReducer
now supports merging data (useful if another query has written data to that same redux path)orderedReducer
includes logic to work with subcollections - #7Published by prescottprue almost 7 years ago
react-redux-firebase
could be overwritten depending on order of enhancersnull
when loaded and emptyhusky
added to enable prepush
hook (runs npm run lint
)Published by prescottprue almost 7 years ago
store.firestore
to firestoreInstance
- #19Published by prescottprue almost 7 years ago
firestoreInstance
available through getFirestore (for use in react-redux-firebase
)