Bot releases are hidden (Show)
Published by prescottprue almost 6 years ago
Published by prescottprue about 6 years ago
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)firestoreDataSelector
andfirestoreOrderedSelector
utilities for selecting values from stateLISTENER_RESPONSE
action not correctly updating state for sub-collections - #103ordered
state not updated with added item in array - #116Published by prescottprue about 6 years ago
CLEAR_DATA
action correctly clears ordered
state for actions dispatched without meta - #114CLEAR_DATA
action dispatched without meta
- #114otherConfig
optional for reduxFirestore
(store enhancer) in typings - @am17torresPublished by prescottprue about 6 years ago
composite
slice - #128 - @demoran23@types/lodash
from dev dependenciesbabel-preset-env
to ^1.7.0
Published by prescottprue about 6 years ago
storeAs
- @demoran23next
branch (published to @next
tag)Published by prescottprue over 6 years ago
map
instead of unionBy
)Published by prescottprue over 6 years ago
unionBy
with existing state when storeAs
is provided in LISTENER_RESPONSE
dispatchPublished by prescottprue over 6 years ago
LISTENER_RESPONSE
and DOCUMENT_REMOVED
actionssetListener
methodfirebase.firestore()
instance - #93, #108runTransaction
no longer failing - #108storeAs
merge.collection
to merge.collections
) - @danleavitt0Published by prescottprue over 6 years ago
DOCUMENT_ADDED
and DOCUMENT_MODIFIED
actionsDOCUMENT_ADDED
with subcollection - #101ADD_SUCCESS
action payload now contains id
Published by prescottprue over 6 years ago
docChanges
(now a method instead of parameter) - #98, #99docChanges
also works as a method (existing tests cover docChanges
as a parameter)Published by prescottprue over 6 years ago
DELETE_SUCCESS
action type case of orderedReducer
- #96lodash
to ^4.17.10
to fix insecure dependency warninglodash
, redux
, react-redux
^4.8.3
from ^3.11.0
(shrinks UMD bundle size and fixes insecure dependency warnings)Published by prescottprue over 6 years ago
storeAs
from updateItemInArray
- #91runTransaction
action added - #76firebase.firestore()
) exposed for use of methods such as batch
- #76oneListenerPerPath
option - #77Published by prescottprue over 6 years ago
DOCUMENT_MODIFIED
action correctly updates data reducer when using nested collections in solution from @compojoom - #88limit
was not included in query name - #90storeAs
support for subcollections=
in place of ::
within query string name (matches other query params)Published by prescottprue over 6 years ago
Published by prescottprue over 6 years ago
DOCUMENT_ADDED
action type added to dataReducer - #84oneListenerPerPath
supports passing falsey values (before defining it at all would enable) - slight update to #77Published 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 collection