tag:github.com,2008:https://github.com/carloslema/react-redux-firebase/releases
Release notes from react-redux-firebase
2017-04-05T08:07:46Z
tag:github.com,2008:Repository/89938357/v1.4.0-rc.1
2017-04-05T08:07:46Z
v1.4.0-rc.1: Version v1.4.0 Release Candidate 1 (#110)
<ul>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="218618702" data-permission-text="Title is private" data-url="https://github.com/prescottprue/react-redux-firebase/issues/107" data-hovercard-type="issue" data-hovercard-url="/prescottprue/react-redux-firebase/issues/107/hovercard" href="https://github.com/prescottprue/react-redux-firebase/issues/107">prescottprue#107</a> - <code>build:size</code> npm script added to generate size report for minified bundle</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="219349690" data-permission-text="Title is private" data-url="https://github.com/prescottprue/react-redux-firebase/issues/109" data-hovercard-type="issue" data-hovercard-url="/prescottprue/react-redux-firebase/issues/109/hovercard" href="https://github.com/prescottprue/react-redux-firebase/issues/109">prescottprue#109</a> - Firebase version is not fixed - all v1.4.0-* versions use <code>^</code> on firebase</li>
<li>Multiple Dependencies and Dev Dependencies updated (including <code>firebase</code> and <code>jwt-decode</code>)</li>
<li>Yarn file updated</li>
<li>Compose tests improved promise handling (better use of <code>chai-as-promised</code>)</li>
<li>Linting removed from updated <code>eslint-config-standard</code> rules</li>
</ul>
prescottprue
tag:github.com,2008:Repository/89938357/v1.4.0-beta.4
2017-04-03T04:40:25Z
v1.4.0-beta.4: Version 1.4.0 Beta 4 (#105)
<ul>
<li>made use of <a href="https://github.com/mridgway/hoist-non-react-statics"><code>hoist-non-react-statics</code></a> (following pattern set forth in <a href="https://github.com/reactjs/react-redux/blob/master/src/components/connectAdvanced.js#L281"><code>react-redux</code>'s connect</a>) to fix issue where statics where not being passed. For example, when using <code>StackNavigator</code> with react-native:</li>
</ul>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@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>
)
}
}"><pre>@<span class="pl-en">firebaseConnect</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c">// <- was keeping statics from being passed</span>
@<span class="pl-en">connect</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">{</span> firebase <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c">// <- hoists statics</span>
<span class="pl-c1">auth</span>: <span class="pl-en">pathToJS</span><span class="pl-kos">(</span><span class="pl-s1">firebase</span><span class="pl-kos">,</span> <span class="pl-s">'auth'</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">)</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">class</span> <span class="pl-v">Home</span> <span class="pl-k">extends</span> <span class="pl-v">Component</span> <span class="pl-kos">{</span>
<span class="pl-k">static</span> <span class="pl-c1">navigationOptions</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c">// <- was not being passed to resulting wrapped component</span>
<span class="pl-c1">title</span>: <span class="pl-s">'Some Title'</span>
<span class="pl-kos">}</span>
<span class="pl-en">render</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-v">View</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-v">Text</span><span class="pl-c1">></span>React Native + Firebase!<span class="pl-kos"></</span><span class="pl-v">Text</span><span class="pl-c1">></span>
<span class="pl-kos"></</span><span class="pl-v">View</span><span class="pl-c1">></span>
<span class="pl-kos">)</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<ul>
<li>create your own react-native app instructions added to docs (including pictures)</li>
<li>user and credential are now returned from login method (solves <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="218253064" data-permission-text="Title is private" data-url="https://github.com/prescottprue/react-redux-firebase/issues/106" data-hovercard-type="issue" data-hovercard-url="/prescottprue/react-redux-firebase/issues/106/hovercard" href="https://github.com/prescottprue/react-redux-firebase/issues/106">prescottprue#106</a>)</li>
<li><code>onRedirectResult</code> config option added (runs when redirect result occurs)</li>
<li>Material-ui complete example updated to use field level validation</li>
<li>Docs added for <code>onAuthStateChanged</code> and <code>onRedirectResult</code> config options</li>
</ul>
prescottprue
tag:github.com,2008:Repository/89938357/v1.4.0-beta.3
2017-03-28T07:39:14Z
v1.4.0-beta.3: Version v1.4.0 Beta 3 (#101)
<ul>
<li>Only importing used parts of Firebase Library (fixes self undefined issue)</li>
</ul>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import * as firebase from 'firebase'
// switched to
import * as firebase from 'firebase/app'
import 'firebase/auth'
import 'firebase/database'
import 'firebase/storage'
"><pre><span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">firebase</span> <span class="pl-k">from</span> <span class="pl-s">'firebase'</span>
<span class="pl-c">// switched to</span>
<span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">firebase</span> <span class="pl-k">from</span> <span class="pl-s">'firebase/app'</span>
<span class="pl-k">import</span> <span class="pl-s">'firebase/auth'</span>
<span class="pl-k">import</span> <span class="pl-s">'firebase/database'</span>
<span class="pl-k">import</span> <span class="pl-s">'firebase/storage'</span></pre></div>
prescottprue
tag:github.com,2008:Repository/89938357/v1.4.0-beta.2
2017-03-28T07:22:08Z
v1.4.0-beta.2: Version v1.4.0 Beta 2 (#100)
<ul>
<li>fix using with yarn - <code>.npmignore</code> file removed so that <code>.yarn.lock</code> file will not be included in npm release (only files listed in package file <code>files</code> property)</li>
<li><code>pushWithMeta</code>, <code>setWithMeta</code>, and <code>updateWithMeta</code> methods added - write to firebase with createdAt/updatedAt and createdBy/updatedBy</li>
</ul>
prescottprue
tag:github.com,2008:Repository/89938357/v1.4.0-beta
2017-03-26T11:01:17Z
Version v1.4.0-beta (#97)
<h3>Breaking Changes</h3>
<ul>
<li>react-native is now used differently in config when creating store which breaks <code>v1.4.0-alpha</code> ("rn" was not as clear as "ReactNative"). Use the following config when creating store:
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="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
})"><pre><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">reactReduxFirebase</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'react-redux-firebase'</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">AsyncStorage</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'react-native'</span>
<span class="pl-k">const</span> <span class="pl-s1">fbConfig</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-c">// your firebase config object</span>
<span class="pl-en">reactReduxFirebase</span><span class="pl-kos">(</span><span class="pl-s1">fbConfig</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-c1">ReactNative</span>: <span class="pl-kos">{</span> AsyncStorage <span class="pl-kos">}</span> <span class="pl-c">// now under "ReactNative" instead of "rn"</span>
<span class="pl-c">// enableRedirectHandling: false // no longer needed</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
</li>
<li>firebase library imported using <code>import * as firebase from 'firebase'</code> instead of piece by piece to fix Unsupported Browser error from <code>v1.4.0-alpha</code> (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kudorori/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kudorori">@kudorori</a> - full details in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="215980376" data-permission-text="Title is private" data-url="https://github.com/prescottprue/react-redux-firebase/issues/87" data-hovercard-type="issue" data-hovercard-url="/prescottprue/react-redux-firebase/issues/87/hovercard" href="https://github.com/prescottprue/react-redux-firebase/issues/87">prescottprue#87</a>). Could have impact on <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="204722334" data-permission-text="Title is private" data-url="https://github.com/prescottprue/react-redux-firebase/issues/52" data-hovercard-type="pull_request" data-hovercard-url="/prescottprue/react-redux-firebase/pull/52/hovercard" href="https://github.com/prescottprue/react-redux-firebase/pull/52">prescottprue#52</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="210255674" data-permission-text="Title is private" data-url="https://github.com/prescottprue/react-redux-firebase/issues/72" data-hovercard-type="issue" data-hovercard-url="/prescottprue/react-redux-firebase/issues/72/hovercard" href="https://github.com/prescottprue/react-redux-firebase/issues/72">prescottprue#72</a>, or <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="214359874" data-permission-text="Title is private" data-url="https://github.com/prescottprue/react-redux-firebase/issues/80" data-hovercard-type="issue" data-hovercard-url="/prescottprue/react-redux-firebase/issues/80/hovercard" href="https://github.com/prescottprue/react-redux-firebase/issues/80">prescottprue#80</a>.</li>
</ul>
<h3>Features</h3>
<ul>
<li><a href="https://github.com/prescottprue/react-redux-firebase/tree/v1.4.0-beta/examples/complete/react-native">react-native complete example</a> added showing authentication</li>
<li>firebase library updated to <code>v3.7.3</code></li>
<li>Package quality image added to README</li>
<li>Docs updated with react-native changes</li>
</ul>
prescottprue
tag:github.com,2008:Repository/89938357/v1.3.4
2017-03-25T18:43:48Z
Version v1.3.4 (#96)
<h3>Enhancements</h3>
<ul>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="216857979" data-permission-text="Title is private" data-url="https://github.com/prescottprue/react-redux-firebase/issues/92" data-hovercard-type="issue" data-hovercard-url="/prescottprue/react-redux-firebase/issues/92/hovercard" href="https://github.com/prescottprue/react-redux-firebase/issues/92">prescottprue#92</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="216921485" data-permission-text="Title is private" data-url="https://github.com/prescottprue/react-redux-firebase/issues/94" data-hovercard-type="pull_request" data-hovercard-url="/prescottprue/react-redux-firebase/pull/94/hovercard" 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" data-hovercard-type="user" data-hovercard-url="/users/biomorgoth/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/biomorgoth">@biomorgoth</a>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="215231229" data-permission-text="Title is private" data-url="https://github.com/prescottprue/react-redux-firebase/issues/82" data-hovercard-type="issue" data-hovercard-url="/prescottprue/react-redux-firebase/issues/82/hovercard" href="https://github.com/prescottprue/react-redux-firebase/issues/82">prescottprue#82</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="215231270" data-permission-text="Title is private" data-url="https://github.com/prescottprue/react-redux-firebase/issues/83" data-hovercard-type="pull_request" data-hovercard-url="/prescottprue/react-redux-firebase/pull/83/hovercard" href="https://github.com/prescottprue/react-redux-firebase/pull/83">prescottprue#83</a> - dispatch parameter fixed in <code>unWatchEvent</code></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="216219335" data-permission-text="Title is private" data-url="https://github.com/prescottprue/react-redux-firebase/issues/89" data-hovercard-type="issue" data-hovercard-url="/prescottprue/react-redux-firebase/issues/89/hovercard" href="https://github.com/prescottprue/react-redux-firebase/issues/89">prescottprue#89</a> - Separate sections added to docs for <a href="http://react-redux-firebase.com/docs/api/props-firebase.html" rel="nofollow"><code>props.firebase</code></a> and <a href="http://react-redux-firebase.com/docs/api/get-firebase.html" rel="nofollow"><code>getFirebase</code></a></li>
</ul>
prescottprue
tag:github.com,2008:Repository/89938357/v1.4.0-alpha
2017-03-24T00:52:31Z
v1.4.0-alpha
<p>Version bump.</p>
carloslema
tag:github.com,2008:Repository/89938357/v1.3.3
2017-03-11T22:25:12Z
Version v1.3.3 (#76)
<h3>Enhancements</h3>
<ul>
<li><code>react-redux</code> and <code>redux</code> removed from peer dependencies</li>
<li><code>react-redux</code> and <code>redux</code> removed from bundle externals</li>
<li>dependencies in travis <code>before_install</code> removed (unnecessary)</li>
</ul>
prescottprue
tag:github.com,2008:Repository/89938357/v1.3.2
2017-03-10T20:33:17Z
Version v1.3.2 (#75)
<h3>Enhancements</h3>
<ul>
<li><code>confirmPasswordReset</code> action added from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="213391155" data-permission-text="Title is private" data-url="https://github.com/prescottprue/react-redux-firebase/issues/74" data-hovercard-type="pull_request" data-hovercard-url="/prescottprue/react-redux-firebase/pull/74/hovercard" href="https://github.com/prescottprue/react-redux-firebase/pull/74">prescottprue#74</a> (thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rpeterson/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rpeterson">@rpeterson</a>)</li>
<li><code>verifyPasswordResetCode</code> action added</li>
<li>If no profile is passed to <code>firebase.createUser</code>, email is used by default</li>
<li>Docs updated with new methods</li>
<li>Tests added for new auth actions</li>
</ul>
prescottprue
tag:github.com,2008:Repository/89938357/v1.3.1
2017-03-04T01:26:51Z
Version v1.3.1 (#73)
<ul>
<li>Multiple populates defaulting improved</li>
<li>Tests now in "tests" instead of "test" folder</li>
<li>Tests improved to cover more cases of multiple populates</li>
<li>Travis uses <code>sudo: false</code></li>
</ul>
prescottprue