Commit Graph

3004 Commits

Author SHA1 Message Date
Jam Risser ff5a3fa8bf Update datasource-connector.md (#1703)
Corrected typo in docs
2019-03-28 16:34:35 -04:00
Hage Yaapa 3f9448f5d2
Merge pull request #1699 from strongloop/fix/list-format
feat: support array within array
2019-03-19 19:06:08 +05:30
Hage Yaapa 80d8fcd8b1 feat: support array within array 2019-03-07 15:58:26 +05:30
Janny 5a7c0326ab
fix: update lodash (#1696) 2019-03-01 14:29:56 -05:00
Diana Lau ce7194ff6a 4.6.0
* feat: Support "type" key in sub-properties (Hage Yaapa)
 * fix: use correct callback for geo find queries (biniam)
 * fix: update typescript declarations (biniam)
2019-02-26 14:27:50 -05:00
biniam 75a8c6a309 4.5.4
* fix: use correct callback for geo find queries (biniam)
 * fix: update typescript declarations (biniam)
2019-02-26 14:22:13 -05:00
Hage Yaapa 01df3705d1
Merge pull request #1693 from strongloop/feat/type-sub-property
feat: Support "type" key in sub-properties
2019-02-26 20:49:52 +05:30
Hage Yaapa a391c83a2c feat: Support "type" key in sub-properties 2019-02-21 13:58:34 +05:30
Biniam Admikew 70b3bb6aae
Merge pull request #1690 from strongloop/fix/near-filter-cb
Fix callback for find queries with near filters
2019-02-15 11:00:30 -05:00
biniam 5e0c73bec7 fix: use correct callback for geo find queries 2019-02-14 15:45:13 -05:00
Biniam Admikew c7d23d18d0
Merge pull request #1654 from strongloop/fix/types
fix: update typescript declarations
2019-01-31 00:33:19 -05:00
biniam 4b705b127c fix: update typescript declarations 2019-01-31 00:29:35 -05:00
Miroslav Bajtoš 4d288813e2
4.5.3
* Support nested properties with class type (Miroslav Bajtoš)
2019-01-29 15:51:58 +01:00
Miroslav Bajtoš c0a778eeab
Merge pull request #1670 from up-group/master
Enable to target ES6
2019-01-29 15:50:56 +01:00
Miroslav Bajtoš fd99c6dc6e
Support nested properties with class type
When converting plain-data object values into model instances,
correctly handle the case where the constructor functions is a class
constructor and must be invoked via `new`.
2019-01-25 10:05:36 +01:00
Miroslav Bajtoš 4c69781504
4.5.2
* Improve Model type definitions (Miroslav Bajtoš)
 * fix: use existing field in exclude test (biniam)
2019-01-24 16:55:49 +01:00
Miroslav Bajtoš 928747f795
Merge pull request #1685 from strongloop/fix/type-defs
Improve Model type definitions
2019-01-24 16:54:37 +01:00
Miroslav Bajtoš 81fc722b72
Improve Model type definitions
Define two new types: ModelSettings and ModelProperties to describe the
objects describing model properties and settings.

Add static property `base` and static method `extend` to the definition
of `ModelBase` class.

Add property `defaultModelBaseClass` to `ModelBuilder` class definition.

Fix `PropertyDefinition` interface: remove `name`, add optional `id`.
2019-01-24 16:27:40 +01:00
Biniam Admikew 0ec951ee11
Merge pull request #1682 from strongloop/fix/include-test
fix: use existing field in exclude test
2019-01-16 14:33:55 -05:00
biniam 0b81425a13 fix: use existing field in exclude test
Co-authored-by: Raymond Feng <rfeng@us.ibm.com>
2019-01-16 13:24:27 -05:00
Diana Lau d3f63a8ecd 4.5.0
* Revert "5.0.0". It was released accidentally. (Diana Lau)
 * Upgrade eslint-config-loopback to latest (Miroslav Bajtoš)
 * manually fix remaining problems (Miroslav Bajtoš)
 * autofix eslint errors (Miroslav Bajtoš)
 * eslint: enable no-var and prefer-const rules (Miroslav Bajtoš)
 * Update eslint-config-loopback to latest (Miroslav Bajtoš)
 * Update dependencies to latest versions (Miroslav Bajtoš)
 * Upgrade bson to 4.x (latest) (Miroslav Bajtoš)
 * feat: dataSource.execute(cmd, args, opts, cb) (Miroslav Bajtoš)
 * eslint: enable ES2017 (async functions) (Miroslav Bajtoš)
2018-12-14 08:49:17 -05:00
Diana Lau 92499aa152 Revert "5.0.0". It was released accidentally.
This reverts commit caa36a21da.
2018-12-14 08:47:15 -05:00
Diana Lau caa36a21da 5.0.0
* Upgrade eslint-config-loopback to latest (Miroslav Bajtoš)
 * manually fix remaining problems (Miroslav Bajtoš)
 * autofix eslint errors (Miroslav Bajtoš)
 * eslint: enable no-var and prefer-const rules (Miroslav Bajtoš)
 * Update eslint-config-loopback to latest (Miroslav Bajtoš)
 * Update dependencies to latest versions (Miroslav Bajtoš)
 * Upgrade bson to 4.x (latest) (Miroslav Bajtoš)
 * feat: dataSource.execute(cmd, args, opts, cb) (Miroslav Bajtoš)
 * eslint: enable ES2017 (async functions) (Miroslav Bajtoš)
2018-12-14 08:29:22 -05:00
Miroslav Bajtoš 47ef38e9f1
Merge pull request #1675 from strongloop/upgrade-eslint-config
Upgrade eslint-config-loopback to latest
2018-12-07 17:15:44 +01:00
Miroslav Bajtoš 09e2208062
Upgrade eslint-config-loopback to latest 2018-12-07 17:09:10 +01:00
Miroslav Bajtoš bd5fd07d27
Merge pull request #1674 from strongloop/eslint/use-const-not-var
Refactor: migrate from "var" to "const"
2018-12-07 16:56:45 +01:00
Miroslav Bajtoš 9e0f624ad5
manually fix remaining problems 2018-12-07 16:46:15 +01:00
Miroslav Bajtoš 422ec9ad4f
autofix eslint errors 2018-12-07 16:46:15 +01:00
Miroslav Bajtoš 261ca1f092
eslint: enable no-var and prefer-const rules 2018-12-07 16:40:03 +01:00
Miroslav Bajtoš 8684df62a6
Merge pull request #1673 from strongloop/upgrade-deps
Upgrade dependencies to their latest versions
2018-12-07 16:31:17 +01:00
Miroslav Bajtoš 84322d07a9
Update eslint-config-loopback to latest 2018-12-07 16:22:59 +01:00
Miroslav Bajtoš e513c0d355
Update dependencies to latest versions
Skip update of shouldjs to avoid breaking tests in connectors.
2018-12-07 16:22:59 +01:00
Miroslav Bajtoš e834368502
Upgrade bson to 4.x (latest) 2018-12-07 16:22:59 +01:00
Miroslav Bajtoš 0cf0fa95ff
Merge pull request #1671 from strongloop/feat/execute
feat: dataSource.execute(cmd, args, opts, cb)
2018-12-07 16:21:15 +01:00
Miroslav Bajtoš fda332d60b
feat: dataSource.execute(cmd, args, opts, cb)
Implement a new helper API for calling connector's "execute" method
in a promise-friendly way.
2018-12-07 14:51:14 +01:00
Miroslav Bajtoš 3c2669ed7d
eslint: enable ES2017 (async functions) 2018-12-07 14:48:07 +01:00
Raymond Feng 5f713f0319 4.4.0
* Use options from request for settings (Raymond Feng)
2018-11-15 08:21:10 -08:00
Raymond Feng b2cbf99e73
Merge pull request #1662 from strongloop/set-default-remote-options
Use options.remotingContext for conditional settings
2018-11-15 08:19:21 -08:00
Raymond Feng f9131aa18f Use options from request for settings 2018-11-13 12:32:55 -08:00
Raymond Feng 49330322ef 4.3.0
* Allow flags to be passed via options (Raymond Feng)
 * chore: update file list for apidocs (biniam)
2018-11-12 11:35:49 -08:00
Raymond Feng 8f095520f4
Merge pull request #1661 from strongloop/allow-flags-in-options
Allow flags to be passed via options
2018-11-12 11:33:54 -08:00
Biniam Admikew 916d80c36d
Merge pull request #1660 from strongloop/fix/update-apidocs-file-list
chore: update file list for apidocs
2018-11-09 14:30:22 -05:00
Raymond Feng f6e1df87be Allow flags to be passed via options 2018-11-09 09:33:05 -08:00
biniam cc276643a2 chore: update file list for apidocs 2018-11-09 11:59:22 -05:00
Raymond Feng a39cbebf94 4.2.1
* [ BUGFIX ] maxDepthOfQuery config (leon3s)
2018-11-07 12:52:03 -08:00
Raymond Feng 0f0b391f67
Merge pull request #1658 from leon3s/fix-maxDepthOfQuery-config
[ BUGFIX ] maxDepthOfQuery config
2018-11-07 12:50:42 -08:00
leon3s 65548b6fe0 [ BUGFIX ] maxDepthOfQuery config 2018-11-06 17:29:14 +01:00
Raymond Feng f0a6bd146b 4.2.0
* Allow configuration of maxDepthOfQuery (Raymond Feng)
2018-10-31 09:11:58 -07:00
Raymond Feng 35f61c4aa4
Merge pull request #1652 from strongloop/fix-1651
Allow configuration of maxDepthOfQuery
2018-10-31 09:10:03 -07:00
Raymond Feng eb85b3e3a6 Allow configuration of maxDepthOfQuery
https://github.com/strongloop/loopback-datasource-juggler/issues/1651
2018-10-31 08:45:16 -07:00