tag:github.com,2008:https://github.com/ericelliott/autodux/releases Release notes from autodux 2019-03-07T19:44:12Z tag:github.com,2008:Repository/97222067/v5.0.1 2019-03-07T19:44:12Z v5.0.1 <p>5.0.1</p> ericelliott tag:github.com,2008:Repository/97222067/v5.0.0 2019-02-15T06:34:05Z v5.0.0 <p>5.0.0</p> ericelliott tag:github.com,2008:Repository/97222067/v4.0.3 2018-10-31T21:27:27Z v4.0.3 <p>4.0.3</p> ericelliott tag:github.com,2008:Repository/97222067/v4.0.2 2018-10-08T21:01:09Z v4.0.2 <p>4.0.2</p> ericelliott tag:github.com,2008:Repository/97222067/v4.0.1 2018-10-08T20:52:43Z v4.0.1 <p>4.0.1</p> ericelliott tag:github.com,2008:Repository/97222067/v4.0.0 2018-07-30T23:05:35Z Fix nested action objects <p>This version fixes a bug that caused payloads to nest inside each other. See issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="327311363" data-permission-text="Title is private" data-url="https://github.com/ericelliott/autodux/issues/23" data-hovercard-type="issue" data-hovercard-url="/ericelliott/autodux/issues/23/hovercard" href="https://github.com/ericelliott/autodux/issues/23">#23</a></p> <p>We consider this a breaking change because some users may have worked around the bug by digging into the incorrectly created action object to get at the correct payload key.</p> <p>If your project breaks when you upgrade to this version, the fix is to find code that digs into a returned action object such that you are accessing <code>action.payload.payload</code> and update it so that it only tries to read from the top level <code>action.payload</code>.</p> ericelliott tag:github.com,2008:Repository/97222067/v3.0.1 2018-05-09T00:22:49Z v3.0.1 <p>3.0.1</p> ericelliott tag:github.com,2008:Repository/97222067/v3.0.0 2018-03-19T09:00:37Z v3.0.0 <p>3.0.0</p> ericelliott tag:github.com,2008:Repository/97222067/v2.0.1 2018-03-16T20:23:57Z v2.0.1 <p>2.0.1</p> ericelliott tag:github.com,2008:Repository/97222067/v2.0.0 2018-03-16T04:56:01Z Defaults API <p>Breaking changes:</p> <ul> <li><code>actions: { action: { create () {} }}</code> now defaults to pass the first argument through as the payload</li> </ul> <p>Enhancements:</p> <ul> <li><code>actions: { action: { reduce () {} }}</code> now defaults to prop assign (<code>{...state, ...payload}</code>) if omitted (was: Error)</li> <li>Added <code>id = x =&gt; x</code> utility function</li> <li>Added <code>assign('propName')</code> utility function to set the provided key in the state to the payload value.</li> <li>You can now replace the <code>actions: { action }</code> object with a function. It will be used as the reducer, assuming the default action creator behavior</li> <li>More documentation and examples</li> </ul> ericelliott