Skip to content

Releases: prescottprue/react-redux-firebase

Version v1.5.0 Alpha

23 May 03:18
Compare
Choose a tag to compare
Version v1.5.0 Alpha Pre-release
Pre-release
  • Adds updateProfile, updateAuth, and updateEmail 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 - #137
  • deleteFile method response no longer includes dbPath if it is undefined (test added to check this case)
  • distpatchOnUnsetListener fixed to be dispatchOnUnsetListener (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

17 May 22:41
Compare
Choose a tag to compare

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, and updateWithMeta methods added - write to firebase with createdAt/updatedAt and createdBy/updatedBy
  • populatedDataToJS triggers isLoaded 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 using equalTo (for searching numbers stored as strings)
  • profileParamsToPopulate now accepts key: true lists - thanks @fej-snikduj
  • onRedirectResult 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 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)
  • 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 - #107
  • user and credential are now returned from login method - #106
  • yarn.lock file added
  • Compose tests improved promise handling (better use of chai-as-promised)

Version v1.4.0 Release Candidate 3

16 May 18:58
Compare
Choose a tag to compare
Pre-release
  • Switched back to using PropTypes from react instead of prop-types due to #128 (reverts #122)
  • Roadmap updated with notes about how #122 will be released as part of v1.5.0 instead of v1.4.0

Version v1.4.0 Release Candidate 2

06 May 08:32
Compare
Choose a tag to compare
Pre-release
  • isLoaded now only returns true after data for populatedDataToJS data is fully populated - #121
  • React.PropTypes replaced with prop-types to fix depreciation warnings - #122
  • profileParamsToPopulate 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 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)

Version v1.4.0 Release Candidate 1

05 Apr 08:11
Compare
Choose a tag to compare
Pre-release
  • 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 and jwt-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

03 Apr 04:41
Compare
Choose a tag to compare
Version v1.4.0 Beta 4 Pre-release
Pre-release
@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 and onRedirectResult config options

Version v1.4.0 Beta 3

28 Mar 07:40
Compare
Choose a tag to compare
Version v1.4.0 Beta 3 Pre-release
Pre-release
  • 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

28 Mar 07:38
Compare
Choose a tag to compare
Version v1.4.0 Beta 2 Pre-release
Pre-release
  • fix using with yarn - .npmignore file removed so that .yarn.lock file will not be included in npm release (only files listed in package.json files property)
  • pushWithMeta, setWithMeta, and updateWithMeta methods added - write to firebase with createdAt/updatedAt and createdBy/updatedBy

Version v1.4.0 Beta

26 Mar 11:05
Compare
Choose a tag to compare
Version v1.4.0 Beta Pre-release
Pre-release

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 from v1.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

26 Mar 11:05
Compare
Choose a tag to compare