redux-firestore

Redux bindings for Firestore

MIT License

Downloads
13.6K
Stars
575
Committers
27

Bot releases are visible (Hide)

redux-firestore - v0.6.3

Published by prescottprue almost 6 years ago

  • fix(populates): getPopulateChild includes object Id - #169 - @nemo
  • fix(typings): add createFirestoreInstance to typings - #168
redux-firestore - v0.6.2

Published by prescottprue almost 6 years ago

  • fix(core): remove async/await in favor of promises to save on build size
redux-firestore - v0.6.1

Published by prescottprue almost 6 years ago

  • fix(reducers): non-debug mode for react-native on android - @compojoom
redux-firestore - v0.6.0

Published by prescottprue almost 6 years ago

  • feat(query): composite storeAs - @demoran23
  • feat(build): publishing to npm now happens using node 10
  • fix(reducers): correctly update state for docs with keys that contain a dot when using storeAs - @compojoom
  • feat(query): consolidate oneListenerPerPath and allowMultipleListeners logic - @alexmattson
  • feat(query): initial support for populate - #48, RRF 362
  • fix(deps): remove @types/lodash from dev dependencies
  • fix(deps): update to babel7
redux-firestore - v1.0.0-alpha.2

Published by prescottprue almost 6 years ago

  • fix(orderedReducer): fix issue where adding a document would break ordered structure - #151
  • fix(ci): add alpha to travis branches config so tests run for alpha version - #151
  • feat(query): support for populate using v1 state pattern (may have unexpected results, see note below) - #48
  • fix(examples): complete example updated with react-scripts and [email protected]

NOTE: The populate helper will need to work differently for v1.0.0 since things are stored differently in state. It will most likely not work when populating off of any root settings that are not at the base of the state tree.

redux-firestore - v0.6.0-alpha.3

Published by prescottprue almost 6 years ago

  • fix(reducers): correctly update state for docs with keys that contain a dot when using storeAs - @compojoom
  • feat(query): consolidate oneListenerPerPath and allowMultipleListeners logic - @alexmattson
  • feat(query): initial support for populate - #48, RRF 362
redux-firestore - v1.0.0-alpha

Published by prescottprue about 6 years ago

  • feat(reducers): ordered and data reducer using new v1 state pattern outlined in the v1.0.0 roadmap (full query path in ordered, sub-collections separate from doc in data)
  • feat(core): firestoreDataSelector andfirestoreOrderedSelector utilities for selecting values from state
  • fix(reducers): LISTENER_RESPONSE action not correctly updating state for sub-collections - #103
  • fix(reducers): ordered state not updated with added item in array - #116
  • fix(reducers): updates to arrays inside documents don't work as expected - #140
redux-firestore - v0.5.8

Published by prescottprue about 6 years ago

  • fix(orderedReducer): CLEAR_DATA action correctly clears ordered state for actions dispatched without meta - #114
  • fix(tests): update orderedReducer tests to include case of CLEAR_DATA action dispatched without meta - #114
  • fix(typings): make otherConfig optional for reduxFirestore (store enhancer) in typings - @am17torres
redux-firestore - v0.6.0-alpha.2

Published by prescottprue about 6 years ago

  • fix(compositeReducer): fix for disappearing composite slice - #128 - @demoran23
  • fix(deps): remove @types/lodash from dev dependencies
  • fix(deps): update babel-preset-env to ^1.7.0
redux-firestore - v0.6.0-alpha

Published by prescottprue about 6 years ago

  • feat(query): composite storeAs - @demoran23
  • feat(build): publishing to npm now happens using node 10
  • feat(build): publishing npm now happens on the next branch (published to @next tag)
redux-firestore - v0.5.7

Published by prescottprue over 6 years ago

  • 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
redux-firestore - v0.5.6

Published by prescottprue over 6 years ago

  • fix(orderedReducer): use direct payload instead of unionBy with existing state when storeAs is provided in LISTENER_RESPONSE dispatch
redux-firestore - v0.5.5

Published by prescottprue over 6 years ago

  • 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)
redux-firestore - v0.5.4

Published by prescottprue over 6 years ago

  • 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
redux-firestore - v0.5.3

Published by prescottprue over 6 years ago

  • 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)
redux-firestore - v0.5.2

Published by prescottprue over 6 years ago

  • 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)
redux-firestore - v0.5.1

Published by prescottprue over 6 years ago

  • 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
redux-firestore - v0.5.0

Published by prescottprue over 6 years ago

  • 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)
redux-firestore - v0.4.3

Published by prescottprue over 6 years ago

  • fix(orderedReducer): subcollection updates correctly update document - #86
  • feat(test): tests added to confirm changes fix sub collections updates - #86
redux-firestore - v0.4.2

Published by prescottprue over 6 years ago

  • 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)