Tags: anarloch5/react-redux-firebase
Tags
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)
Version v1.3.3 (prescottprue#76) ### Enhancements * `react-redux` and `redux` removed from peer dependencies * `react-redux` and `redux` removed from bundle externals * dependencies in travis `before_install` removed (unnecessary)
Version v1.3.2 (prescottprue#75) ### Enhancements * `confirmPasswordReset` action added from prescottprue#74 (thanks @rpeterson) * `verifyPasswordResetCode` action added * If no profile is passed to `firebase.createUser`, email is used by default * Docs updated with new methods * Tests added for new auth actions
Version v1.3.1 (prescottprue#73) * Multiple populates defaulting improved * Tests now in "tests" instead of "test" folder * Tests improved to cover more cases of multiple populates * Travis uses `sudo: false`
PreviousNext