Releases: prescottprue/react-redux-firebase
Releases · prescottprue/react-redux-firebase
Version v1.5.0 Alpha
- Adds
updateProfile
,updateAuth
, andupdateEmail
methods that dispatch associated start/success/failure actions - Adds multiple features to populate - #132
- Uses
prop-types
instead of importing from react - #122 enableEmptyAuthChanges
config option added - #137deleteFile
method response no longer includesdbPath
if it is undefined (test added to check this case)distpatchOnUnsetListener
fixed to bedispatchOnUnsetListener
(depreciation warning added along with a test confirm it is displayed).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
)
Version v1.4.0
NOTE: This includes all features/bugfixes from all v1.4.0-* pre-releases
Features
react-native
support (including complete example app as well as a create your own recipe)- Server Side Rendering Support - #72
- Support for Boilerplates - #53
pushWithMeta
,setWithMeta
, andupdateWithMeta
methods added - write to firebase with createdAt/updatedAt and createdBy/updatedBypopulatedDataToJS
triggersisLoaded
to be true only when all data is populated (instead of once for unpopulated data) - #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 usingequalTo
(for searching numbers stored as strings)profileParamsToPopulate
now acceptskey: true
lists - thanks @fej-snikdujonRedirectResult
config 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
UserIsAuthenticated
HOC 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
unWatchEvent
helper 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:size
npm script added to generate size report for minified bundle - #107user
andcredential
are now returned from login method - #106yarn.lock
file 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
isLoaded
now only returns true after data forpopulatedDataToJS
data is fully populated - #121React.PropTypes
replaced withprop-types
to fix depreciation warnings - #122profileParamsToPopulate
now works for$key: true
lists (thanks @fej-snikduj)noParse
query param added (with accompanying docs, which will not be published to the website until v1.4.0 release)- Docs about
equalTo
updated with information about parsing - Support for
provider.setCustomParameters
on external auth providers - Updated Firebase to
v3.9.0
- Improvements to Material Example
- Projects route is now protected (using
UserIsAuthenticated
HOC 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:size
npm 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
firebase
andjwt-decode
) - Yarn file updated
- Compose tests improved promise handling (better use of
chai-as-promised
) - Lint removed from updated
eslint-config-standard
rules
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 usingStackNavigator
with 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
onRedirectResult
config option added (runs when redirect result occurs)- material-ui complete example updated to use field level validation
- Docs added for
onAuthStateChanged
andonRedirectResult
config 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 -
.npmignore
file removed so that.yarn.lock
file will not be included in npm release (only files listed inpackage.json
files
property) pushWithMeta
,setWithMeta
, andupdateWithMeta
methods 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.firebase
andgetFirebase
- #89