Releases: prescottprue/react-redux-firebase
Releases · prescottprue/react-redux-firebase
v2.0.3
- feat(config): support
BooleanandFunctiontypes as preserve options for config and when emitting actions - fix(firestoreConnect): fix issue with unsetting listeners on unmount - #384 and 51 on
redux-firestore- @danleavitt0 - feat(docs): query docs updated and formatting simplified
- feat(docs):
Functioncapability added to docs aboutpreserveconfig parameters
v2.0.2
- fix(firestore): logging in deletes any custom fields on user object - #366
- fix(docs):
scopesparameter added to auth docs - #380 - fix(core): remove unnecessary
gitbookdependencies (from docs) - feat(auth): firestore profiles now include all values returned in
authResponse.toJSON()except for keys provided tokeysToRemoveFromAuthconfig option (['appName', 'apiKey', 'authDomain', 'redirectEventId', 'stsTokenManager', 'uid']by default). - feat(auth): firestore profiles time/date meta fields (i.e.
createdAt) stored as timestamps instead of strings - feat(core): prettier added with associated eslint config and
formatnpm script
v2.0.1
- fix(auth):
signInWithPhoneNumbermethod fixed - #374 - feat(auth):
loginsupportssignInWithPhoneNumberby passingphoneNumberandapplicationVerifier - feat(examples): material example includes example usage of
loginusingphoneNumber(multi step process unlike other usage oflogin) - feat(docs): auth docs updated with
signInWithPhoneNumberand additions tologin
v2.0.0
Features
- Standard JS Objects used in place of ImmutableJS Maps (means
pathToJSanddataToJShelpers no longer needed) - Improved support for
react-nativeincluding support forreact-native-firebase - Firestore support including HOCs (
firestoreConnectandwithFirestore) - HOCs for just attaching instance to props (
withFirebaseandwithFirestore) - Support for
reactv16.0.0
Changes
Includes all changes previous v2.0.0 pre-release versions. Note that these changes are breaking for v1 - the migration guide must be followed to switch from v1.*.* to v2.0.0.
v2.0.0-rc.2
- fix(firestore): profile update with firestore - #360 - @barnomics
- fix(auth):
loginWithCustomTokensupports passingprofileparameter - #359 - feat(auth): error messages for not logged using same wording for all methods (i.e. “User must be logged in”)
- feat(docs):
loginWithCustomTokensection updated with note about howprofileis required in certain cases - #359 - feat(docs): roadmap updated to include option for re-rendering HOCs based on auth state change - #367
- feat(docs): link added to sidebar for each of the separate reducers
- feat(docs): note added to FAQ about why
yarn.lockfile is not included - fix(test): extended timeout added to unit tests for
loginto prevent fail on slow connections - feat(docs): note added to reducer docs about how it is multiple slice reducers combined with
combineReducers - feat(test): unit tests added for auth/query actions not previously covered (
updateEmail,updateAuth,orderedFromSnapshot, etc) - fix(test): tests simplified by moving reused functions to test utils
- fix(test): remove lint warning caused by
mocha.optsbeing ignored - update(deps):
prop-typesdependency updated fromv15.5.*to v15.6.*` - update(deps): tons of dev dependencies updated including
babel-cli,babel-core,eslint,sinon,mocha,jsdom
Note
v2.0.0 syntax is now considered stable 🍾 (multiple production applications have switched from v1.5.* to v2.*.* following the migration guide, and test coverage is better than for v1.5.*). Merge conflicts with master have also been resolved.
All of this means this release will be the final RC released on next before moving v2.0.0 to the latest tag on npm (the latest tag release will include merging to master).
v2.0.0-rc.1
- feat(HOCs): Removed recompose's
withContextfromwithFirebaseandwithFirestorein order to support reactv16.*.*- #337 - feat(HOCs):
props.dispatchadded towithFirebase - feat(core): expose
reducerasreducerto match common redux panther also seen with other
libraries such asredux-form - fix(storage):
progress: trueoption on upload would cause dispatch ofFILE_UPLOAD_STARTto occur twice - feat(tests): drastically simplified tests (mostly removing repeated code) while adding more coverage
- feat(core):
babel-transform-decorators-legacyremoved from dependencies (no longer used in tests) - feat(core):
recomposeis now a dev dependency only (no longer used in HOCs as part of fix for #337)
v2.0.0-beta.19
- feat(firestoreConnect): support
componentWillReceivePropsinfirestoreConnect(props/query params change) - #354 - @danleavitt0 - feat(docs): actions docs updated with
recomposeexamples (for more simple functional components) - fix(docs): profile docs updated with new wording (clarifies usage)
- fix(build):
codecovnpm script updated to fix warning
v2.0.0-beta.18
- feat(populate):
childAliasfor store results of populate on another parameter - #126 - feat(profile): Firestore support for
updateProfilemethod - issue 25 on redux-firestore - feat(storage):
progressoption added touploadFilemethod - #346 - feat(storage):
uploadFiledefault metadata written to DB now includescreatedAt - feat(core):
redux-firestoreis no longer a dependency - managed by library user directly - fix(examples): Material-ui example updates (including moving
injectTapEventPlugin()tomain.js)
v2.0.0-beta.17
- fix(populate): undefined populate child responds unmodified as expected - #310
- fix(auth):
UNLOAD_PROFILEaction type no longer dispatched (did not fix issue) - #301 - feat(populate): support for populating ordered data with multiple populates where one populate child missing
- feat(query): parsed query param added to allow disabling of automatic parsing - #302
- feat(config):
preserveOnLoginconfig option added to allow preserving of pieces of state affected byLOGINaction (called byloginaction creator) - feat(tests): test added to check profile state consistency on
LOGINdispatch - #301 - feat(tests): tests added for
getValhelper - feat(tests): Unit tests added for populating ordered data
v2.0.0-beta.16
- fix(populate): population still occurs even if all child parameters are not available
- feat(populate):
autoPopulateProfileconfig parameter once again supported (to match v1) - feat(docs):
autoPopulateProfileconfig parameter notes updated to match v2 support