Commit Graph

272 Commits

Author SHA1 Message Date
Loay Gewily c232653c5d Fix replaceById unfound id bug 2017-01-26 00:22:43 -05: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
Simon Ho 9a7a01f863 Merge pull request #69 from strongloop/update-support-URL
Replicate .github from loopback repo
2016-12-06 23:56:04 -08:00
Siddhi Pai d563b2d564 Update paid support URL 2016-12-06 03:07:08 -08:00
siddhipai 05ab492d98 Start 3.x + drop support for Node v0.10/v0.12
Start 3.x + drop support for Node v0.10/v0.12
2016-11-21 12:41:41 -08: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š f2affc0dfa Merge pull request #66 from yosimasu/issue/export-json-string-packer
Export JSONStringPacker
2016-11-10 10:01:15 +01:00
Masu Lin f08cf3d7a8 Export JSONStringPacker 2016-11-10 11:26:13 +08:00
Miroslav Bajtoš 3ad313aed6 2.7.0
* Add JSONStringPacker (Masu Lin)
2016-11-08 14:49:56 +01:00
Miroslav Bajtoš a812e4648a Merge pull request #65 from yosimasu/feature/json-string-packer
Support JSONStringPacker
2016-11-08 14:49:14 +01:00
Masu Lin d45aaec5ef Add JSONStringPacker
Add a helper for encoding JavaScript values into JSON String format.

The implementation is based on JSON String format
and preserves JavaScript objects like Buffers
and Dates, as opposed to encoding format.
2016-10-29 00:20:34 +08: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š 9c3fec9a5a Merge pull request #63 from strongloop/feature/keyvalue-helpers
KeyValue helpers
2016-10-24 10:15:35 +02:00
Miroslav Bajtoš 512ff29aa9 Increase delay in tests to stop intermittent fails 2016-10-24 10:05:25 +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
Candy 29c37c4f1a Update translation files - round#2 (#62) 2016-09-28 14:19:30 -07:00
Amirali Jafarian 826ad37e75 Merge pull request #60 from strongloop/add-translatedFiles
Add translation files
2016-09-22 15:29:05 -04:00
Amir Jafarian 9950753656 Add translated files 2016-09-22 15:12:46 -04:00
Miroslav Bajtoš 7f6292cfc2 Merge pull request #61 from strongloop/update-lb-3-rc
Update deps to LB 3.0.0 RC
2016-09-22 13:04:49 +02:00
Miroslav Bajtoš 93f4f0a5d9 Update deps to LB 3.0.0 RC 2016-09-22 12:52:35 +02:00
Loay c6a68ec5d8 Merge pull request #59 from strongloop/update/juggler3
Run CI with juggler3
2016-09-16 11:24:46 -04:00
Loay 3089248447 Run CI with juggler3 2016-09-15 16:17:23 -04:00
Candy cc8809a230 Merge pull request #55 from strongloop/initial_glob
Add globalization
2016-07-27 17:29:42 -04:00
Candy d8f303178c Add globalization 2016-07-27 13:19:19 -04:00
Ryan Graham a61d8c8e2d Update URLs in CONTRIBUTING.md (#53) 2016-07-13 17:59:10 -07: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
Ryan Graham 958c6619e3
update copyright notices and license 2016-05-05 21:50:59 -07:00
Amir-61 c15a4b5994 Merge pull request #46 from strongloop/eslint
Add eslint
2016-04-11 15:20:14 -04:00
Amir Jafarian 70277da109 Fix linting errors 2016-04-11 13:06:33 -04:00
Amir Jafarian fc33ced470 Auto-update by eslint --fix 2016-04-09 14:35:52 -04:00
Amir Jafarian 9061026027 Add eslint infrastructure 2016-04-09 14:31:22 -04:00
Amir-61 505d219129 Merge pull request #35 from strongloop/replace
Implement replace
2016-03-28 17:06:11 -04:00
Raymond Feng c010aed2bb Merge pull request #36 from maorhayoun/master
fixed build of where statement when filter contains non-existing column
2016-03-23 08:29:55 -07:00
Maor Hayun eba7e68059 fixed build of where statement when filter contains non-existing column 2016-02-06 19:07:49 +02:00
Amir Jafarian 9c7fef5789 change replace to replaceById 2016-01-27 09:46:35 -05:00
Amir Jafarian b16f9e0169 Remove underscore from _buildReplaceFields
*Remove underscore from _buildReplaceFields because it is a protected method subject to override by subclasses.
2016-01-14 12:46:14 -05:00
Amir Jafarian 48931922c3 Change _buildReplace to buildReplace 2016-01-12 17:27:55 -05:00
Amir Jafarian 98795213fc Change _buildUpdate to buildUpdate 2016-01-12 13:22:37 -05:00
Amir Jafarian 97c972e3ea Apply feedback 2016-01-09 03:23:49 -05:00
Amir Jafarian 1e5c7dbfc4 call execute directly for _replace 2016-01-07 22:03:10 -05:00
Amir Jafarian 3a92328fc3 Implement replaceAttributes 2016-01-07 18:12:45 -05:00
Raymond Feng 26712a7014 Merge pull request #34 from eugene-frb/master
1. Error logging. 2. Options argument of model's include function to …
2015-11-23 15:08:19 -08:00
Raymond Feng cbb25cc37f Merge pull request #30 from mrbatista/typo-transaction
Fixed typo
2015-11-23 15:07:35 -08:00
eugene-frb 0cb12f085b Removed filterWhere option
The correct place to set this option that triggers injection of
PARTITION BY clause is includeHasMany() in juggler.js.
2015-11-19 11:18:17 -08:00
eugene-frb ac52394746 1. Error logging. 2. Options argument of model's include function to pass filter.where object. 2015-11-10 14:48:52 -08:00
Sam Roberts 286ead05af Refer to licenses with a link 2015-11-03 12:27:49 -08:00