diff --git a/CHANGELOG.md b/CHANGELOG.md index f09629b..cb6fbdf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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:** diff --git a/dist/index.js b/dist/index.js index a142aed..5193c95 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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)); } @@ -61,7 +61,7 @@ exports['default'] = function (Bookshelf) { } }); - if (client === 'sqlite') { + if (client === 'sqlite' || client === 'sqlite3') { (function () { var Collection = Bookshelf.Collection.prototype; diff --git a/package.json b/package.json index 25d1bd4..fa53b94 100644 --- a/package.json +++ b/package.json @@ -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": {