Skip to content

Releases: prescottprue/redux-firestore

v0.5.7

13 Jun 09:10
a7c7caa
Compare
Choose a tag to compare
  • fix(orderedReducer): fix issue which could cause updates of documents already within state to be duplicated (merge done through map instead of unionBy)
  • feat(build): travis deployment now happens with node 10
  • feat(deps): mocha, sinon, and sinon-chai, webpack, and webpack-cli updated

v0.5.6

11 Jun 10:29
7ffc451
Compare
Choose a tag to compare
  • fix(orderedReducer): use direct payload instead of unionBy with existing state when storeAs is provided in LISTENER_RESPONSE dispatch

v0.5.5

11 Jun 07:49
c12daea
Compare
Choose a tag to compare
  • fix(orderedReducer): LISTENER_RESPONSE and DOCUMENT_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 to merge.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

20 May 21:02
4b8acba
Compare
Choose a tag to compare
  • fix(orderedReducer): DOCUMENT_ADDED and DOCUMENT_MODIFIED actions
    correctly update state with subcollections - #101
  • feat(tests): unit test added for DOCUMENT_ADDED with subcollection - #101
  • feat(core): ADD_SUCCESS action payload now contains id

v0.5.3

18 May 18:58
a4ff1fc
Compare
Choose a tag to compare
  • 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 cover docChanges as a parameter)

v0.5.2

15 May 07:40
356d114
Compare
Choose a tag to compare
  • 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 of orderedReducer - #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

06 May 11:19
b7d4a4b
Compare
Choose a tag to compare
  • fix(orderedReducer): remove storeAs from updateItemInArray - #91
  • feat(actions): runTransaction action added - #76
  • feat(core): Firebase's Firestore internals (from firebase.firestore()) exposed for use of methods such as batch - #76
  • feat(tests): unit tests added for oneListenerPerPath option - #77

v0.5.0

04 May 09:04
a2764a7
Compare
Choose a tag to compare
  • 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

23 Apr 07:56
e1051d4
Compare
Choose a tag to compare
  • fix(orderedReducer): subcollection updates correctly update document - #86
  • feat(test): tests added to confirm changes fix sub collections updates - #86

v0.4.2

19 Apr 07:16
b394053
Compare
Choose a tag to compare
  • 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)