Tags: ccalbaugh/react-redux-firebase
Tags
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.
v2.0.0-rc.2 (prescottprue#364) * fix(firestore): profile update with firestore - prescottprue#360 - @barnomics * fix(auth): `loginWithCustomToken` supports passing `profile` parameter - prescottprue#359 * feat(auth): error messages for not logged using same wording for all methods (i.e. “User must be logged in”) * feat(docs): `loginWithCustomToken` section updated with note about how `profile` is required in certain cases - prescottprue#359 * feat(docs): roadmap updated to include option for re-rendering HOCs based on auth state change - prescottprue#367 * feat(docs): link added to sidebar for each of the separate reducers * feat(docs): note added to FAQ about why `yarn.lock` file is not included * fix(test): extended timeout added to unit tests for `login` to 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.opts` being ignored * update(deps): `prop-types` dependency updated from `v15.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](docs.react-redux-firebase.com/history/v2.0.0/docs/v2-migration-guide.html), 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`](https://github.com/prescottprue/react-redux-firebase/tree/v2.0.0) to the `latest` tag on npm (the `latest` tag release will include merging to `master`).
v2.0.0-rc.1 (prescottprue#358) * feat(HOCs): Removed recompose's `withContext` from `withFirebase` and `withFirestore` in order to support react `v16.*.*` - prescottprue#337 * feat(HOCs): `props.dispatch` added to `withFirebase` * feat(core): expose `reducer` as `reducer` to match common redux panther also seen with other libraries such as `redux-form` * fix(storage): `progress: true` option on upload would cause dispatch of `FILE_UPLOAD_START` to occur twice * feat(tests): drastically simplified tests (mostly removing repeated code) while adding more coverage * feat(core): `babel-transform-decorators-legacy` removed from dependencies (no longer used in tests) * feat(core): `recompose` is now a dev dependency only (no longer used in HOCs as part of fix for prescottprue#337)
v2.0.0-beta.19 (prescottprue#356) * feat(firestoreConnect): support `componentWillReceiveProps` in `firestoreConnect` (props/query params change) - prescottprue#354 - @danleavitt0 * feat(docs): actions docs updated with `recompose` examples (for more simple functional components) * fix(docs): profile docs updated with new wording (clarifies usage) * fix(build): `codecov` npm script updated to fix warning
v2.0.0-beta.18 (prescottprue#345) * feat(populate): `childAlias` for store results of populate on another parameter - prescottprue#126 * feat(profile): Firestore support for `updateProfile` method - [issue 25 on redux-firestore](prescottprue/redux-firestore#25) * feat(storage): `progress` option added to `uploadFile` method - prescottprue#346 * feat(storage): `uploadFile` default metadata written to DB now includes `createdAt` * feat(core): `redux-firestore` is no longer a dependency - managed by library user directly * fix(examples): Material-ui example updates (including moving `injectTapEventPlugin()` to `main.js`)
PreviousNext