Skip to content

Commit 8d64b90

Browse files
author
Ricardo Gama
committed
Release 1.1.1
1 parent e875094 commit 8d64b90

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,22 @@
11
# Changelog
22

3-
## [1.1.0](https://github.com/seegno/bookshelf-json-columns/tree/1.1.0)
3+
## [1.1.1](https://github.com/seegno/bookshelf-json-columns/tree/HEAD)
44

5+
[Full Changelog](https://github.com/seegno/bookshelf-json-columns/compare/1.1.0...1.1.1)
6+
7+
**Closed issues:**
8+
9+
- Add Bookshelf as peer dependency [\#21](https://github.com/seegno/bookshelf-json-columns/issues/21)
10+
- Improve documentation contributing section [\#19](https://github.com/seegno/bookshelf-json-columns/issues/19)
11+
12+
**Merged pull requests:**
13+
14+
- adding support for sqlite3 [\#26](https://github.com/seegno/bookshelf-json-columns/pull/26) ([csepulv](https://github.com/csepulv))
15+
- Add bookshelf as peer dependency [\#23](https://github.com/seegno/bookshelf-json-columns/pull/23) ([ricardogama](https://github.com/ricardogama))
16+
- Fix typo and files notation on README.md [\#22](https://github.com/seegno/bookshelf-json-columns/pull/22) ([ricardogama](https://github.com/ricardogama))
17+
- Improve contributing section [\#20](https://github.com/seegno/bookshelf-json-columns/pull/20) ([abelsoares](https://github.com/abelsoares))
18+
19+
## [1.1.0](https://github.com/seegno/bookshelf-json-columns/tree/1.1.0) (2016-06-07)
520
[Full Changelog](https://github.com/seegno/bookshelf-json-columns/compare/1.0.1...1.1.0)
621

722
**Closed issues:**

dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ exports['default'] = function (Bookshelf) {
5252
// Parse JSON columns after model is saved.
5353
this.on('saved', parse.bind(this));
5454

55-
if (client === 'sqlite') {
55+
if (client === 'sqlite' || client === 'sqlite3') {
5656
// Parse JSON columns after model is fetched.
5757
this.on('fetched', parse.bind(this));
5858
}
@@ -61,7 +61,7 @@ exports['default'] = function (Bookshelf) {
6161
}
6262
});
6363

64-
if (client === 'sqlite') {
64+
if (client === 'sqlite' || client === 'sqlite3') {
6565
(function () {
6666
var Collection = Bookshelf.Collection.prototype;
6767

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bookshelf-json-columns",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "Parse JSON columns with Bookshelf.js",
55
"license": "MIT",
66
"author": {

0 commit comments

Comments
 (0)