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