Skip to content

Commit

Permalink
Release 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardograca committed Jan 31, 2020
1 parent aeb31ab commit 14b5394
Show file tree
Hide file tree
Showing 25 changed files with 109 additions and 54 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
## Change Log

**1.1.0** <small>_Jan 31, 2020_</small> - [Diff](https://github.com/bookshelf/bookshelf/compare/1.0.1...1.1.0)

#### Features

- Add option to disable the count information in `fetchPage`: [#2045](https://github.com/bookshelf/bookshelf/pull/2045)

#### Tests

- Small refactor to some tests: [#2050](https://github.com/bookshelf/bookshelf/pull/2050)

#### Dependencies

- Update some dependencies to their latest versions: [#2053](https://github.com/bookshelf/bookshelf/pull/2053)
- Update Knex to version 0.20.8: [#2049](https://github.com/bookshelf/bookshelf/pull/2049)

**1.0.1** <small>_Oct 06, 2019_</small> - [Diff](https://github.com/bookshelf/bookshelf/compare/1.0.0...1.0.1)

#### Bug fixes
Expand Down
78 changes: 48 additions & 30 deletions docs/api.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/bookshelf.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ <h1 class="page-title">bookshelf.js</h1>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
16 changes: 15 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,20 @@ <h3 id="which-opensource-projects-are-using-bookshelf">Which open-source project

<section id="changelog" class="changelog">
<h2>Change Log</h2>
<p><strong>1.1.0</strong> <small><em>Jan 31, 2020</em></small> - <a href="https://github.com/bookshelf/bookshelf/compare/1.0.1...1.1.0">Diff</a></p>
<h4>Features</h4>
<ul>
<li>Add option to disable the count information in <code>fetchPage</code>: <a href="https://github.com/bookshelf/bookshelf/pull/2045">#2045</a></li>
</ul>
<h4>Tests</h4>
<ul>
<li>Small refactor to some tests: <a href="https://github.com/bookshelf/bookshelf/pull/2050">#2050</a></li>
</ul>
<h4>Dependencies</h4>
<ul>
<li>Update some dependencies to their latest versions: <a href="https://github.com/bookshelf/bookshelf/pull/2053">#2053</a></li>
<li>Update Knex to version 0.20.8: <a href="https://github.com/bookshelf/bookshelf/pull/2049">#2049</a></li>
</ul>
<p><strong>1.0.1</strong> <small><em>Oct 06, 2019</em></small> - <a href="https://github.com/bookshelf/bookshelf/compare/1.0.0...1.0.1">Diff</a></p>
<h4>Bug fixes</h4>
<ul>
Expand Down Expand Up @@ -1039,7 +1053,7 @@ <h4>Other changes</h4>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion docs/lib_base_collection.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ <h1 class="page-title">lib/base/collection.js</h1>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion docs/lib_base_events.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ <h1 class="page-title">lib/base/events.js</h1>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
7 changes: 5 additions & 2 deletions docs/lib_base_model.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,10 @@ <h1 class="page-title">lib/base/model.js</h1>
*/
ModelBase.prototype.clone = function() {
const model = new this.constructor(this.attributes);
Object.assign(model.relations, _.mapValues(this.relations, (r) => r.clone()));
Object.assign(
model.relations,
_.mapValues(this.relations, (r) => r.clone())
);
model._previousAttributes = _.clone(this._previousAttributes);
model.changed = _.clone(this.changed);
return model;
Expand Down Expand Up @@ -1082,7 +1085,7 @@ <h1 class="page-title">lib/base/model.js</h1>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion docs/lib_base_relation.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ <h1 class="page-title">lib/base/relation.js</h1>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion docs/lib_bookshelf.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ <h1 class="page-title">lib/bookshelf.js</h1>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion docs/lib_collection.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ <h1 class="page-title">lib/collection.js</h1>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
4 changes: 3 additions & 1 deletion docs/lib_model.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,8 @@ <h1 class="page-title">lib/model.js</h1>
* `offset` option.
* @param {number} [options.offset]
* Index to begin fetching results from. The default and initial value is `0`. Used only with the `limit` option.
* @param {boolean} [options.disableCount=false]
* Whether to disable the query for counting how many records are in the full result.
* @param {boolean} [options.debug=false]
* Whether to enable debugging mode or not. When enabled will show information about the
* queries being run.
Expand Down Expand Up @@ -1654,7 +1656,7 @@ <h1 class="page-title">lib/model.js</h1>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion docs/lib_relation.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ <h1 class="page-title">lib/relation.js</h1>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion docs/lib_sync.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ <h1 class="page-title">lib/sync.js</h1>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
5 changes: 4 additions & 1 deletion docs/scripts/prettify/prettify.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,10 @@ window.PR_SHOULD_USE_CONTINUATION = !0;
);
k(
x(
[['pln', /^\s+/, q, ' \t\r\n'], ['atv', /^(?:"[^"]*"?|'[^']*'?)/, q, '"\'']],
[
['pln', /^\s+/, q, ' \t\r\n'],
['atv', /^(?:"[^"]*"?|'[^']*'?)/, q, '"\'']
],
[
['tag', /^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],
['atn', /^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial-associations.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ <h3>More details about this topic on the following sections:</h3>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial-events.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h3>Available destroy related events</h3>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial-many-to-many.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ <h2>Many-to-many</h2>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial-models.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ <h3>More details about this topic on the following sections:</h3>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial-one-to-many.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ <h2>One-to-many</h2>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial-one-to-one.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ <h2>One-to-one</h2>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial-parse-and-format.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ <h2>Parse and Format</h2>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial-polymorphic.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ <h2>Polymorphic</h2>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h1>Guides</h1>
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>

on
October 6, 2019
January 31, 2020

</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bookshelf",
"version": "1.0.1",
"version": "1.1.0",
"description": "A lightweight ORM for PostgreSQL, MySQL, and SQLite3",
"main": "bookshelf.js",
"scripts": {
Expand Down

0 comments on commit 14b5394

Please sign in to comment.