Commit Graph

43 Commits

Author SHA1 Message Date
Kevin Delisle e50644a922 4.2.1
* Updated Italian translated strings Q2 2017 (Allen Boone)
 * Update translated strings Q2 2017 (Allen Boone)
 * Fix update bug when id not found (Loay Gewily)
2017-06-22 10:46:02 -04:00
Kevin Delisle 6bb07257d3 4.2.0
* Add generateUniqueId prototype (Tetsuo Seto)
 * Add travis for CI (#91) (Sakib Hasan)
2017-04-10 15:08:51 -04:00
Kevin Delisle 34cd86901a 4.1.0
* Extract getAddModifyColumns into base (#90) (Sakib Hasan)
2017-03-31 10:35:25 -04:00
Raymond Feng 8f2cb3ae7a 4.0.0
* Update deps and fix styles (Raymond Feng)
 * Add checkFieldAndIndex (#87) (Janny)
 * Refactor SQL migration methods (ssh24)
 * Fix replaceById for Oracle (Loay Gewily)
 * Refactor SQL discovery methods (Loay)
 * Fix replaceById unfound id bug (Loay Gewily)
2017-03-06 15:57:01 -08:00
Raymond Feng e77b300384 Update deps and fix styles 2017-03-06 15:40:47 -08:00
Miroslav Bajtoš e384aa53ee 3.0.0
* Update paid support URL (Siddhi Pai)
 * Start 3.x + drop support for Node v0.10/v0.12 (siddhipai)
 * Drop support for Node v0.10 and v0.12 (Siddhi Pai)
 * Dev of the next major version (Siddhi Pai)
2016-12-21 12:50:08 +01:00
Siddhi Pai 8b11a3d5c7 Drop support for Node v0.10 and v0.12 2016-11-18 12:47:19 -08:00
Siddhi Pai adc9087c62 Dev of the next major version 2016-11-18 12:46:18 -08:00
Miroslav Bajtoš bdf8dd4e89 2.7.1
* Export JSONStringPacker (Masu Lin)
2016-11-10 10:01:52 +01:00
Miroslav Bajtoš 3ad313aed6 2.7.0
* Add JSONStringPacker (Masu Lin)
2016-11-08 14:49:56 +01:00
Miroslav Bajtoš b698b82ce7 2.6.0
* Increase delay in tests to stop intermittent fails (Miroslav Bajtoš)
 * Add BinaryPacker from kv-redis connector (Miroslav Bajtoš)
 * Add ModelKeyComposer from kv-redis connector (Miroslav Bajtoš)
2016-10-24 10:18:58 +02:00
Miroslav Bajtoš 6fd3ac7285 Add BinaryPacker from kv-redis connector
Add a helper for encoding JavaScript values into binary Buffers.

The implemenetation is based on msgpack5 format and preserves JavaScript
objects like Buffers and Dates, as opposed to (binary)JSON.
2016-10-24 09:58:04 +02:00
Miroslav Bajtoš 2cbc1143c1 Add ModelKeyComposer from kv-redis connector
Add two helper methods for composing and parsing key-value keys:
 - in juggler, we use (modelName, key) tuple
 - in backends, there is usually a single string key required
2016-10-24 09:58:04 +02:00
Candy 782a68e914 2.5.0
* Update translation files - round#2 (#62) (Candy)
 * Add translated files (Amir Jafarian)
 * Update deps to LB 3.0.0 RC (Miroslav Bajtoš)
 * Run CI with juggler3 (Loay)
 * Add globalization (Candy)
 * Update URLs in CONTRIBUTING.md (#53) (Ryan Graham)
2016-10-12 17:30:01 -04:00
Miroslav Bajtoš 93f4f0a5d9 Update deps to LB 3.0.0 RC 2016-09-22 12:52:35 +02:00
Loay 3089248447 Run CI with juggler3 2016-09-15 16:17:23 -04:00
Candy d8f303178c Add globalization 2016-07-27 13:19:19 -04:00
Raymond Feng 17fc349cf4 2.4.0
* update copyright notices and license (Ryan Graham)
 * Fix linting errors (Amir Jafarian)
 * Auto-update by eslint --fix (Amir Jafarian)
 * Add eslint infrastructure (Amir Jafarian)
 * fixed build of where statement when filter contains non-existing column (Maor Hayun)
 * change replace to replaceById (Amir Jafarian)
 * Remove underscore from _buildReplaceFields (Amir Jafarian)
 * Change _buildReplace  to buildReplace (Amir Jafarian)
 * Change _buildUpdate to buildUpdate (Amir Jafarian)
 * Apply feedback (Amir Jafarian)
 * call execute directly for _replace (Amir Jafarian)
 * Implement replaceAttributes (Amir Jafarian)
 * Removed filterWhere option (eugene-frb)
 * 1. Error logging. 2. Options argument of model's include function to pass filter.where object. (eugene-frb)
 * Refer to licenses with a link (Sam Roberts)
 * Fixed typo. (Matteo Padovano)
 * Use strongloop conventions for licensing (Sam Roberts)
2016-06-29 16:45:12 -04:00
Amir Jafarian 70277da109 Fix linting errors 2016-04-11 13:06:33 -04:00
Amir Jafarian 9061026027 Add eslint infrastructure 2016-04-09 14:31:22 -04:00
Sam Roberts 3ba31d9c18 Use strongloop conventions for licensing 2015-09-21 16:42:54 -07:00
Raymond Feng 12aa7d6485 2.3.0
* Fix RegExp coercion (Simon Ho)

 * Add support for RegExp operator (Simon Ho)

 * Add a test for nesting and/or (Raymond Feng)
2015-07-29 07:52:36 -07:00
Raymond Feng 6989cfc5fb 2.2.2
* Enable Inversion of Control in connector hooks through modifications of the context object. (Frank Steegmans)
2015-06-23 14:36:02 -07:00
Raymond Feng 1996c83d95 2.2.1
* Fix the callback (Raymond Feng)
2015-05-27 13:40:15 -07:00
Raymond Feng 455774e666 2.2.0
* Update deps (Raymond Feng)

 * Add hooks to sql based connectors (Raymond Feng)
2015-05-27 11:19:48 -07:00
Raymond Feng 2fc9258d67 Update deps 2015-05-27 11:19:24 -07:00
Raymond Feng ceea61e93c 2.1.2
* Fix for https://github.com/strongloop/loopback-connector-mssql/issues/45 (Raymond Feng)

 * Fix the jsdoc for applyPagination (Raymond Feng)
2015-05-22 08:53:18 -07:00
Raymond Feng 09fd0ea54f 2.1.1
* Fix for https://github.com/strongloop/loopback-connector-postgresql/issues/80 (Raymond Feng)
2015-05-20 09:21:04 -07:00
Raymond Feng 5815e79395 2.1.0
* Update sql-connector.md (Rand McKinney)

 * Add tests for propagating a transaction over relations (Raymond Feng)

 * Add transaction support (Raymond Feng)
2015-05-18 14:28:42 -07:00
Raymond Feng e33378b5b7 2.0.1
* Replace with link to Confluence (Rand McKinney)

 * Update sql-connector.md (Rand McKinney)
2015-05-18 09:51:49 -07:00
Raymond Feng 772132497d 2.0.0
* Upgrade deps (Raymond Feng)

 * Make sure invalid fields are filtered out (Raymond Feng)

 * Refactor base and sql connector (Raymond Feng)

 * Update README.md (Paulo McNally)
2015-05-13 16:16:11 -07:00
Raymond Feng 7244cf87cb Upgrade deps 2015-05-13 16:15:47 -07:00
Raymond Feng a20fa8ada8 Refactor base and sql connector 2015-05-13 10:14:44 -07:00
Miroslav Bajtoš d519a360d8 v1.2.1 2015-01-28 19:57:57 +01:00
Miroslav Bajtoš e9b3e2d55c package: add jshint to devDependencies 2015-01-28 19:57:37 +01:00
Raymond Feng d9adf3e365 Bump version 2014-10-13 09:48:52 -07:00
Raymond Feng 0889ae40dc Make sure callback happens if a model is not attached to the data source 2014-10-13 09:47:11 -07:00
Raymond Feng 4913b868c5 Bump version 2014-07-20 13:54:25 -07:00
Raymond Feng 2fadea3f42 Bump version 2014-06-18 22:52:47 -07:00
Miroslav Bajtoš 2efe31d763 1.0.0 2014-06-03 08:40:17 +02:00
Miroslav Bajtoš 96d3332165 fixup: add a stub test 2014-05-23 19:18:11 +02:00
Miroslav Bajtoš 48884f7b79 Initial implementation.
Add `lib/connector.js` and `lib/sql.js` from
strongloop/loopback-datasource-juggler@5937f0c.

Export both classes from `index.js`

Rename `BaseSQL` to `SqlConnector`.

Fix jshint errors.
2014-05-23 15:44:41 +02:00
Miroslav Bajtoš 2a2d11db0a Initial commit. 2014-05-23 15:44:15 +02:00