redux-firestore

Redux bindings for Firestore

MIT License

Downloads
13.6K
Stars
575
Committers
27

Bot releases are hidden (Show)

redux-firestore - v0.2.8

Published by prescottprue over 6 years ago

  • fix(errorsReducer): correctly update on LISTENER_ERROR dispatch - RRF #386
  • feat(tests): more unit tests added for orderedReducer (including one covering update of existing document within subcollection)
  • fix(types): typescript typings updated (non existent constants removed)
redux-firestore - v0.2.7

Published by prescottprue over 6 years ago

  • feat(query): support subcollections of any depth - @lopesmcc
  • feat(tests): unit tests subcollections of any depth (including interactions with both setListener and dataReducer)
  • feat(build): prettier and eslint-plugin-prettier added for improved code styling
redux-firestore - v0.2.6

Published by prescottprue over 6 years ago

  • fix(query): providing orderBy parameters correctly updates state - #50 - @danleavitt0
  • fix(tests): remove leftovers in tests folder (which was previously renamed to test)
  • fix(query): removed no longer necessary console.warn called when unsetting listeners - #51
redux-firestore - v0.2.5

Published by prescottprue almost 7 years ago

  • feat(core): tests folder renamed to test (with associated updates to npm scripts)
  • feat(test): test/mocha.opts file created to contain mocha options (makes npm scripts more readable)
  • feat(docs): github contributing files added (.github/CONTRIBUTING.md, .github/ISSUE_TEMPLATE.md, .github/PULL_REQUEST_TEMPLATE.md)
  • fix(docs): fix typos within getting started section of README.md
redux-firestore - v0.2.4

Published by prescottprue almost 7 years ago

  • fix(query): issue with query path when using subcollections - #41 - @diagramatics
  • feat(query): tests added to prevent issues with query paths - #41
  • feat(query): Errors thrown for invalid parameters passed to setListeners (not including meta or firebase._)
  • feat(core): tons of tests added for things such as query and utils
redux-firestore - v0.2.3

Published by prescottprue almost 7 years ago

  • fix(query): addOrderBy & addWhere now use reduce - #39 - @danleavitt0
  • fix(reducer): typo was prevent correct usage of preserve with CLEAR_DATA action
  • feat(core): version is now exported in all build types (current version of redux-firestore as a string)
  • feat(utils): 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)
  • feat(tests): tons of tests added including those for dataReducer, getFirestore, and multiple utils such as pathFromMeta
redux-firestore - v0.2.2

Published by prescottprue almost 7 years ago

  • Fix issue with basePath.concat usage in reducer -#37 - @diagramatics
redux-firestore - v0.2.1

Published by prescottprue almost 7 years ago

  • fix(dataReducer): add exception for subcollections in already existing path (relating to code added by #31)
  • fix(dataReducer): data written to correct path through improved support for data unwrapping - #27 -@Venryx
redux-firestore - v0.2.0

Published by prescottprue almost 7 years ago

  • fix(reducer): flatten response when doc meta is present - #27, #31 - @danleavitt0
  • feat(query): orderBy and limit support for queries - #30
  • feat(core): UMD version now exports window.ReduxFirestore (was window.redux-firestore)
  • feat(reducer): errorsReducer now handles listener errors
  • feat(query): setListener errors are logged to the console (helpful for access to the links that Firebase provides to create indexes)
redux-firestore - v0.1.0

Published by prescottprue almost 7 years ago

  • feat(query): storeAs support (both data and ordered reducers) - #16
  • feat(core): Firestore statics are now exported at top level of instance (including FieldValue) - #28
  • feat(docs): README updated with new features
redux-firestore - v0.1.0-beta.6

Published by prescottprue almost 7 years ago

  • fix(core): set, add, and remove are correctly using subcollections
  • fix(reducer): fix issue where data was not updated if query exists for doc and one of it's subcollections at the same time
redux-firestore - v0.1.0-beta.5

Published by prescottprue almost 7 years ago

  • fix(listeners): unsetListener works all the time (instead of just when array config is passed)
  • feat(reducers): dataReducer now supports merging data (useful if another query has written data to that same redux path)
  • feat(reducer): orderedReducer includes logic to work with subcollections - #7
redux-firestore - v0.1.0-beta.4

Published by prescottprue almost 7 years ago

  • fix(core): config from react-redux-firebase could be overwritten depending on order of enhancers
  • fix(reducer): docs are marked null when loaded and empty
  • feat(core): start support for sub collections (reducer, meta)
  • feat(build): husky added to enable prepush hook (runs npm run lint)
redux-firestore - v0.1.0-beta.3

Published by prescottprue almost 7 years ago

  • fix(enhancer): set store.firestore to firestoreInstance - #19
redux-firestore - v0.1.0-beta.2

Published by prescottprue almost 7 years ago

  • fix(query/reducer): attaching/detaching listeners correctly using name - #17
  • fix(enhancer): make firestoreInstance available through getFirestore (for use in react-redux-firebase)
redux-firestore - v0.1.0-beta

Published by prescottprue almost 7 years ago

  • feat(query): where support in queries (single Array or Array of Arrays)
  • feat(query): onSnapshot is now an alias of setListener instead of being its own function
  • fix(query): correctly dispatching LISTENER_ERROR action type on query listener errors
  • feat(query): query name within reducers includes where
  • feat(core): getFirestore added to get internal store.firestore instance - #13
  • feat(typings): getFirestore added to typscript typings
  • feat(docs): README updated with Query options
redux-firestore - v0.1.0-alpha.3

Published by prescottprue almost 7 years ago

  • feat(core): deleteRef method added for deleting documents
  • feat(core): delete method added (alias of deleteRef)
  • feat(reducers): orderedReducer always returns the results of LISTENER_RESPONSE - prevents bad data when using delete
redux-firestore - v0.1.0-alpha.2

Published by prescottprue almost 7 years ago

  • fix(query): querying for a single doc in a collection fails - #12
  • feat(reducer): requesting, requested, and timestamps reducers moved to under status namespace
  • feat(config): enhancerNamespace and helpersNamspace config options exposed
  • feat(core): Remaining Storage and Auth logic/constants removed
  • feat(build): remove prepublish npm script since it is deprecated in npm 5 (prepare takes its place)
  • feat(build): babel-plugin-lodash added to shrink build size since use-lodash-es does not support lodash/fp (used in reducers)
  • feat(build): include node v8 in travis builds (confirms tests pass for both node versions 6.11.1 and 8)
  • feat(build): sinon locked to 3.3.0 to prevent issue running tests (Error Class Object returned instead of a normal object)
redux-firestore - v0.1.0-alpha

Published by prescottprue about 7 years ago

  • feat(core): setListeners, unsetListeners for use in firestoreConnect within react-redux-firebase
  • feat(core): add, set, update, now correctly accept parameters (string and object) - #8