updated docs for 0.2.1

This commit is contained in:
Tim Griesser 2013-08-13 17:50:22 -04:00
parent 20d6ae3e7d
commit cef088a755
4 changed files with 13 additions and 5 deletions

View File

@ -1927,7 +1927,7 @@ where key = value.</p>
<div class="content"><div class='highlight'><pre> insert: <span class="keyword">function</span>(values, returning) {
<span class="keyword">if</span> (returning) <span class="keyword">this</span>.returning(returning);
<span class="keyword">this</span>.values = <span class="keyword">this</span>._prepValues(values);
<span class="keyword">this</span>.values = <span class="keyword">this</span>._prepValues(_.clone(values));
<span class="keyword">return</span> <span class="keyword">this</span>._setType(<span class="string">'insert'</span>);
},</pre></div></div>

3
gruntfile.js Normal file
View File

@ -0,0 +1,3 @@
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-release');
};

View File

@ -185,7 +185,7 @@
<div id="sidebar" class="interface">
<a class="toc_title" href="#">
Knex.js <span class="version">(0.2.0)</span>
Knex.js <span class="version">(0.2.1)</span>
</a>
<ul class="toc_section">
<li>&raquo; <a href="https://github.com/tgriesser/knex">GitHub Repository</a></li>
@ -332,7 +332,7 @@
Big thanks to all of the great <a href="https://github.com/tgriesser/knex/graphs/contributors">contributions</a> to the project.
</a>
<h2>Latest Release: 0.2.0 - <span class="small"><a href="#changelog">Change Log</a></span></h2>
<h2>Latest Release: 0.2.1 - <span class="small"><a href="#changelog">Change Log</a></span></h2>
<p>
Current Develop &mdash;
@ -1242,6 +1242,11 @@ Knex.Raw('select * from users where id = 1').then(function(resp) {
<h2 id="changelog">Change Log</h2>
<p>
<b class="header">0.2.1</b> &mdash; <small><i>Aug 13, 2013</i></small><br />
Fix for an array passed to <tt>insert</tt> being mutated.
</p>
<p>
<b class="header">0.2.0</b> &mdash; <small><i>Aug 7, 2013</i></small><br />
<b>Breaking changes:</b>

View File

@ -1,4 +1,4 @@
// Knex.js 0.2.0
// Knex.js 0.2.1
//
// (c) 2013 Tim Griesser
// Knex may be freely distributed under the MIT license.
@ -23,7 +23,7 @@
};
// Keep in sync with package.json
Knex.VERSION = '0.2.0';
Knex.VERSION = '0.2.1';
// Methods common to both the `Grammar` and `SchemaGrammar` interfaces,
// used to generate the sql in one form or another.