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
Raymond Feng
3348d501e8
4.1.2
...
* Check composite keys containing hidden props (Raymond Feng)
* Improve hidden/protected property checks (Raymond Feng)
2018-10-29 13:10:37 -07:00
Raymond Feng
7609585dc3
Merge pull request #1649 from strongloop/fix-1645
...
Improve hidden/protected property checks
2018-10-29 13:09:33 -07:00
Raymond Feng
dbe25f282d
Check composite keys containing hidden props
2018-10-29 07:57:55 -07:00
Raymond Feng
8fa7c94605
Improve hidden/protected property checks
...
- Fixes #1645
- do not apply hidden property check for data
- Fixes #1648
- allow prohibitHiddenPropertiesInQuery to be set in model/ds
2018-10-28 10:03:12 -07:00
Raymond Feng
8ebb734a31
4.1.1
...
* Allow hidden/protected props as an object (Raymond Feng)
2018-10-27 07:54:38 -07:00
Raymond Feng
726c6978fc
Merge pull request #1647 from strongloop/fix-1646
...
Allow hidden/protected props as an object
2018-10-27 07:53:42 -07:00
Raymond Feng
2af2599a7d
Allow hidden/protected props as an object
...
Fixes #1646
2018-10-27 07:51:34 -07:00
Raymond Feng
708826cc49
4.1.0
...
* Ren handleUndefined to normalizeUndefinedInQuery (Raymond Feng)
* Report circular or deep query objects (Raymond Feng)
* Hide offending properties from the error object (Raymond Feng)
* Tidy up extended operator check (Raymond Feng)
* Prevent hidden/protected props from being searched (Raymond Feng)
* Report errors for missing id props for include (Raymond Feng)
* fix: add test coverage, correct typo that exposed (Matthew Gabeler-Lee)
* fix: accelerate unique id checking (Matthew Gabeler-Lee)
* remove null in embedded doc properties updates (Dimitris)
2018-10-26 09:25:30 -07:00
Raymond Feng
104b861747
Merge pull request #1638 from strongloop/exclude-hidden-properties-from-where
...
Report errors if where clause contains hidden properties
2018-10-26 09:14:08 -07:00
Raymond Feng
a391762771
Ren handleUndefined to normalizeUndefinedInQuery
2018-10-26 09:09:50 -07:00
Raymond Feng
0ce3f4ead9
Report circular or deep query objects
2018-10-25 15:14:20 -07:00
Raymond Feng
39ff54d392
Hide offending properties from the error object
2018-10-25 15:14:20 -07:00
Raymond Feng
a761e0d114
Tidy up extended operator check
2018-10-25 15:14:14 -07:00
Raymond Feng
f2e718639a
Prevent hidden/protected props from being searched
...
- report errors if where contains hidden properties
- report errors if incldue scope contains hidden or protected properties
2018-10-19 09:25:47 -07:00
Raymond Feng
f1f535846e
Merge pull request #1642 from strongloop/fix-4028
...
Report errors for missing id properties for include
2018-10-19 09:21:07 -07:00
Raymond Feng
60e16298f2
Report errors for missing id props for include
...
https://github.com/strongloop/loopback/issues/4028
2018-10-19 09:20:12 -07:00