UNPKG

feathers-knex

Version:

A service plugin for KnexJS a query builder for PostgreSQL, MySQL and SQLite3

731 lines (421 loc) 43.2 kB
# Changelog ## [Unreleased](https://github.com/feathersjs-ecosystem/feathers-knex/tree/HEAD) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v8.0.0...HEAD) **Merged pull requests:** - Update all dependencies and types and move to GitHub action [\#263](https://github.com/feathersjs-ecosystem/feathers-knex/pull/263) ([daffl](https://github.com/daffl)) - Update Knex Typescript definition import. [\#262](https://github.com/feathersjs-ecosystem/feathers-knex/pull/262) ([cbeninati](https://github.com/cbeninati)) - Upgrade deps [\#258](https://github.com/feathersjs-ecosystem/feathers-knex/pull/258) ([KidkArolis](https://github.com/KidkArolis)) - Fix id extraction in id [\#257](https://github.com/feathersjs-ecosystem/feathers-knex/pull/257) ([KidkArolis](https://github.com/KidkArolis)) - Put the caller's transaction back in the params on end/rollback [\#256](https://github.com/feathersjs-ecosystem/feathers-knex/pull/256) ([KidkArolis](https://github.com/KidkArolis)) ## [v8.0.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v8.0.0) (2021-07-13) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v7.1.1...v8.0.0) **Closed issues:** - Fix types to work with knex \> 0.95 [\#261](https://github.com/feathersjs-ecosystem/feathers-knex/issues/261) - Cannot use namespace 'Knex' as a type [\#259](https://github.com/feathersjs-ecosystem/feathers-knex/issues/259) ## [v7.1.1](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v7.1.1) (2020-07-05) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v7.1.0...v7.1.1) **Closed issues:** - No release [\#252](https://github.com/feathersjs-ecosystem/feathers-knex/issues/252) - SQL Server "Cannot read property '0' of undefined" when create [\#247](https://github.com/feathersjs-ecosystem/feathers-knex/issues/247) - Closing the database connection / cleanup ? [\#246](https://github.com/feathersjs-ecosystem/feathers-knex/issues/246) - An in-range update of knex is breaking the build 🚨 [\#245](https://github.com/feathersjs-ecosystem/feathers-knex/issues/245) - Create method with knex plugged with mssql database returns no id. Gets General Error in feathers api [\#243](https://github.com/feathersjs-ecosystem/feathers-knex/issues/243) - An in-range update of @feathersjs/adapter-commons is breaking the build 🚨 [\#238](https://github.com/feathersjs-ecosystem/feathers-knex/issues/238) - An in-range update of knex is breaking the build 🚨 [\#231](https://github.com/feathersjs-ecosystem/feathers-knex/issues/231) - An in-range update of @feathersjs/adapter-commons is breaking the build 🚨 [\#228](https://github.com/feathersjs-ecosystem/feathers-knex/issues/228) **Merged pull requests:** - Update all dependencies and Mocha usage [\#253](https://github.com/feathersjs-ecosystem/feathers-knex/pull/253) ([daffl](https://github.com/daffl)) - Add knexfile.ts example to README.md [\#250](https://github.com/feathersjs-ecosystem/feathers-knex/pull/250) ([jhuizingh](https://github.com/jhuizingh)) - Update all dependencies [\#249](https://github.com/feathersjs-ecosystem/feathers-knex/pull/249) ([daffl](https://github.com/daffl)) - Added mssql as client when returning id of inserted row [\#244](https://github.com/feathersjs-ecosystem/feathers-knex/pull/244) ([Oumar24sh](https://github.com/Oumar24sh)) - Update dtslint to the latest version 🚀 [\#242](https://github.com/feathersjs-ecosystem/feathers-knex/pull/242) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Update all dependencies and Types version [\#241](https://github.com/feathersjs-ecosystem/feathers-knex/pull/241) ([daffl](https://github.com/daffl)) - Fix and expand "Configuring migrations" section in README [\#237](https://github.com/feathersjs-ecosystem/feathers-knex/pull/237) ([markneub](https://github.com/markneub)) - Update dtslint to the latest version 🚀 [\#234](https://github.com/feathersjs-ecosystem/feathers-knex/pull/234) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Update dtslint to version 1.0.2 [\#233](https://github.com/feathersjs-ecosystem/feathers-knex/pull/233) ([daffl](https://github.com/daffl)) - Update knex to the latest version 🚀 [\#230](https://github.com/feathersjs-ecosystem/feathers-knex/pull/230) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Greenkeeper/@feathersjs/adapter commons 4.3.8 [\#229](https://github.com/feathersjs-ecosystem/feathers-knex/pull/229) ([daffl](https://github.com/daffl)) ## [v7.1.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v7.1.0) (2019-10-07) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v7.0.0...v7.1.0) **Merged pull requests:** - Update all dependencies [\#227](https://github.com/feathersjs-ecosystem/feathers-knex/pull/227) ([daffl](https://github.com/daffl)) - fix 'await await' [\#226](https://github.com/feathersjs-ecosystem/feathers-knex/pull/226) ([bertho-zero](https://github.com/bertho-zero)) - Add migrations section in readme [\#225](https://github.com/feathersjs-ecosystem/feathers-knex/pull/225) ([nuc](https://github.com/nuc)) ## [v7.0.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v7.0.0) (2019-09-29) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v6.1.0...v7.0.0) **Implemented enhancements:** - Why is there an init method in this service? [\#183](https://github.com/feathersjs-ecosystem/feathers-knex/issues/183) - Getting affected rows after a patch? [\#164](https://github.com/feathersjs-ecosystem/feathers-knex/issues/164) **Merged pull requests:** - Improve types [\#224](https://github.com/feathersjs-ecosystem/feathers-knex/pull/224) ([vonagam](https://github.com/vonagam)) - Remove init method [\#223](https://github.com/feathersjs-ecosystem/feathers-knex/pull/223) ([vonagam](https://github.com/vonagam)) ## [v6.1.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v6.1.0) (2019-09-04) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v6.0.2...v6.1.0) **Closed issues:** - Nested transactions stepping on each other [\#217](https://github.com/feathersjs-ecosystem/feathers-knex/issues/217) **Merged pull requests:** - Update all dependencies [\#222](https://github.com/feathersjs-ecosystem/feathers-knex/pull/222) ([daffl](https://github.com/daffl)) - Fix \_create for oracledb client [\#221](https://github.com/feathersjs-ecosystem/feathers-knex/pull/221) ([lucas-portela](https://github.com/lucas-portela)) - Make hooks replace params instead of mutating [\#219](https://github.com/feathersjs-ecosystem/feathers-knex/pull/219) ([vonagam](https://github.com/vonagam)) ## [v6.0.2](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v6.0.2) (2019-08-14) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v6.0.1...v6.0.2) **Closed issues:** - Issue with whitelist [\#215](https://github.com/feathersjs-ecosystem/feathers-knex/issues/215) **Merged pull requests:** - Fix whitelist initialization [\#218](https://github.com/feathersjs-ecosystem/feathers-knex/pull/218) ([daffl](https://github.com/daffl)) - fix: postgres should also returning \[id\] [\#216](https://github.com/feathersjs-ecosystem/feathers-knex/pull/216) ([ucokfm](https://github.com/ucokfm)) ## [v6.0.1](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v6.0.1) (2019-08-09) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v6.0.0...v6.0.1) **Closed issues:** - .returning\(\) is not supported by mysql and will not have any effect. [\#209](https://github.com/feathersjs-ecosystem/feathers-knex/issues/209) **Merged pull requests:** - Remove field selection to prevent .returning warning [\#214](https://github.com/feathersjs-ecosystem/feathers-knex/pull/214) ([daffl](https://github.com/daffl)) - Update dtslint to the latest version 🚀 [\#213](https://github.com/feathersjs-ecosystem/feathers-knex/pull/213) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Update knex to the latest version 🚀 [\#212](https://github.com/feathersjs-ecosystem/feathers-knex/pull/212) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) ## [v6.0.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v6.0.0) (2019-07-06) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v5.1.0...v6.0.0) **Fixed bugs:** - transaction rollback not executed [\#197](https://github.com/feathersjs-ecosystem/feathers-knex/issues/197) **Closed issues:** - Overriding knex-adapter default post-create behaviour [\#207](https://github.com/feathersjs-ecosystem/feathers-knex/issues/207) **Merged pull requests:** - Add TypeScript definitions and upgrade tests to Feathers 4 [\#211](https://github.com/feathersjs-ecosystem/feathers-knex/pull/211) ([daffl](https://github.com/daffl)) - Ensure tests failure on unhandled rejections [\#210](https://github.com/feathersjs-ecosystem/feathers-knex/pull/210) ([vonagam](https://github.com/vonagam)) - Update knex to the latest version 🚀 [\#208](https://github.com/feathersjs-ecosystem/feathers-knex/pull/208) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) ## [v5.1.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v5.1.0) (2019-06-10) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v5.0.7...v5.1.0) **Closed issues:** - An in-range update of knex is breaking the build 🚨 [\#203](https://github.com/feathersjs-ecosystem/feathers-knex/issues/203) - An in-range update of sqlite3 is breaking the build 🚨 [\#202](https://github.com/feathersjs-ecosystem/feathers-knex/issues/202) - An in-range update of body-parser is breaking the build 🚨 [\#200](https://github.com/feathersjs-ecosystem/feathers-knex/issues/200) **Merged pull requests:** - Hooks: proper nesting with savepoints, customisation, fix tests [\#206](https://github.com/feathersjs-ecosystem/feathers-knex/pull/206) ([vonagam](https://github.com/vonagam)) - Update knex to the latest version 🚀 [\#205](https://github.com/feathersjs-ecosystem/feathers-knex/pull/205) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Lock Node version in Travis CI [\#204](https://github.com/feathersjs-ecosystem/feathers-knex/pull/204) ([daffl](https://github.com/daffl)) ## [v5.0.7](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v5.0.7) (2019-04-16) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v5.0.6...v5.0.7) **Merged pull requests:** - Disambiguates find query after patch [\#199](https://github.com/feathersjs-ecosystem/feathers-knex/pull/199) ([coreysan](https://github.com/coreysan)) - typo in README [\#198](https://github.com/feathersjs-ecosystem/feathers-knex/pull/198) ([Arryan](https://github.com/Arryan)) - Adds $notlike operator [\#195](https://github.com/feathersjs-ecosystem/feathers-knex/pull/195) ([coreysan](https://github.com/coreysan)) ## [v5.0.6](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v5.0.6) (2019-03-30) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v5.0.5...v5.0.6) **Merged pull requests:** - Catch unhandled promise rejections [\#196](https://github.com/feathersjs-ecosystem/feathers-knex/pull/196) ([betarabbit](https://github.com/betarabbit)) - Update mocha to the latest version 🚀 [\#194](https://github.com/feathersjs-ecosystem/feathers-knex/pull/194) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) ## [v5.0.5](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v5.0.5) (2019-02-18) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v5.0.4...v5.0.5) **Merged pull requests:** - expose ERROR symbol from error-handler [\#193](https://github.com/feathersjs-ecosystem/feathers-knex/pull/193) ([betarabbit](https://github.com/betarabbit)) - Typo Fix [\#191](https://github.com/feathersjs-ecosystem/feathers-knex/pull/191) ([dyllan-to-yu](https://github.com/dyllan-to-yu)) ## [v5.0.4](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v5.0.4) (2019-01-26) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v5.0.3...v5.0.4) **Closed issues:** - Patch has broke for MSSQL adapter: selecting the same field twice returns an array [\#188](https://github.com/feathersjs-ecosystem/feathers-knex/issues/188) **Merged pull requests:** - Mssql patch issue, closes \#188 [\#189](https://github.com/feathersjs-ecosystem/feathers-knex/pull/189) ([jerfowler](https://github.com/jerfowler)) ## [v5.0.3](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v5.0.3) (2019-01-16) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v5.0.2...v5.0.3) **Closed issues:** - Oracle Proxy User [\#186](https://github.com/feathersjs-ecosystem/feathers-knex/issues/186) - No record found for id '${id}' [\#184](https://github.com/feathersjs-ecosystem/feathers-knex/issues/184) **Merged pull requests:** - Fix patch with pagination enabled [\#187](https://github.com/feathersjs-ecosystem/feathers-knex/pull/187) ([daffl](https://github.com/daffl)) ## [v5.0.2](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v5.0.2) (2019-01-13) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v5.0.1...v5.0.2) **Merged pull requests:** - Make sure ids in queries are respected [\#185](https://github.com/feathersjs-ecosystem/feathers-knex/pull/185) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) ## [v5.0.1](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v5.0.1) (2018-12-29) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v5.0.0...v5.0.1) **Merged pull requests:** - Add default parameters to hook-less service methods [\#182](https://github.com/feathersjs-ecosystem/feathers-knex/pull/182) ([daffl](https://github.com/daffl)) ## [v5.0.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v5.0.0) (2018-12-28) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v4.0.0...v5.0.0) **Closed issues:** - An in-range update of debug is breaking the build 🚨 [\#180](https://github.com/feathersjs-ecosystem/feathers-knex/issues/180) - An in-range update of @feathersjs/feathers is breaking the build 🚨 [\#179](https://github.com/feathersjs-ecosystem/feathers-knex/issues/179) - An in-range update of @feathersjs/express is breaking the build 🚨 [\#178](https://github.com/feathersjs-ecosystem/feathers-knex/issues/178) - An in-range update of @feathersjs/errors is breaking the build 🚨 [\#177](https://github.com/feathersjs-ecosystem/feathers-knex/issues/177) **Merged pull requests:** - Upgrade to @feathersjs/adapter-commons and latest common service features [\#181](https://github.com/feathersjs-ecosystem/feathers-knex/pull/181) ([daffl](https://github.com/daffl)) - Update knex to the latest version 🚀 [\#176](https://github.com/feathersjs-ecosystem/feathers-knex/pull/176) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) ## [v4.0.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v4.0.0) (2018-10-15) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v3.3.0...v4.0.0) **Closed issues:** - An in-range update of debug is breaking the build 🚨 [\#171](https://github.com/feathersjs-ecosystem/feathers-knex/issues/171) **Merged pull requests:** - Update debug to the latest version 🚀 [\#172](https://github.com/feathersjs-ecosystem/feathers-knex/pull/172) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Update README.md [\#168](https://github.com/feathersjs-ecosystem/feathers-knex/pull/168) ([shadowRR](https://github.com/shadowRR)) - Catch unhandled transaction rejections [\#166](https://github.com/feathersjs-ecosystem/feathers-knex/pull/166) ([vonagam](https://github.com/vonagam)) - Update knex to the latest version 🚀 [\#165](https://github.com/feathersjs-ecosystem/feathers-knex/pull/165) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) ## [v3.3.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v3.3.0) (2018-06-29) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v3.2.0...v3.3.0) **Merged pull requests:** - Add support for $and [\#163](https://github.com/feathersjs-ecosystem/feathers-knex/pull/163) ([vonagam](https://github.com/vonagam)) ## [v3.2.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v3.2.0) (2018-06-26) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v3.1.1...v3.2.0) **Merged pull requests:** - Add explicit peer dependency on latest Knex version [\#162](https://github.com/feathersjs-ecosystem/feathers-knex/pull/162) ([daffl](https://github.com/daffl)) - Do clearOrder\(\) for countQuery [\#161](https://github.com/feathersjs-ecosystem/feathers-knex/pull/161) ([ik9999](https://github.com/ik9999)) ## [v3.1.1](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v3.1.1) (2018-06-03) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v3.1.0...v3.1.1) **Closed issues:** - Version 10 of node.js has been released [\#156](https://github.com/feathersjs-ecosystem/feathers-knex/issues/156) - Can't find relation if table name != service name? [\#150](https://github.com/feathersjs-ecosystem/feathers-knex/issues/150) **Merged pull requests:** - Update uberproto to the latest version 🚀 [\#160](https://github.com/feathersjs-ecosystem/feathers-knex/pull/160) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Do clearOrder\(\) for countQuery [\#159](https://github.com/feathersjs-ecosystem/feathers-knex/pull/159) ([ik9999](https://github.com/ik9999)) - Update to node 10 in .travis.yml [\#157](https://github.com/feathersjs-ecosystem/feathers-knex/pull/157) ([daffl](https://github.com/daffl)) ## [v3.1.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v3.1.0) (2018-04-20) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v3.0.6...v3.1.0) **Closed issues:** - How to properly extend knex service [\#155](https://github.com/feathersjs-ecosystem/feathers-knex/issues/155) - Support Database Schemas [\#153](https://github.com/feathersjs-ecosystem/feathers-knex/issues/153) **Merged pull requests:** - Schema support [\#154](https://github.com/feathersjs-ecosystem/feathers-knex/pull/154) ([jerfowler](https://github.com/jerfowler)) ## [v3.0.6](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v3.0.6) (2018-03-27) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v3.0.5...v3.0.6) **Closed issues:** - createQuery on empty table throws an error [\#147](https://github.com/feathersjs-ecosystem/feathers-knex/issues/147) **Merged pull requests:** - Fix \#147 [\#152](https://github.com/feathersjs-ecosystem/feathers-knex/pull/152) ([Vasilcenko](https://github.com/Vasilcenko)) ## [v3.0.5](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v3.0.5) (2018-03-26) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v3.0.4...v3.0.5) **Closed issues:** - Support querying null value [\#149](https://github.com/feathersjs-ecosystem/feathers-knex/issues/149) **Merged pull requests:** - Fixing count default sort [\#151](https://github.com/feathersjs-ecosystem/feathers-knex/pull/151) ([jerfowler](https://github.com/jerfowler)) - Update sqlite3 to the latest version 🚀 [\#148](https://github.com/feathersjs-ecosystem/feathers-knex/pull/148) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) ## [v3.0.4](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v3.0.4) (2018-03-06) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v3.0.3...v3.0.4) **Closed issues:** - Error handling question. [\#133](https://github.com/feathersjs-ecosystem/feathers-knex/issues/133) **Merged pull requests:** - call update directly on knex instead of where. [\#146](https://github.com/feathersjs-ecosystem/feathers-knex/pull/146) ([omeid](https://github.com/omeid)) ## [v3.0.3](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v3.0.3) (2018-02-24) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v3.0.2...v3.0.3) **Closed issues:** - nested tables on join [\#144](https://github.com/feathersjs-ecosystem/feathers-knex/issues/144) - How to implement soft deletes? [\#143](https://github.com/feathersjs-ecosystem/feathers-knex/issues/143) - Pagination broken in SQL-Server [\#141](https://github.com/feathersjs-ecosystem/feathers-knex/issues/141) - Wrong total if params.knex is set [\#121](https://github.com/feathersjs-ecosystem/feathers-knex/issues/121) **Merged pull requests:** - Fix count query when using params.knex [\#145](https://github.com/feathersjs-ecosystem/feathers-knex/pull/145) ([omeid](https://github.com/omeid)) ## [v3.0.2](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v3.0.2) (2018-02-05) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v3.0.1...v3.0.2) **Closed issues:** - Properties not passed to Feathers are getting set to null [\#140](https://github.com/feathersjs-ecosystem/feathers-knex/issues/140) **Merged pull requests:** - Add default sorting to $skip query if not set [\#142](https://github.com/feathersjs-ecosystem/feathers-knex/pull/142) ([roemhildtg](https://github.com/roemhildtg)) - Update mocha to the latest version 🚀 [\#139](https://github.com/feathersjs-ecosystem/feathers-knex/pull/139) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Update semistandard to the latest version 🚀 [\#138](https://github.com/feathersjs-ecosystem/feathers-knex/pull/138) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) ## [v3.0.1](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v3.0.1) (2017-12-14) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v3.0.0...v3.0.1) **Closed issues:** - Warning message output from hook.js [\#136](https://github.com/feathersjs-ecosystem/feathers-knex/issues/136) **Merged pull requests:** - Pass function to then\(\) to remove warning [\#137](https://github.com/feathersjs-ecosystem/feathers-knex/pull/137) ([sonycamera](https://github.com/sonycamera)) ## [v3.0.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v3.0.0) (2017-12-03) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.9.0...v3.0.0) **Closed issues:** - Nested service usage with transaction hooks at both of them? [\#118](https://github.com/feathersjs-ecosystem/feathers-knex/issues/118) **Merged pull requests:** - Upgrade to Feathers Buzzard \(v3\) [\#135](https://github.com/feathersjs-ecosystem/feathers-knex/pull/135) ([daffl](https://github.com/daffl)) - Update to new plugin infrastructure [\#134](https://github.com/feathersjs-ecosystem/feathers-knex/pull/134) ([daffl](https://github.com/daffl)) - Update knex to the latest version 🚀 [\#132](https://github.com/feathersjs-ecosystem/feathers-knex/pull/132) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - add transaction support to nested service calls [\#130](https://github.com/feathersjs-ecosystem/feathers-knex/pull/130) ([paflopes](https://github.com/paflopes)) - Update repository location [\#129](https://github.com/feathersjs-ecosystem/feathers-knex/pull/129) ([daffl](https://github.com/daffl)) ## [v2.9.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.9.0) (2017-10-25) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.8.2...v2.9.0) **Merged pull requests:** - Properly support null values used within WHERE conditions. [\#127](https://github.com/feathersjs-ecosystem/feathers-knex/pull/127) ([jayalfredprufrock](https://github.com/jayalfredprufrock)) - Map Postgres error codes [\#125](https://github.com/feathersjs-ecosystem/feathers-knex/pull/125) ([paflopes](https://github.com/paflopes)) - add ilike operator [\#124](https://github.com/feathersjs-ecosystem/feathers-knex/pull/124) ([sylvainlap](https://github.com/sylvainlap)) ## [v2.8.2](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.8.2) (2017-10-19) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.8.1...v2.8.2) **Closed issues:** - $or bug [\#120](https://github.com/feathersjs-ecosystem/feathers-knex/issues/120) - knexfile.js for migrations [\#116](https://github.com/feathersjs-ecosystem/feathers-knex/issues/116) **Merged pull requests:** - Add tests for or bug [\#123](https://github.com/feathersjs-ecosystem/feathers-knex/pull/123) ([daffl](https://github.com/daffl)) - fix nested $or [\#122](https://github.com/feathersjs-ecosystem/feathers-knex/pull/122) ([sylvainlap](https://github.com/sylvainlap)) - Update mocha to the latest version 🚀 [\#119](https://github.com/feathersjs-ecosystem/feathers-knex/pull/119) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) ## [v2.8.1](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.8.1) (2017-09-04) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.8.0...v2.8.1) **Merged pull requests:** - Add this.Model reference for the Knex client [\#115](https://github.com/feathersjs-ecosystem/feathers-knex/pull/115) ([daffl](https://github.com/daffl)) ## [v2.8.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.8.0) (2017-09-03) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.7.2...v2.8.0) **Closed issues:** - Service methods are not executed in transaction [\#91](https://github.com/feathersjs-ecosystem/feathers-knex/issues/91) **Merged pull requests:** - Finalize transaction hooks and functionality, add to tests [\#114](https://github.com/feathersjs-ecosystem/feathers-knex/pull/114) ([daffl](https://github.com/daffl)) - Executing services methods using transaction, implementation of issue \#91 [\#113](https://github.com/feathersjs-ecosystem/feathers-knex/pull/113) ([pnakibar](https://github.com/pnakibar)) - Update debug to the latest version 🚀 [\#112](https://github.com/feathersjs-ecosystem/feathers-knex/pull/112) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Fixing broken docs links [\#111](https://github.com/feathersjs-ecosystem/feathers-knex/pull/111) ([corymsmith](https://github.com/corymsmith)) ## [v2.7.2](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.7.2) (2017-07-24) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.7.1...v2.7.2) **Merged pull requests:** - Convert total to integer for count\(\) [\#110](https://github.com/feathersjs-ecosystem/feathers-knex/pull/110) ([runningskull](https://github.com/runningskull)) ## [v2.7.1](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.7.1) (2017-07-22) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.7.0...v2.7.1) **Closed issues:** - result.total type is string in postgres [\#108](https://github.com/feathersjs-ecosystem/feathers-knex/issues/108) - ER\_DUP\_KEYNAME: Duplicate key name [\#103](https://github.com/feathersjs-ecosystem/feathers-knex/issues/103) **Merged pull requests:** - Convert total to integer [\#109](https://github.com/feathersjs-ecosystem/feathers-knex/pull/109) ([daffl](https://github.com/daffl)) ## [v2.7.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.7.0) (2017-06-22) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.6.3...v2.7.0) **Closed issues:** - Primary key is not "id" [\#101](https://github.com/feathersjs-ecosystem/feathers-knex/issues/101) - An in-range update of mocha is breaking the build 🚨 [\#100](https://github.com/feathersjs-ecosystem/feathers-knex/issues/100) - Datetype for mysql [\#98](https://github.com/feathersjs-ecosystem/feathers-knex/issues/98) **Merged pull requests:** - Minor init method refactoring [\#107](https://github.com/feathersjs-ecosystem/feathers-knex/pull/107) ([daffl](https://github.com/daffl)) - Initialize Database Table [\#106](https://github.com/feathersjs-ecosystem/feathers-knex/pull/106) ([kc-dot-io](https://github.com/kc-dot-io)) - Update chai to the latest version 🚀 [\#105](https://github.com/feathersjs-ecosystem/feathers-knex/pull/105) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Update feathers-service-tests to the latest version 🚀 [\#104](https://github.com/feathersjs-ecosystem/feathers-knex/pull/104) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Update knex to the latest version 🚀 [\#102](https://github.com/feathersjs-ecosystem/feathers-knex/pull/102) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Update semistandard to the latest version 🚀 [\#99](https://github.com/feathersjs-ecosystem/feathers-knex/pull/99) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) - Update dependencies to enable Greenkeeper 🌴 [\#97](https://github.com/feathersjs-ecosystem/feathers-knex/pull/97) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) ## [v2.6.3](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.6.3) (2017-03-01) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.6.2...v2.6.3) **Closed issues:** - Update selected fields error [\#94](https://github.com/feathersjs-ecosystem/feathers-knex/issues/94) **Merged pull requests:** - Scoping select to current table to prevent "ambiguous" join queries [\#90](https://github.com/feathersjs-ecosystem/feathers-knex/pull/90) ([shadowRR](https://github.com/shadowRR)) ## [v2.6.2](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.6.2) (2017-02-14) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.6.1...v2.6.2) **Merged pull requests:** - Fix wrong error constructor [\#93](https://github.com/feathersjs-ecosystem/feathers-knex/pull/93) ([lvivier](https://github.com/lvivier)) ## [v2.6.1](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.6.1) (2017-02-13) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.6.0...v2.6.1) **Merged pull requests:** - Add error handling for mysql and mysql2 server errors [\#92](https://github.com/feathersjs-ecosystem/feathers-knex/pull/92) ([lvivier](https://github.com/lvivier)) - Update README Example [\#89](https://github.com/feathersjs-ecosystem/feathers-knex/pull/89) ([arlair](https://github.com/arlair)) ## [v2.6.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.6.0) (2016-11-30) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.5.0...v2.6.0) **Closed issues:** - Exposing the query builder [\#87](https://github.com/feathersjs-ecosystem/feathers-knex/issues/87) **Merged pull requests:** - Add createQuery and remove error handler for now [\#88](https://github.com/feathersjs-ecosystem/feathers-knex/pull/88) ([daffl](https://github.com/daffl)) ## [v2.5.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.5.0) (2016-11-12) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.4.0...v2.5.0) **Closed issues:** - Social Authentication SQL parse error with Knex [\#68](https://github.com/feathersjs-ecosystem/feathers-knex/issues/68) **Merged pull requests:** - Update feathers-service-tests to version 0.9.0 🚀 [\#86](https://github.com/feathersjs-ecosystem/feathers-knex/pull/86) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - 👻😱 Node.js 0.10 is unmaintained 😱👻 [\#84](https://github.com/feathersjs-ecosystem/feathers-knex/pull/84) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - babel-preset-es2015@6.18.0 breaks build 🚨 [\#83](https://github.com/feathersjs-ecosystem/feathers-knex/pull/83) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - jshint —\> semistandard [\#80](https://github.com/feathersjs-ecosystem/feathers-knex/pull/80) ([corymsmith](https://github.com/corymsmith)) ## [v2.4.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.4.0) (2016-10-19) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.3.0...v2.4.0) **Closed issues:** - $or filter doesn't group together conditions [\#71](https://github.com/feathersjs-ecosystem/feathers-knex/issues/71) - Patch many doesn't return patched items when the query includes patched fields [\#52](https://github.com/feathersjs-ecosystem/feathers-knex/issues/52) **Merged pull requests:** - Add $like query [\#79](https://github.com/feathersjs-ecosystem/feathers-knex/pull/79) ([mcchrish](https://github.com/mcchrish)) ## [v2.3.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.3.0) (2016-09-22) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.2.0...v2.3.0) **Fixed bugs:** - We shouldn't remove properties from original objects [\#55](https://github.com/feathersjs-ecosystem/feathers-knex/issues/55) **Closed issues:** - Need a way to exclude automatically generated columns from the update method. [\#61](https://github.com/feathersjs-ecosystem/feathers-knex/issues/61) - How to setup relations between tables ? [\#60](https://github.com/feathersjs-ecosystem/feathers-knex/issues/60) - Ability to return value from original insert object [\#58](https://github.com/feathersjs-ecosystem/feathers-knex/issues/58) **Merged pull requests:** - Compatibility with latest service tests [\#75](https://github.com/feathersjs-ecosystem/feathers-knex/pull/75) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - Grouping conditions [\#73](https://github.com/feathersjs-ecosystem/feathers-knex/pull/73) ([kaiquewdev](https://github.com/kaiquewdev)) - Update knex to version 0.12.0 🚀 [\#72](https://github.com/feathersjs-ecosystem/feathers-knex/pull/72) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - Added option to grab created resource id from original data object. [\#63](https://github.com/feathersjs-ecosystem/feathers-knex/pull/63) ([jayalfredprufrock](https://github.com/jayalfredprufrock)) - Update mocha to version 3.0.0 🚀 [\#59](https://github.com/feathersjs-ecosystem/feathers-knex/pull/59) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - Update feathers-query-filters to version 2.0.0 🚀 [\#56](https://github.com/feathersjs-ecosystem/feathers-knex/pull/56) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) ## [v2.2.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.2.0) (2016-06-17) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.1.3...v2.2.0) **Merged pull requests:** - Update feathers-service-tests to version 0.6.0 🚀 [\#53](https://github.com/feathersjs-ecosystem/feathers-knex/pull/53) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) ## [v2.1.3](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.1.3) (2016-06-01) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.1.2...v2.1.3) **Closed issues:** - Support $search [\#30](https://github.com/feathersjs-ecosystem/feathers-knex/issues/30) - Support for deeply nested/complex queries [\#10](https://github.com/feathersjs-ecosystem/feathers-knex/issues/10) - Support population one level deep [\#3](https://github.com/feathersjs-ecosystem/feathers-knex/issues/3) **Merged pull requests:** - Use internal methods in create [\#51](https://github.com/feathersjs-ecosystem/feathers-knex/pull/51) ([t2t2](https://github.com/t2t2)) - mocha@2.5.0 breaks build 🚨 [\#50](https://github.com/feathersjs-ecosystem/feathers-knex/pull/50) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - babel-preset-es2015@6.9.0 breaks build 🚨 [\#49](https://github.com/feathersjs-ecosystem/feathers-knex/pull/49) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - Update babel-plugin-add-module-exports to version 0.2.0 🚀 [\#47](https://github.com/feathersjs-ecosystem/feathers-knex/pull/47) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - Update knex to version 0.11.1 🚀 [\#46](https://github.com/feathersjs-ecosystem/feathers-knex/pull/46) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - feathers-rest@1.3.0 breaks build 🚨 [\#40](https://github.com/feathersjs-ecosystem/feathers-knex/pull/40) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - babel-core@6.7.6 breaks build 🚨 [\#36](https://github.com/feathersjs-ecosystem/feathers-knex/pull/36) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) ## [v2.1.2](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.1.2) (2016-04-01) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.1.1...v2.1.2) **Closed issues:** - Review patch and remove many for consistency [\#26](https://github.com/feathersjs-ecosystem/feathers-knex/issues/26) - Feature: ability to CRUD without needing to bind as a feathers service [\#19](https://github.com/feathersjs-ecosystem/feathers-knex/issues/19) **Merged pull requests:** - Update all dependencies 🌴 [\#33](https://github.com/feathersjs-ecosystem/feathers-knex/pull/33) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot)) - fix count when specifying option.id [\#32](https://github.com/feathersjs-ecosystem/feathers-knex/pull/32) ([nilsboy](https://github.com/nilsboy)) ## [v2.1.1](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.1.1) (2016-02-24) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.1.0...v2.1.1) **Merged pull requests:** - bumping feathers-errors version [\#31](https://github.com/feathersjs-ecosystem/feathers-knex/pull/31) ([ekryski](https://github.com/ekryski)) ## [v2.1.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.1.0) (2016-01-31) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.0.2...v2.1.0) **Merged pull requests:** - Use internal methods instead of service methods directly [\#29](https://github.com/feathersjs-ecosystem/feathers-knex/pull/29) ([daffl](https://github.com/daffl)) ## [v2.0.2](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.0.2) (2016-01-25) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.0.1...v2.0.2) **Merged pull requests:** - set `returning` of `knex#insert` to `this.id` [\#28](https://github.com/feathersjs-ecosystem/feathers-knex/pull/28) ([ahdinosaur](https://github.com/ahdinosaur)) ## [v2.0.1](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.0.1) (2016-01-24) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v2.0.0...v2.0.1) **Closed issues:** - Initialization should conform with other adapters [\#24](https://github.com/feathersjs-ecosystem/feathers-knex/issues/24) **Merged pull requests:** - Adding nsp check [\#27](https://github.com/feathersjs-ecosystem/feathers-knex/pull/27) ([marshallswain](https://github.com/marshallswain)) - fix README example [\#25](https://github.com/feathersjs-ecosystem/feathers-knex/pull/25) ([ahdinosaur](https://github.com/ahdinosaur)) ## [v2.0.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v2.0.0) (2016-01-06) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v1.3.0...v2.0.0) **Closed issues:** - Expose Knex lib [\#23](https://github.com/feathersjs-ecosystem/feathers-knex/issues/23) ## [v1.3.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v1.3.0) (2015-12-21) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v1.2.2...v1.3.0) **Closed issues:** - Example code problems [\#20](https://github.com/feathersjs-ecosystem/feathers-knex/issues/20) - README example does not work [\#18](https://github.com/feathersjs-ecosystem/feathers-knex/issues/18) **Merged pull requests:** - Es6 [\#22](https://github.com/feathersjs-ecosystem/feathers-knex/pull/22) ([ekryski](https://github.com/ekryski)) ## [v1.2.2](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v1.2.2) (2015-11-24) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v1.2.1...v1.2.2) **Closed issues:** - Example in README does not work [\#16](https://github.com/feathersjs-ecosystem/feathers-knex/issues/16) **Merged pull requests:** - Use CommonJS export Babel plugin [\#17](https://github.com/feathersjs-ecosystem/feathers-knex/pull/17) ([daffl](https://github.com/daffl)) ## [v1.2.1](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v1.2.1) (2015-11-23) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v1.2.0...v1.2.1) **Closed issues:** - Should other adapters rely on this or Sequelize? [\#14](https://github.com/feathersjs-ecosystem/feathers-knex/issues/14) - Object.assign not available in older Node versions [\#13](https://github.com/feathersjs-ecosystem/feathers-knex/issues/13) **Merged pull requests:** - Upgrading to Babel 6 and adding Object.assign polyfill [\#15](https://github.com/feathersjs-ecosystem/feathers-knex/pull/15) ([daffl](https://github.com/daffl)) ## [v1.2.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v1.2.0) (2015-11-11) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v1.1.0...v1.2.0) **Merged pull requests:** - Upgrade to latest service tests [\#12](https://github.com/feathersjs-ecosystem/feathers-knex/pull/12) ([daffl](https://github.com/daffl)) ## [v1.1.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v1.1.0) (2015-11-04) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/v1.0.0...v1.1.0) **Merged pull requests:** - Move to using feathers-service-tests for unified test suite [\#11](https://github.com/feathersjs-ecosystem/feathers-knex/pull/11) ([daffl](https://github.com/daffl)) ## [v1.0.0](https://github.com/feathersjs-ecosystem/feathers-knex/tree/v1.0.0) (2015-10-26) [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-knex/compare/6c66b038ce0f3174b05af6f7c802b05fc9a895f8...v1.0.0) **Closed issues:** - Support remove [\#9](https://github.com/feathersjs-ecosystem/feathers-knex/issues/9) - Support patch [\#8](https://github.com/feathersjs-ecosystem/feathers-knex/issues/8) - Support update [\#7](https://github.com/feathersjs-ecosystem/feathers-knex/issues/7) - Support special query filters [\#6](https://github.com/feathersjs-ecosystem/feathers-knex/issues/6) - Support basic find queries [\#5](https://github.com/feathersjs-ecosystem/feathers-knex/issues/5) - Support get queries [\#4](https://github.com/feathersjs-ecosystem/feathers-knex/issues/4) - Support comparators, like $gte, $gt, etc. [\#2](https://github.com/feathersjs-ecosystem/feathers-knex/issues/2) - Support conditional queries [\#1](https://github.com/feathersjs-ecosystem/feathers-knex/issues/1) \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*