Skip to content

Commit

Permalink
🔖 Prepare 1.0.0-rc.6
Browse files Browse the repository at this point in the history
  • Loading branch information
nlepage committed Jan 5, 2018
1 parent c5cc845 commit c78f4af
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -20,7 +20,7 @@ immutad●t gives you a short and meaningful syntax to apply operations on immut
[![codecov](https://codecov.io/gh/Zenika/immutadot/branch/master/graph/badge.svg)](https://codecov.io/gh/Zenika/immutadot)
[![Greenkeeper](https://badges.greenkeeper.io/Zenika/immutadot.svg)](https://greenkeeper.io/)

## [1.0 Release Candidate](https://github.com/Zenika/immutadot/releases/tag/1.0.0-rc.5) is out 🎉
## [1.0 Release Candidate](https://github.com/Zenika/immutadot/releases/tag/1.0.0-rc.6) is out 🎉

We are still writing the documentation, you can already find out about the [updated API](https://zenika.github.io/immutadot/immutadot/1.0) and our new package [immutadot-lodash](https://zenika.github.io/immutadot/immutadot-lodash/1.0).

Expand Down
2 changes: 1 addition & 1 deletion docs/immutadot-lodash/1.0/index.html
Expand Up @@ -56,7 +56,7 @@ <h2 class="home-link"><a href="index.html">immutad●t</a></h2><h3>Namespaces</h
<p><a href="https://circleci.com/gh/Zenika/immutadot"><img src="https://circleci.com/gh/Zenika/immutadot.svg?style=shield&amp;circle-token=8b309750f5785783ec9fb4531ba097da60563beb" alt="CircleCI"></a>
<a href="https://codecov.io/gh/Zenika/immutadot"><img src="https://codecov.io/gh/Zenika/immutadot/branch/master/graph/badge.svg" alt="codecov"></a>
<a href="https://greenkeeper.io/"><img src="https://badges.greenkeeper.io/Zenika/immutadot.svg" alt="Greenkeeper"></a></p>
<h2><a href="https://github.com/Zenika/immutadot/releases/tag/1.0.0-rc.5">1.0 Release Candidate</a> is out 🎉</h2><p>We are still writing the documentation, you can already find out about the <a href="https://zenika.github.io/immutadot/immutadot/1.0">updated API</a> and our new package <a href="https://zenika.github.io/immutadot/immutadot-lodash/1.0">immutadot-lodash</a>.</p>
<h2><a href="https://github.com/Zenika/immutadot/releases/tag/1.0.0-rc.6">1.0 Release Candidate</a> is out 🎉</h2><p>We are still writing the documentation, you can already find out about the <a href="https://zenika.github.io/immutadot/immutadot/1.0">updated API</a> and our new package <a href="https://zenika.github.io/immutadot/immutadot-lodash/1.0">immutadot-lodash</a>.</p>
<p>If you would like to try out 1.0 before its official release, install it with :</p>
<pre class="prettyprint source lang-shell"><code>yarn add immutadot@next</code></pre><p>or</p>
<pre class="prettyprint source lang-shell"><code>npm install immutadot@next</code></pre><h2>Immutability</h2><p>In the last few years one of our biggest challenge has been to find an efficient way to detect changes in our data to determine when to re-render our interfaces.</p>
Expand Down
7 changes: 4 additions & 3 deletions docs/immutadot/1.0/flow.html
Expand Up @@ -136,7 +136,7 @@ <h4 class="name" id=".flow"><span class="signature-type">(static) </span>flow<sp

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="flow_flow.js.html">flow/flow.js</a>, <a href="flow_flow.js.html#line20">line 20</a>
<a href="flow_flow.js.html">flow/flow.js</a>, <a href="flow_flow.js.html#line22">line 22</a>
</li></ul></dd>


Expand Down Expand Up @@ -180,7 +180,8 @@ <h4 class="name" id=".flow"><span class="signature-type">(static) </span>flow<sp

<div class="description">
Successively calls <code>fns</code>.<br/>
Each function is called with the result of the previous one.
Each function is called with the result of the previous one.<br/>
Falsey functions (<code>null</code>, <code>undefined</code> and <code>false</code>) are tolerated and will be skipped.
</div>


Expand Down Expand Up @@ -325,7 +326,7 @@ <h4 class="name" id=".flowFunction"><span class="signature-type"></span>flowFunc

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul><li>
<a href="flow_flow.js.html">flow/flow.js</a>, <a href="flow_flow.js.html#line3">line 3</a>
<a href="flow_flow.js.html">flow/flow.js</a>, <a href="flow_flow.js.html#line4">line 4</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion docs/immutadot/1.0/flow_flow.js.html
Expand Up @@ -35,7 +35,7 @@ <h1 class="page-title">flow/flow.js</h1>

<section>
<article>
<pre class="source linenums"><code><ol class="lines"><li id="line1" class="line"><span class="hljs-keyword">import</span> { flatten } <span class="hljs-keyword">from</span> <span class="hljs-string">'util/array'</span></li><li id="line2" class="line"></li><li id="line3" class="line"><span class="hljs-comment">/**</span></li><li id="line4" class="line"><span class="hljs-comment"> * A function successively applying a list of functions.</span></li><li id="line5" class="line"><span class="hljs-comment"> * @callback flowFunction</span></li><li id="line6" class="line"><span class="hljs-comment"> * @memberof flow</span></li><li id="line7" class="line"><span class="hljs-comment"> * @param {*} arg The starting value</span></li><li id="line8" class="line"><span class="hljs-comment"> * @returns {*} The resulting value</span></li><li id="line9" class="line"><span class="hljs-comment"> * @since 1.0.0</span></li><li id="line10" class="line"><span class="hljs-comment"> */</span></li><li id="line11" class="line"></li><li id="line12" class="line"><span class="hljs-comment">/**</span></li><li id="line13" class="line"><span class="hljs-comment"> * Successively calls &lt;code&gt;fns&lt;/code&gt;.&lt;br/&gt;</span></li><li id="line14" class="line"><span class="hljs-comment"> * Each function is called with the result of the previous one.</span></li><li id="line15" class="line"><span class="hljs-comment"> * @memberof flow</span></li><li id="line16" class="line"><span class="hljs-comment"> * @param {...(function|Array&lt;function&gt;)} args The functions to apply</span></li><li id="line17" class="line"><span class="hljs-comment"> * @returns {flow.flowFunction} A function successively calling &lt;code&gt;fns&lt;/code&gt;</span></li><li id="line18" class="line"><span class="hljs-comment"> * @since 1.0.0</span></li><li id="line19" class="line"><span class="hljs-comment"> */</span></li><li id="line20" class="line"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">flow</span>(<span class="hljs-params">...args</span>) </span>{</li><li id="line21" class="line"> <span class="hljs-keyword">const</span> fns = flatten(args)</li><li id="line22" class="line"> <span class="hljs-keyword">return</span> <span class="hljs-function"><span class="hljs-params">pObj</span> =&gt;</span> {</li><li id="line23" class="line"> <span class="hljs-keyword">const</span> [result] = fns.reduce(</li><li id="line24" class="line"> <span class="hljs-function">(<span class="hljs-params">[obj, appliedPaths], fn</span>) =&gt;</span> [</li><li id="line25" class="line"> fn(obj, appliedPaths),</li><li id="line26" class="line"> [...appliedPaths, fn.path],</li><li id="line27" class="line"> ],</li><li id="line28" class="line"> [pObj, []],</li><li id="line29" class="line"> )</li><li id="line30" class="line"> <span class="hljs-keyword">return</span> result</li><li id="line31" class="line"> }</li><li id="line32" class="line">}</li><li id="line33" class="line"></li><li id="line34" class="line"><span class="hljs-keyword">export</span> { flow }</li><li id="line35" class="line"></li></ol></code></pre>
<pre class="source linenums"><code><ol class="lines"><li id="line1" class="line"><span class="hljs-keyword">import</span> { flatten } <span class="hljs-keyword">from</span> <span class="hljs-string">'util/array'</span></li><li id="line2" class="line"><span class="hljs-keyword">import</span> { isNil } <span class="hljs-keyword">from</span> <span class="hljs-string">'util/lang'</span></li><li id="line3" class="line"></li><li id="line4" class="line"><span class="hljs-comment">/**</span></li><li id="line5" class="line"><span class="hljs-comment"> * A function successively applying a list of functions.</span></li><li id="line6" class="line"><span class="hljs-comment"> * @callback flowFunction</span></li><li id="line7" class="line"><span class="hljs-comment"> * @memberof flow</span></li><li id="line8" class="line"><span class="hljs-comment"> * @param {*} arg The starting value</span></li><li id="line9" class="line"><span class="hljs-comment"> * @returns {*} The resulting value</span></li><li id="line10" class="line"><span class="hljs-comment"> * @since 1.0.0</span></li><li id="line11" class="line"><span class="hljs-comment"> */</span></li><li id="line12" class="line"></li><li id="line13" class="line"><span class="hljs-comment">/**</span></li><li id="line14" class="line"><span class="hljs-comment"> * Successively calls &lt;code&gt;fns&lt;/code&gt;.&lt;br/&gt;</span></li><li id="line15" class="line"><span class="hljs-comment"> * Each function is called with the result of the previous one.&lt;br/&gt;</span></li><li id="line16" class="line"><span class="hljs-comment"> * Falsey functions (&lt;code&gt;null&lt;/code&gt;, &lt;code&gt;undefined&lt;/code&gt; and &lt;code&gt;false&lt;/code&gt;) are tolerated and will be skipped.</span></li><li id="line17" class="line"><span class="hljs-comment"> * @memberof flow</span></li><li id="line18" class="line"><span class="hljs-comment"> * @param {...(function|Array&lt;function&gt;)} args The functions to apply</span></li><li id="line19" class="line"><span class="hljs-comment"> * @returns {flow.flowFunction} A function successively calling &lt;code&gt;fns&lt;/code&gt;</span></li><li id="line20" class="line"><span class="hljs-comment"> * @since 1.0.0</span></li><li id="line21" class="line"><span class="hljs-comment"> */</span></li><li id="line22" class="line"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">flow</span>(<span class="hljs-params">...args</span>) </span>{</li><li id="line23" class="line"> <span class="hljs-keyword">const</span> fns = flatten(args).filter(<span class="hljs-function"><span class="hljs-params">fn</span> =&gt;</span> !isNil(fn) &amp;&amp; fn !== <span class="hljs-literal">false</span>)</li><li id="line24" class="line"> <span class="hljs-keyword">return</span> <span class="hljs-function"><span class="hljs-params">pObj</span> =&gt;</span> {</li><li id="line25" class="line"> <span class="hljs-keyword">const</span> [result] = fns.reduce(</li><li id="line26" class="line"> <span class="hljs-function">(<span class="hljs-params">[obj, appliedPaths], fn</span>) =&gt;</span> [</li><li id="line27" class="line"> fn(obj, appliedPaths),</li><li id="line28" class="line"> [...appliedPaths, fn.path],</li><li id="line29" class="line"> ],</li><li id="line30" class="line"> [pObj, []],</li><li id="line31" class="line"> )</li><li id="line32" class="line"> <span class="hljs-keyword">return</span> result</li><li id="line33" class="line"> }</li><li id="line34" class="line">}</li><li id="line35" class="line"></li><li id="line36" class="line"><span class="hljs-keyword">export</span> { flow }</li><li id="line37" class="line"></li></ol></code></pre>
</article>
</section>

Expand Down
2 changes: 1 addition & 1 deletion docs/immutadot/1.0/index.html
Expand Up @@ -56,7 +56,7 @@ <h2 class="home-link"><a href="index.html">immutad●t</a></h2><h3>Namespaces</h
<p><a href="https://circleci.com/gh/Zenika/immutadot"><img src="https://circleci.com/gh/Zenika/immutadot.svg?style=shield&amp;circle-token=8b309750f5785783ec9fb4531ba097da60563beb" alt="CircleCI"></a>
<a href="https://codecov.io/gh/Zenika/immutadot"><img src="https://codecov.io/gh/Zenika/immutadot/branch/master/graph/badge.svg" alt="codecov"></a>
<a href="https://greenkeeper.io/"><img src="https://badges.greenkeeper.io/Zenika/immutadot.svg" alt="Greenkeeper"></a></p>
<h2><a href="https://github.com/Zenika/immutadot/releases/tag/1.0.0-rc.5">1.0 Release Candidate</a> is out 🎉</h2><p>We are still writing the documentation, you can already find out about the <a href="https://zenika.github.io/immutadot/immutadot/1.0">updated API</a> and our new package <a href="https://zenika.github.io/immutadot/immutadot-lodash/1.0">immutadot-lodash</a>.</p>
<h2><a href="https://github.com/Zenika/immutadot/releases/tag/1.0.0-rc.6">1.0 Release Candidate</a> is out 🎉</h2><p>We are still writing the documentation, you can already find out about the <a href="https://zenika.github.io/immutadot/immutadot/1.0">updated API</a> and our new package <a href="https://zenika.github.io/immutadot/immutadot-lodash/1.0">immutadot-lodash</a>.</p>
<p>If you would like to try out 1.0 before its official release, install it with :</p>
<pre class="prettyprint source lang-shell"><code>yarn add immutadot@next</code></pre><p>or</p>
<pre class="prettyprint source lang-shell"><code>npm install immutadot@next</code></pre><h2>Immutability</h2><p>In the last few years one of our biggest challenge has been to find an efficient way to detect changes in our data to determine when to re-render our interfaces.</p>
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Expand Up @@ -5,5 +5,5 @@
"packages/*"
],
"useWorkspaces": true,
"version": "1.0.0-rc.5"
"version": "1.0.0-rc.6"
}
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "immutadot",
"version": "1.0.0-rc.5",
"version": "1.0.0-rc.6",
"license": "MIT",
"private": true,
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions packages/immutadot-benchmark/package.json
@@ -1,11 +1,11 @@
{
"name": "immutadot-benchmark",
"version": "1.0.0-rc.5",
"version": "1.0.0-rc.6",
"license": "MIT",
"devDependencies": {
"immer": "~0.2.0",
"immutable": "~3.8.2",
"immutadot": "~1.0.0-rc.5",
"immutadot": "~1.0.0-rc.6",
"jest": "~21.2.1"
},
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions packages/immutadot-lodash/package.json
@@ -1,10 +1,10 @@
{
"name": "immutadot-lodash",
"version": "1.0.0-rc.5",
"version": "1.0.0-rc.6",
"main": "index.js",
"license": "MIT",
"peerDependencies": {
"immutadot": "^1.0.0-rc.5",
"immutadot": "^1.0.0-rc.6",
"lodash": "^4.6.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/immutadot/package.json
@@ -1,6 +1,6 @@
{
"name": "immutadot",
"version": "1.0.0-rc.5",
"version": "1.0.0-rc.6",
"description": "immutad●t (pronounced immutadot) is a set of immutable functions using dot notation.",
"keywords": [
"immutable",
Expand Down

0 comments on commit c78f4af

Please sign in to comment.