Skip to content

Tags: boyko/react-redux-firebase

Tags

v1.5.0

Toggle v1.5.0's commit message
v1.5.0 (prescottprue#270)

🍾 🥂 The long awaited v1.5.0 release 🥂 🍾 

### Breaking Changes
* `browser` field has been removed from `package.json` which means commonJS build is used instead of `UMD` build from Webpack (much smaller)
* [firebaseConnect] Uses `prop-types` instead of importing from React - prescottprue#122 

### Core
* [firebaseConnect] Allow usage of different stores in `firebaseConnect` - prescottprue#148, prescottprue#29
* [firebaseConnect] statics are now hoisted thanks to `hoist-non-react-statics`
* [firebaseConnect] exposed `createFirebaseConnect` for creating `firebaseConnect` HOCs connected to different stores
* [auth] `login` method supports `credential` parameter (with matching docs and tests updates)
* [auth] deprecation warning added for `token` and `provider` combo in `login` method
* [auth] Adds `updateProfile`, `updateAuth`, and `updateEmail` methods that dispatch associated start/success/failure actions
* [helpers] `deleteFile` method response no longer includes `dbPath` if it is undefined (test added to check this case)
* [helpers] No more race condition with `uniqueSet` - prescottprue#207
* [typescript] Typescript typings - prescottprue#142, prescottprue#214 
* [query] `watchEvent` accepts options object as third argument
* [populate] Lodash path syntax support - prescottprue#132
* [populate] accept a function for populate for item based populate config - prescottprue#132
* [populate] Profile population (`profileParamsToPopulate`) supports single item and list population - prescottprue#203
* [storage] `uploadFile` and `uploadFiles` no longer track progress by default (`storageRef.put` called directly)
* [config] Usage of `profileFactory` is wrapped in try/catch to handle and reject errors within provided factory function
* [config] `distpatchOnUnsetListener` spelling fixed to be `dispatchOnUnsetListener` (depreciation warning added along with a test confirm it is displayed)
* [config] `enableEmptyAuthChanges` config option added - prescottprue#137


### Build
* Firebase is now an external in Webpack config (shrinks UMD build size)
* `.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)
* `.eslintrc` added to tests folder which contains globals that are only necessary for testing (simplifies top level eslint config)
* `.eslintrc` file now using yaml format instead of JSON format (easier to read)
* `async/await` added to unit tests
* Webpack 2
* [`firebase-server`](https://github.com/urish/firebase-server) used in tests instead of connecting to a real Firebase instance

### Docs
* Query docs updated with `storeAs` and `keyProp` query options
* `redux-persist` recipe added

v1.5.0-rc.5

Toggle v1.5.0-rc.5's commit message
v1.5.0-rc.5 (prescottprue#262)

* `watchEvent` accepts options object as third argument
* `async/await` capability added to unit tests
* Material example updated with new build setup including Webpack 3
* `npm run test` and `npm run test:cov` commands are now consistent
* Yarn file updated
* package-lock.json added

v2.0.0-beta.8

Toggle v2.0.0-beta.8's commit message
v2.0.0-beta.8 (prescottprue#263)

* fix(reducer): `MERGE` action added and `SET` action to reverted to v1 behavior - prescottprue#255
* feat(populate): population of ordered data - prescottprue#239
* feat(populate) populate once queries - prescottprue#256
* feat(auth): emptyOnLogin config option added (defaults to `true`) - prescottprue#254
* feat(query): emit `NO_VALUE` for `once` queries that are empty - prescottprue#265
* fix(populate) Fixed populate function to return null for null paths
* app instance handling now uses `firebase_` instead of `extendApp` (more functionality) - prescottprue#250
* Removed no longer in use code from v1 (validateConfig)

v1.4.7

Toggle v1.4.7's commit message
v1.4.7 (prescottprue#258)

* Firebase Messaging service exposed (`firebase.messaging()`)
* `resetBeforeLogin` config option added (defaults to `true` to keep current behavior) - prescottprue#254

v2.0.0-beta.7

Toggle v2.0.0-beta.7's commit message
v2.0.0 beta.7 (prescottprue#252)

* fix(reducer): allow setting paths ending in numbers - prescottprue#248
* feat(auth): make signInWithCredential not dependent on provider - prescottprue#247
* `signInWithCustomToken` no longer decodes token internally for profile data (`profileFactory` should be used) - prescottprue#244
* Removed `jwt-decode` as a dependency (not needed since auth token no longer decoded internally)
* Support lazy/module loading - prescottprue#249, prescottprue#250 
* Updated SSR docs to include notes about `enableRedirectHanlding: false` - prescottprue#251
* Updated Roadmap with detection of non-http environments

v2.0.0-beta.6

Toggle v2.0.0-beta.6's commit message
v2.0.0 beta.6 (prescottprue#246)

* feat(reducers): `authError` reducer added to mirror authError state in v1 - prescottprue#237
* fix(populate): Update to deep path roots do not work with population - prescottprue#241
* fix(auth docs): Login method docs for authWithCustomToken updated - prescottprue#245

v1.4.6

Toggle v1.4.6's commit message
v1.4.6

* Correctly unset multiple queries to the same base path - prescottprue#234, prescottprue#235
* Fix peer dependency warning from `eslint-config-standard` (updated
`eslint-plugin-standard` to 3.0.1)
* Define initialState in example within Readme - prescottprue#233

v2.0.0-beta.5

Toggle v2.0.0-beta.5's commit message
v2.0.0 beta.5 (prescottprue#229)

* Fix bug in `updateProfile` method - prescottprue#210
* Fix population with deep root - prescottprue#223
* Fix RN sources must be an object error - prescottprue#228, prescottprue#231
* Fix an issue using string notation within `profileParamsToPopulate`
* `hoist-non-react-statics` updated
* `npm run docs:upload` added for uploading version specific docs (`npm run docs:publish` still used for publishing main version)
* fixed login method return signature (object including `user`) - prescottprue#206

v1.5.0-rc.4

Toggle v1.5.0-rc.4's commit message
Merge branch 'master' into v1.5.0

v1.4.5

Toggle v1.4.5's commit message
v1.4.5 (prescottprue#225)

* display name logic is now internal (eliminates dependency)
* `try/catch` added around usage of profileFactory (incase provided `profileFactory` function throws an error)
* Fix possibility of race condition with `uniqueSet` - prescottprue#207
* Fix issue using storeAs with populates - prescottprue#216
* Profile docs improved for clarity
* `.eslintrc` added to tests folder (extends base`.eslintrc`)
* `PULL_REQUEST_TEMPLATE` simplified
* `ISSUE_TEMPLATE` simplified and includes link to [codesandbox](https://codesandbox.io/) instead of [codepen](http://codepen.io)
* Lint removed from tests