Tags: kolima/react-redux-firebase
Tags
v2.1.2 * fix(profile): `userData.uid` undefined error no longer thrown when creating profile in Firestore - prescottprue#468 * feat(deps): update `lodash` to `4.7.10` (fixes npm dependency security warning) * feat(deps): `firebase` dev dependency locked to `4.12.0` (gets updates without warnings) * feat(deps): `codecov` dev dependency updated (fixes npm dependency security warning) * feat(examples): examples updated to `firebase` `^5.*.*`
v2.1.1 * fix(query): console.error for profile listener only called if `logErrors` config option is enabled * feat(core): `enableLogging` now only enables Firebase Database logging (`react-redux-firebase` errors now only logged when `logErrors` is truthy * fix(storage): remove getter that includes warning for "snaphot" misspelling (fires unnecessarily) * feat(docs): docs building/uploading scripts updated and simplified
v2.1.0 * feat(firebaseConnect): allow reuse of existing subscriptions when paths change - @Lecss * fix(watch): issue with multiple watchers on same path - @Tapped * feat(storage): add size and contentType to file uploads - @urbantumbleweed * feat(storage): errors in `uploadFile` now call `console.error` * feat(docs): `logErrors` config parameter added to docs * feat(core): husky added as a dev dep so that lint is run on push (`prepush` already in `package.json`) * fix(storage): `uploadFile` can accept both `options.progress` and options name together - prescottprue#414 * feat(tests): tests added to confirm name option works with other options - prescottprue#414 * feat(query): `onProfileWriteError` config option added to allow for hooking into error case of profile writes * feat(storage): `deleteFile` metadata removal logic simplified * feat(storage): `upload` metadata set logic simplified * feat(tests): Unit tests for `firestoreConnect` improved to more deeply test listener updates on prop changes * feat(tests): Unit tests added to test logic for `presence` and `sessions` config options * feat(core): `npm publish` now takes place on Travis through `deploy` config (any new version merged to master will be published by default)
Merge pull request prescottprue#431 from prescottprue/v2.0.6 v2.0.6
v2.0.4 * feat(profileReducer): `PROFILE_UPDATE_SUCCESS` action updates profile state - prescottprue#395 - @serhiipalash * fix(firestore): prevent issue where default profile creation would break (`createdAt` was undefined) - prescottprue#391 - @compojoom * feat(profile): `profileFactory` support for firestore - prescottprue#391 - @compojoom * fix(login): login-logout-login flow always correctly updates `state.firebase.profile` - prescottprue#401 - @evgeni-tsn * fix(updateProfile): "no document to update" error no longer thrown when updating non-existant profile on Firestore (`useSet` boolean added to make this optional) - prescottprue#403
v2.0.3 * feat(config): support `Boolean` and `Function` types as preserve options for config and when emitting actions * fix(firestoreConnect): fix issue with unsetting listeners on unmount - prescottprue#384 and [51 on `redux-firestore`](prescottprue/redux-firestore#51) - @danleavitt0 * feat(docs): query docs updated and formatting simplified * feat(docs): `Function` capability added to docs about `preserve` config parameters
v2.0.2 (prescottprue#381) * fix(firestore): logging in deletes any custom fields on user object - prescottprue#366 * fix(docs): `scopes` parameter added to auth docs - prescottprue#380 * fix(core): remove unnecessary `gitbook` dependencies (from docs) * feat(auth): firestore profiles now include all values returned in `authResponse.toJSON()` **except for** keys provided to `keysToRemoveFromAuth` config 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](https://github.com/prettier/prettier) added with associated eslint config and `format` npm script
v2.0.1 (prescottprue#376) * fix(auth): `signInWithPhoneNumber` method fixed - prescottprue#374 * feat(auth): `login` supports `signInWithPhoneNumber` by passing `phoneNumber` and `applicationVerifier` * feat(examples): material example includes example usage of `login` using `phoneNumber` (multi step process unlike other usage of `login`) * feat(docs): auth docs updated with `signInWithPhoneNumber` and additions to `login`
v2.0.0 #### Features * [Standard JS Objects](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object) used in place of [ImmutableJS Maps](https://facebook.github.io/immutable-js/docs/#/Map) (means `pathToJS` and `dataToJS` helpers no longer needed) * Improved support for `react-native` including support for `react-native-firebase` * [Firestore](https://firebase.google.com/docs/firestore/) support including HOCs (`firestoreConnect` and `withFirestore`) * HOCs for just attaching instance to props (`withFirebase` and `withFirestore`) * `react` `v16.0.0` support #### Changes Includes all changes previous `v2.0.0` pre-release versions. Note that these changes are **breaking for v1** - the [migration guide](http://docs.react-redux-firebase.com/history/v2.0.0/docs/v2-migration-guide.html) must be followed to switch from `v1.*.*` to `v2.0.0`. Please reference [the releases page](https://github.com/prescottprue/react-redux-firebase/releases) for a full list of features/fixes listed by version name.