Releases: prescottprue/react-redux-firebase
Releases · prescottprue/react-redux-firebase
Version v1.5.0 Alpha
- Adds
updateProfile,updateAuth, andupdateEmailmethods that dispatch associated start/success/failure actions - Adds multiple features to populate - #132
- Uses
prop-typesinstead of importing from react - #122 enableEmptyAuthChangesconfig option added - #137deleteFilemethod response no longer includesdbPathif it is undefined (test added to check this case)distpatchOnUnsetListenerfixed to bedispatchOnUnsetListener(depreciation warning added along with a test confirm it is displayed).eslintrcfile 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)
Version v1.4.0
NOTE: This includes all features/bugfixes from all v1.4.0-* pre-releases
Features
react-nativesupport (including complete example app as well as a create your own recipe)- Server Side Rendering Support - #72
- Support for Boilerplates - #53
pushWithMeta,setWithMeta, andupdateWithMetamethods added - write to firebase with createdAt/updatedAt and createdBy/updatedBypopulatedDataToJStriggersisLoadedto be true only when all data is populated (instead of once for unpopulated data) - #121- Support for
provider.setCustomParameterson external auth providers (i.e.provider.setCustomParameters({ prompt: 'select_account' })) notParsedquery param option added for not parsing when usingequalTo(for searching numbers stored as strings)profileParamsToPopulatenow acceptskey: truelists - thanks @fej-snikdujonRedirectResultconfig option added (callback that runs when redirect result occurs)- Return file snapshot on upload - #88
Enhancements/Fixes
- Improvements to Material Example
- Projects route is now protected (using
UserIsAuthenticatedHOC fromutils/router) - Todos list only displays first 8 (first at the top) - shows using ordering query params
- Most main routes are now sync (more simple)
- Projects route is now protected (using
- Fix for
unWatchEventhelper dispatch mapping - #82 - Firebase Library dependency updated to
v3.9.0 - Firebase version is no longer fixed - #109
- Only used parts of Firebase Library imported (shrinks bundle size)
build:sizenpm script added to generate size report for minified bundle - #107userandcredentialare now returned from login method - #106yarn.lockfile added- Compose tests improved promise handling (better use of chai-as-promised)
Version v1.4.0 Release Candidate 3
Version v1.4.0 Release Candidate 2
isLoadednow only returns true after data forpopulatedDataToJSdata is fully populated - #121React.PropTypesreplaced withprop-typesto fix depreciation warnings - #122profileParamsToPopulatenow works for$key: truelists (thanks @fej-snikduj)noParsequery param added (with accompanying docs, which will not be published to the website until v1.4.0 release)- Docs about
equalToupdated with information about parsing - Support for
provider.setCustomParameterson external auth providers - Updated Firebase to
v3.9.0 - Improvements to Material Example
- Projects route is now protected (using
UserIsAuthenticatedHOC fromutils/router) - Todos list only displays first 8 (first at the top) - shows using ordering query params
- Most main routes are now sync (more simple)
- Projects route is now protected (using
Version v1.4.0 Release Candidate 1
build:sizenpm script added to generate size report for minified bundle - #107- Firebase version is not fixed - all v1.4.0-* versions use
^on firebase - #109 - Multiple Dependencies and Dev Dependencies updated (including
firebaseandjwt-decode) - Yarn file updated
- Compose tests improved promise handling (better use of
chai-as-promised) - Lint removed from updated
eslint-config-standardrules
Version v1.4.0 Beta 4
- Implemented
hoist-non-react-statics(following pattern set forth inreact-redux's connect) to fix issue where statics where not being passed. For example, when usingStackNavigatorwith react-native:
@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 - #106
onRedirectResultconfig option added (runs when redirect result occurs)- material-ui complete example updated to use field level validation
- Docs added for
onAuthStateChangedandonRedirectResultconfig options
Version v1.4.0 Beta 3
- Only importing used parts of Firebase Library (fixes self undefined issue) with auth also working!
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
- fix using with yarn -
.npmignorefile removed so that.yarn.lockfile will not be included in npm release (only files listed inpackage.jsonfilesproperty) pushWithMeta,setWithMeta, andupdateWithMetamethods added - write to firebase with createdAt/updatedAt and createdBy/updatedBy
Version v1.4.0 Beta
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: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 fromv1.4.0-alpha(thanks @kudorori - full details in #87). Could have impact on #52 or #80.
Features
- react-native complete example 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
- Issue with query params containing numbers - #92, #94 - thanks @biomorgoth
- dispatch parameter fixed in
unWatchEvent- #82, #83 - Separate sections added to docs for
props.firebaseandgetFirebase- #89