Commit Graph

169 Commits

Author SHA1 Message Date
Miroslav Bajtoš a3e1a08fa6
Remove unstable connectors from downstream list
Configure cis-jenkins CI build to ignore the following repositories
when deciding which downstream projects to build:

 - loopback-connector-db2z
 - loopback-connector-informix
 - loopback-connector-mqlight
 - loopback-connector-kv-extreme-scale

The list is the same as we have in loopback-datasource-juggler now.

Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-11-05 17:23:25 +01:00
Diana Lau c27e21fb4f 4.9.0
* fix: prevent adding listeners past limit (Dominique Emond)
 * chore: update deps and fix lint violations (Nora)
 * drop support for node.js 6 (Nora)
 * chore: add node 12 (Nora)
2019-09-19 10:13:17 -04:00
Dominique Emond 7ab10fb8fb fix: prevent adding listeners past limit
Co-authored-by: Dominique Emond <dremond@ca.ibm.com>
2019-08-13 19:09:48 -04:00
Nora 4c4d05fe87 chore: update deps and fix lint violations 2019-08-02 09:50:51 -04:00
Nora 19ca0dbc26 drop support for node.js 6 2019-07-26 08:27:32 -04:00
Biniam Admikew 7e9a4463ab 4.8.0
* chore: add promise support (Biniam Admikew)
2019-06-28 12:50:49 -04:00
Biniam Admikew d79092aadb chore: add promise support
Add promise support to transaction methods.

Co-Authored-By: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-06-28 09:26:58 -04:00
Diana Lau 417d6467b0 4.7.0
* feat: map property name to table column name (Samarpan Bhattacharya)
 * chore: update copyrights years (Diana Lau)
2019-05-03 16:29:09 -04:00
Diana Lau 59d7089f7d chore: update copyrights years 2019-04-18 17:42:33 -04:00
biniam d36d059a8e 4.6.2 2019-03-22 12:55:34 -04:00
Diana Lau d0e6d36a1a 4.5.2
* fix: make prop def getter backward-compatible (biniam)
 * chore: update CODEOWNERS (Diana Lau)
 * Revert "4.6.0" (biniam)
 * feat: retrieve nested property definitions (Piero Maltese)
2019-03-22 09:21:13 -04:00
biniam 34c669b96a Revert "4.6.0"
This reverts commit 560629c1d2.
It was accidentally released as a semver minor when it should
have been released as a semver major. The patch included breaking
changes for the APIs it modified.
2019-02-20 10:40:30 -05:00
biniam 560629c1d2 4.6.0
* feat: retrieve nested property definitions (Piero Maltese)
2019-02-19 10:07:58 -05:00
Raymond Feng dbfebb845b 4.5.1
* allow schema or owner (Raymond Feng)
 * [WebFM] cs/pl/ru translation (candytangnb)
2018-07-16 14:40:45 -07:00
Miroslav Bajtoš f3f4c61c15
4.5.0
* Update msgpack5 to 4.x (Miroslav Bajtoš)
 * Update strong-globalize to 4.x (Miroslav Bajtoš)
 * Update Mocha and Chai to latest (Miroslav Bajtoš)
 * Update eslint + config to latest (Miroslav Bajtoš)
 * Disable package-lock feature of npm (Miroslav Bajtoš)
 * Travis: add Node.js 8.x + 10.x to the build matrix (Miroslav Bajtoš)
 * Drop support for Node 4.x (Miroslav Bajtoš)
 * chore:update license (Diana Lau)
2018-06-14 09:33:51 +02:00
Miroslav Bajtoš 9435ba5071
Update msgpack5 to 4.x
This adds support for Timestamp extension type:
https://github.com/msgpack/msgpack/blob/master/spec.md#timestamp-extension-type
2018-06-12 16:49:36 +02:00
Miroslav Bajtoš 9c44ec59c3
Update strong-globalize to 4.x 2018-06-12 16:44:59 +02:00
Miroslav Bajtoš 284e0111b7
Update Mocha and Chai to latest 2018-06-12 16:44:24 +02:00
Miroslav Bajtoš a695cb22e1
Update eslint + config to latest 2018-06-12 16:33:52 +02:00
Miroslav Bajtoš 5231b0cb27
Drop support for Node 4.x
Node 4.x is no longer maintained by Node.js project.
2018-06-12 16:30:15 +02:00
Diana Lau 32794834ce 4.4.0
* update depdencies (Diana Lau)
 * package: use loopback-datasource-juggler@3.12 (Kevin Delisle)
2017-10-17 08:37:46 -04:00
Diana Lau 89330cdbef update depdencies 2017-10-16 18:46:27 -04:00
Kevin Delisle 4803b0cff9 package: use loopback-datasource-juggler@3.12 2017-09-07 11:12:54 -04:00
Kevin Delisle f2cbdedee5 4.3.0
* Transaction: Support moving timeout to connector (Jürg Lehni)
 * Add support for transactions in count() (Jürg Lehni)
 * Add stalebot configuration (Kevin Delisle)
 * Create Issue and PR Templates (#113) (Sakib Hasan)
 * Update translated strings Q3 2017 (Allen Boone)
 * update messages.json (Diana Lau)
 * Add CODEOWNER file (Diana Lau)
2017-09-01 12:51:28 -04:00
Jürg Lehni b6670f5d6c Transaction: Support moving timeout to connector 2017-08-31 16:43:51 +02:00
Kevin Delisle a22d8cb827 4.2.2
* Fix transaction (Diana Lau)
 * Fix comment lines (Quentin Presley)
 * Fix API docs (#80) (Rand McKinney)
2017-07-17 10:40:28 -04:00
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