Skip to content

Tags: luuquangminh/react-redux-firebase

Tags

v1.5.0-rc.3

Toggle v1.5.0-rc.3's commit message
v1.5.0 Release Candidate 3 (prescottprue#208)

* Fix race condition with `uniqueSet` - prescottprue#207
* Usage of `profileFactory` is wrapped in try/catch to handle and reject errors within provided factory function
* Typescript Typings updated make `notSetValue` not required (i.e. `dataToJS(firebase, 'todos')` instead of `dataToJS(firebase, 'todos', undefined)`) - prescottprue#214

v1.5.0-rc.2

Toggle v1.5.0-rc.2's commit message
v1.5.0 Realase Candidate 2 (prescottprue#205)

* `react-display-name` is no longer a dependency (`getDisplayName` logic internalized)
* Fixed single item profile population - prescottprue#203
* Material example now has profile population uncommented
* profile population now handles multiple populates
* Improved Tests of `firebaseConnect`, and reducer
* `PropTypes` used in all examples (some still used react's PropTypes)
* `uploadFile` and `uploadFiles` no longer track progress by default (`storageRef.put` called directly)
* No longer using constructor to initiate class properties within `FirebaseConnect` component

v2.0.0-beta.3

Toggle v2.0.0-beta.3's commit message
Update populate docs with more clear example. Fixed typo in roles rec…

…ipe.

v2.0.0-beta.2

Toggle v2.0.0-beta.2's commit message
Version v2.0.0 Beta 2 (prescottprue#197)

* Node v8 support (`package.lock.json` added, and `8` added to node versions in travis config)
* `credential` support for login method - prescottprue#186
* createUserProfile called with Facebook authentication - prescottprue#187
* Switched back to using constructor to set context vars (attempt to fix undefined vars in component mount)
* Merged changes that set `displayName` and `wrappedComponent`
* Docs sections `redux-observable` and `epics` combined
* Docs updated with changes to compose function (no longer supports passing fbConfig)
* Docs added about `presence` and `sessions` config options

v1.5.0-rc.1

Toggle v1.5.0-rc.1's commit message
Version v1.5.0 Release Candidate 1 (prescottprue#190)

* `logout` method supports `credential` parameter (with matching docs and tests updates)
* `createFirebaseConnect` is now exported at top level (for creating `firebaseConnect` connected to different store)
* `.npmignore` expanded to include more files that do not needed to be included in published version (including `.babelrc` which can cause build errors)
* `.babelrc` settings are now environment specific (decorators only used in testing)
* `babel-preset-stage-1` removed (unnecessary)
* tests folder now has its own `.eslintrc` which contains globals that are only necessary for testing (simplifies top level eslint config)
* deprecation warning added for `token` and `provider` combo in `login` method
* Docs added for `storeAs` and `keyProp`

v1.4.4

Toggle v1.4.4's commit message
Version 1.4.4 (prescottprue#189)

* Adds two statics to a connected component:
  * `wrappedComponent`, which is the original component (useful for testing without mocking firebase)
  * `displayName` is set to reveal what component is wrapped by FirebaseConnect. This makes debugging easier
* Tests added for both new statics listed above
* Remove open collective as a dependency (not used in `postinstall`)

v2.0.0-beta

Toggle v2.0.0-beta's commit message
Version v2.0.0 Beta (prescottprue#182)

### Features
* [X] Keeping data on logout - prescottprue#125
* [X] Listeners now kept on state (follows byId/allIds pattern [from redux docs](http://redux.js.org/docs/recipes/reducers/UpdatingNormalizedData.html))
* [X] `ordered` reducer added for managing ordered state (`SET_ORDERED` no longer used)
* [X] `populate` works for profile (needed to remove share population logic)
* [X] Presence capability added to show currently logged in users and track user sessions (`presence` in config)
* [X]  Firebase is no longer a dependency (build size, native compatibility, bundling for boilerplates, etc.) - prescottprue#173, prescottprue#131, prescottprue#107


### Fixes/Enhancements
* Drop support for passing Firebase instance
* Auto profile population removed (profile population will require using populate)
* `isLoaded` and `isEmpty` logic simplified
* Tests passing with new syntax (including reducers)
* Drop support and deprecation warning for `profileDecorator` (use `profileFactory`)
* Drop support and deprecation warning for `distpatchOnUnsetListener` (use `distpatchOnUnsetListener`, note incorrect spelling)
* Tests no longer skipped from linting
* Tons of other code simplifications

v2.0.0-alpha.7

Toggle v2.0.0-alpha.7's commit message
Version v2.0.0 Alpha 7 (prescottprue#181)

* Reverted back to `add-module-exports` to fix issue with base level exports (breaking react-native example)
* More files added to `.npmignore` including:
  * .travis.yml
  * CODE_OF_CONDUCT.md
  * CHANGELOG.md
  * .codeclimate.yml
  * PATRONS.md

v2.0.0-alpha.6

Toggle v2.0.0-alpha.6's commit message
Version v2.0.0 Alpha 6 (prescottprue#180)

* `.babelrc` added to `.npmignore` (attempt to fix prescottprue#175 and prescottprue#176)
* unpkg field added to package file
* Switched to `transform-es2015-modules-commonjs` from `add-module-exports`

v2.0.0-alpha.5

Toggle v2.0.0-alpha.5's commit message
Comments removed from es and commonjs versions