Skip to content

Commit

Permalink
Release 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Gama committed Aug 23, 2016
1 parent e875094 commit 8d64b90
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
# Changelog

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

[Full Changelog](https://github.com/seegno/bookshelf-json-columns/compare/1.1.0...1.1.1)

**Closed issues:**

- Add Bookshelf as peer dependency [\#21](https://github.com/seegno/bookshelf-json-columns/issues/21)
- Improve documentation contributing section [\#19](https://github.com/seegno/bookshelf-json-columns/issues/19)

**Merged pull requests:**

- adding support for sqlite3 [\#26](https://github.com/seegno/bookshelf-json-columns/pull/26) ([csepulv](https://github.com/csepulv))
- Add bookshelf as peer dependency [\#23](https://github.com/seegno/bookshelf-json-columns/pull/23) ([ricardogama](https://github.com/ricardogama))
- Fix typo and files notation on README.md [\#22](https://github.com/seegno/bookshelf-json-columns/pull/22) ([ricardogama](https://github.com/ricardogama))
- Improve contributing section [\#20](https://github.com/seegno/bookshelf-json-columns/pull/20) ([abelsoares](https://github.com/abelsoares))

## [1.1.0](https://github.com/seegno/bookshelf-json-columns/tree/1.1.0) (2016-06-07)
[Full Changelog](https://github.com/seegno/bookshelf-json-columns/compare/1.0.1...1.1.0)

**Closed issues:**
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ exports['default'] = function (Bookshelf) {
// Parse JSON columns after model is saved.
this.on('saved', parse.bind(this));

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

if (client === 'sqlite') {
if (client === 'sqlite' || client === 'sqlite3') {
(function () {
var Collection = Bookshelf.Collection.prototype;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bookshelf-json-columns",
"version": "1.1.0",
"version": "1.1.1",
"description": "Parse JSON columns with Bookshelf.js",
"license": "MIT",
"author": {
Expand Down

0 comments on commit 8d64b90

Please sign in to comment.