Releases: prescottprue/redux-firestore
Releases · prescottprue/redux-firestore
v0.5.7
- fix(orderedReducer): fix issue which could cause updates of documents already within state to be duplicated (merge done through
map
instead ofunionBy
) - feat(build): travis deployment now happens with node 10
- feat(deps): mocha, sinon, and sinon-chai, webpack, and webpack-cli updated
v0.5.6
- fix(orderedReducer): use direct payload instead of
unionBy
with existing state whenstoreAs
is provided inLISTENER_RESPONSE
dispatch
v0.5.5
- fix(orderedReducer):
LISTENER_RESPONSE
andDOCUMENT_REMOVED
actions
correctly updating state for sub-collections - feat(tests): tests added for success callback and error callback arguments of
setListener
method - fix(core): only copy public methods from
firebase.firestore()
instance - #93, #108 - fix(actions):
runTransaction
no longer failing - #108 - fix(orderedReducer): empty listener response correctly updates state when using
storeAs
- fix(orderedReducer): fix merge setting (
merge.collection
tomerge.collections
) - @danleavitt0 - feat(actions): attempting to delete sub collection at any level throw (previously only top level)
- feat(tests): Add tests for success and error callbacks of setListener
- fix(orderedReducer): return state directly for non-matching action types
- fix(deps): lock prettier version to 1.10.0 (prevents build fail on Travis)
v0.5.4
v0.5.3
- feat(core): support for v5.0.0 of the Firebase SDK
- fix(query): fix issue preventing some queries when using v5.0.0 of the Firebase SDK (due to breaking change of
docChanges
(now a method instead of parameter) - #98, #99 - feat(tests): unit test added to verify
docChanges
also works as a method (existing tests coverdocChanges
as a parameter)
v0.5.2
- fix(orderedReducer): deleting an item from nested collection correctly removes the item when listener is not attached - #96
- feat(tests): tests added for
DELETE_SUCCESS
action type case oforderedReducer
- #96 - feat(deps): update
lodash
to^4.17.10
to fix insecure dependency warning - feat(examples): dependencies updated including
lodash
,redux
,react-redux
- feat(core): update to Webpack
^4.8.3
from^3.11.0
(shrinks UMD bundle size and fixes insecure dependency warnings)
v0.5.1
v0.5.0
- fix(query):
DOCUMENT_MODIFIED
action correctly updates data reducer when using nested collections in solution from @compojoom - #88 - fix(query): fixed issue where
limit
was not included in query name - #90 - feat(query):
storeAs
support for subcollections - feat(query): where now uses
=
in place of::
within query string name (matches other query params)
v0.4.3
v0.4.2
- fix(dataReducer):
DOCUMENT_ADDED
action type added to dataReducer - #84 - fix(query):
oneListenerPerPath
supports passing falsey values (before defining it at all would enable) - slight update to #77 - fix(query): prevent errors when combining string/object query config updated
- update(deps): sinon and sinon-chai dependencies updated (fixes child dep warning)