Skip to content

Commit

Permalink
🔖 Prepare 1.0.0-rc.7
Browse files Browse the repository at this point in the history
  • Loading branch information
nlepage committed Jan 7, 2018
1 parent 28c814f commit 286f8d2
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 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.6) is out 🎉
## [1.0 Release Candidate](https://github.com/Zenika/immutadot/releases) 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.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>
<h2><a href="https://github.com/Zenika/immutadot/releases">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 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"><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>
<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)</li><li id="line24" class="line"> .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="line25" class="line"> .map(<span class="hljs-function"><span class="hljs-params">fn</span> =&gt;</span> fn.applier === <span class="hljs-literal">undefined</span> ? (</li><li id="line26" class="line"> <span class="hljs-function">(<span class="hljs-params">[obj, appliedPaths]</span>) =&gt;</span> [fn(obj), appliedPaths]</li><li id="line27" class="line"> ) : (</li><li id="line28" class="line"> <span class="hljs-function">(<span class="hljs-params">[obj, appliedPaths]</span>) =&gt;</span> [</li><li id="line29" class="line"> fn.applier(obj, appliedPaths),</li><li id="line30" class="line"> [...appliedPaths, fn.applier.path],</li><li id="line31" class="line"> ]</li><li id="line32" class="line"> ))</li><li id="line33" class="line"> <span class="hljs-keyword">return</span> <span class="hljs-function"><span class="hljs-params">obj</span> =&gt;</span> {</li><li id="line34" class="line"> <span class="hljs-keyword">const</span> [result] = fns.reduce(</li><li id="line35" class="line"> <span class="hljs-function">(<span class="hljs-params">acc, fn</span>) =&gt;</span> fn(acc),</li><li id="line36" class="line"> [obj, []],</li><li id="line37" class="line"> )</li><li id="line38" class="line"> <span class="hljs-keyword">return</span> result</li><li id="line39" class="line"> }</li><li id="line40" class="line">}</li><li id="line41" class="line"></li><li id="line42" class="line"><span class="hljs-keyword">export</span> { flow }</li><li id="line43" 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.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>
<h2><a href="https://github.com/Zenika/immutadot/releases">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.6"
"version": "1.0.0-rc.7"
}
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "immutadot",
"version": "1.0.0-rc.6",
"version": "1.0.0-rc.7",
"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.6",
"version": "1.0.0-rc.7",
"license": "MIT",
"devDependencies": {
"immer": "~0.2.0",
"immutable": "~3.8.2",
"immutadot": "~1.0.0-rc.6",
"immutadot": "~1.0.0-rc.7",
"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.6",
"version": "1.0.0-rc.7",
"main": "index.js",
"license": "MIT",
"peerDependencies": {
"immutadot": "^1.0.0-rc.6",
"immutadot": "^1.0.0-rc.7",
"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.6",
"version": "1.0.0-rc.7",
"description": "immutad●t (pronounced immutadot) is a set of immutable functions using dot notation.",
"keywords": [
"immutable",
Expand Down

0 comments on commit 286f8d2

Please sign in to comment.