Tags: stevenyap/react-redux-firebase
  
            
          Tags
  Version v1.5.0-alpha (prescottprue#136) ### Description * Adds `updateProfile`, `updateAuth`, and `updateEmail` methods that dispatch associated start/success/failure actions * Adds multiple features to populate - prescottprue#132 * Uses `prop-types` instead of importing from react - prescottprue#122 * `distpatchOnUnsetListener` fixed to be `dispatchOnUnsetListener` (depreciation warning added along with a test confirm it is displayed) * Do not include `dbPath` in response from `deleteFile` method if it is undefined (test added to check this case) * `.eslintrc` file now using yaml format instead of JSON format (easier to read) * Unnessesary global eslint comments removed from tests (no longer needed due to globals being moved to `.eslintrc`) * `enableEmptyAuthChanges` config option added - prescottprue#137 ### Check List - [X] All tests passing - [X] Docs updated with any changes or examples - [X] Added tests to ensure feature(s) work properly ### Relevant Issues * [prescottprue#122](https://github.com/prescottprue/react-redux-firebase/issues/#122) * [prescottprue#132](https://github.com/prescottprue/react-redux-firebase/issues/#132) * [prescottprue#137](https://github.com/prescottprue/react-redux-firebase/issues/#137)
Version v1.4.0 (prescottprue#133) * `react-native` support (including [complete example](https://github.com/prescottprue/react-redux-firebase/tree/v1.4.0-beta/examples/complete/react-native) app as well as a [create your own recipe](/docs/recipes/react-native.md)) * Server Side Rendering Support ([prescottprue#72](prescottprue#72)) * Support for Boilerplates ([prescottprue#53](prescottprue#53)) * `pushWithMeta`, `setWithMeta`, and `updateWithMeta` methods added - write to firebase with createdAt/updatedAt and createdBy/updatedBy * Fix for `unWatchEvent` helper dispatch mapping (prescottprue#82) * `populatedDataToJS` triggers `isLoaded` to be true only when all data is populated (instead of once for unpopulated data) [prescottprue#121](prescottprue#121) * Support for `provider.setCustomParameters` on external auth providers (i.e. `provider.setCustomParameters({ prompt: 'select_account' })`) * `notParsed` query param option added for not parsing when using `equalTo` (for searching numbers stored as strings) * `profileParamsToPopulate` now works for `$key: true` lists (thanks @fej-snikduj) * `onRedirectResult` config option added (runs when redirect result occurs) * Improvements to Material Example * Projects route is now protected (using `UserIsAuthenticated` HOC from `utils/router`) * Todos list only displays first 8 (first at the top) - shows using ordering query params * Most main routes are now sync (more simple) * Firebase Library dependency updated to [`v3.9.0`](https://firebase.google.com/support/release-notes/js) * Fix for `unWatchEvent` helper dispatch mapping ([prescottprue#82](prescottprue#82)) * Firebase version is no longer fixed ([prescottprue#109](prescottprue#109)) * Only used parts of Firebase Library imported (shrinks bundle size) * `build:size` npm script added to generate size report for minified bundle ([prescottprue#107](prescottprue#107)) * `user` and `credential` are now returned from login method (solves [prescottprue#106](prescottprue#106)) * `yarn.lock` file added * Compose tests improved promise handling (better use of chai-as-promised) * `profileParamsToPopulate` now accepts `key: true` lists - thanks [@fej-snikduj](https://github.com/fej-snikduj)
Version v1.4.0-rc.3 (prescottprue#128) (prescottprue#134) * Switched back to importing PropTypes from react due to (prescottprue#128) * Roadmap updated with population features coming in `v1.5.0`
Version v1.4.0 Release Candidate 1 (prescottprue#110) * prescottprue#107 - `build:size` npm script added to generate size report for minified bundle * prescottprue#109 - Firebase version is not fixed - all v1.4.0-* versions use `^` on firebase * Multiple Dependencies and Dev Dependencies updated (including `firebase` and `jwt-decode`) * Yarn file updated * Compose tests improved promise handling (better use of `chai-as-promised`) * Linting removed from updated `eslint-config-standard` rules
Version 1.4.0 Beta 4 (prescottprue#105) * made use of [`hoist-non-react-statics`](https://github.com/mridgway/hoist-non-react-statics) (following pattern set forth in [`react-redux`'s connect](https://github.com/reactjs/react-redux/blob/master/src/components/connectAdvanced.js#L281)) to fix issue where statics where not being passed. For example, when using `StackNavigator` with react-native: ```js @firebaseConnect() // <- was keeping statics from being passed @connect(({ firebase }) => ({ // <- hoists statics auth: pathToJS(firebase, 'auth') })) export default class Home extends Component { static navigationOptions = { // <- was not being passed to resulting wrapped component title: 'Some Title' } render () { return ( <View> <Text>React Native + Firebase!</Text> </View> ) } } ``` * create your own react-native app instructions added to docs (including pictures) * user and credential are now returned from login method (solves prescottprue#106) * `onRedirectResult` config option added (runs when redirect result occurs) * Material-ui complete example updated to use field level validation * Docs added for `onAuthStateChanged` and `onRedirectResult` config options
Version v1.4.0 Beta 3 (prescottprue#101) * Only importing used parts of Firebase Library (fixes self undefined issue) ```js import * as firebase from 'firebase' // switched to import * as firebase from 'firebase/app' import 'firebase/auth' import 'firebase/database' import 'firebase/storage' ```
Version v1.4.0 Beta 2 (prescottprue#100) * fix using with yarn - `.npmignore` file removed so that `.yarn.lock` file will not be included in npm release (only files listed in package file `files` property) * `pushWithMeta`, `setWithMeta`, and `updateWithMeta` methods added - write to firebase with createdAt/updatedAt and createdBy/updatedBy
Version v1.4.0-beta (prescottprue#97) ### Breaking Changes * react-native is now used differently in config when creating store which breaks `v1.4.0-alpha` ("rn" was not as clear as "ReactNative"). Use the following config when creating store: ```js import { reactReduxFirebase } from 'react-redux-firebase' import { AsyncStorage } from 'react-native' const fbConfig = {} // your firebase config object reactReduxFirebase(fbConfig, { ReactNative: { AsyncStorage } // now under "ReactNative" instead of "rn" // enableRedirectHandling: false // no longer needed }) ``` * firebase library imported using `import * as firebase from 'firebase'` instead of piece by piece to fix Unsupported Browser error from `v1.4.0-alpha` (thanks @kudorori - full details in prescottprue#87). Could have impact on prescottprue#52, prescottprue#72, or prescottprue#80. ### Features * [react-native complete example](https://github.com/prescottprue/react-redux-firebase/tree/v1.4.0-beta/examples/complete/react-native) added showing authentication * firebase library updated to `v3.7.3` * Package quality image added to README * Docs updated with react-native changes
Version v1.3.4 (prescottprue#96) ### Enhancements * prescottprue#92, prescottprue#94 - Issue with query params containing numbers (thanks @biomorgoth) * prescottprue#82, prescottprue#83 - dispatch parameter fixed in `unWatchEvent` * prescottprue#89 - Separate sections added to docs for [`props.firebase`](http://react-redux-firebase.com/docs/api/props-firebase.html) and [`getFirebase`](http://react-redux-firebase.com/docs/api/get-firebase.html)
PreviousNext