Commit Graph

3012 Commits

Author SHA1 Message Date
Hage Yaapa 16ffd42c94
Merge pull request #1700 from strongloop/3x/type-sub-property
feat: Support "type" key in sub-properties in 3.x
2019-03-19 19:04:39 +05:30
Hage Yaapa d8e1c2c020 feat: support array within array in 3.x 2019-03-14 16:46:03 +05:30
Hage Yaapa 05b0d16c4a feat: Support "type" key in sub-properties in 3.x 2019-03-07 16:50:29 +05:30
Biniam Admikew 8be05cabde
Merge pull request #1683 from strongloop/fix/include-test-3.x
fix: use existing field in exclude test
2019-01-17 15:38:39 -05:00
biniam fdcae1f583 fix: use existing field in exclude test
Co-authored-by: Raymond Feng <rfeng@us.ibm.com>
2019-01-17 15:06:45 -05:00
Miroslav Bajtoš e141693e26
Merge pull request #1676 from strongloop/upgrade-eslint-config-3x
Upgrade eslint-config-loopback to latest
2018-12-07 18:07:23 +01:00
Miroslav Bajtoš b03ee61d37
eslint: manually fix remaining problems 2018-12-07 17:14:57 +01:00
Miroslav Bajtoš 481ad566d2
eslint: autofix linting errors 2018-12-07 17:13:48 +01:00
Miroslav Bajtoš 7eafe12042
eslint: upgrade eslint-config-loobpack to latest 2018-12-07 17:13:23 +01:00
Raymond Feng 293b093ffe 3.28.0
* Use options from request for settings (Raymond Feng)
2018-11-15 08:24:17 -08:00
Raymond Feng 4a6ea992fb Use options from request for settings 2018-11-15 08:23:23 -08:00
Raymond Feng 5229863812 3.27.0
* Allow flags to be passed via options (Raymond Feng)
 * chore: update file list for apidocs (biniam)
2018-11-12 11:38:39 -08:00
Raymond Feng 4d66702a37 Allow flags to be passed via options 2018-11-12 11:37:45 -08:00
biniam 4525e677fb chore: update file list for apidocs 2018-11-12 11:36:48 -08:00
Raymond Feng 6dbb357846 3.26.1
* [ BUGFIX ] maxDepthOfQuery config (leon3s)
2018-11-08 07:17:46 -08:00
leon3s b4c9cb5e99 [ BUGFIX ] maxDepthOfQuery config 2018-11-08 07:16:45 -08:00
Raymond Feng 0cd6615803 3.26.0
* Allow configuration of maxDepthOfQuery (Raymond Feng)
2018-10-31 09:13:15 -07:00
Raymond Feng 41d5f20fff Allow configuration of maxDepthOfQuery
https://github.com/strongloop/loopback-datasource-juggler/issues/1651
2018-10-31 09:12:43 -07:00
Raymond Feng b4d0cf54a8 3.25.2
* Check composite keys containing hidden props (Raymond Feng)
 * Improve hidden/protected property checks (Raymond Feng)
2018-10-29 13:12:23 -07:00
Raymond Feng 828fa3bcb6 Check composite keys containing hidden props 2018-10-29 13:11:50 -07:00
Raymond Feng aeee32294f 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-29 13:11:39 -07:00
Raymond Feng d3efc40a37 3.25.1
* Allow hidden/protected props as an object (Raymond Feng)
2018-10-27 07:56:12 -07:00
Raymond Feng 2fa5affd12 Allow hidden/protected props as an object
Fixes #1646
2018-10-27 07:55:17 -07:00
Raymond Feng 2105c22ab1 3.25.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)
 * remove null in embedded doc properties updates (Dimitris)
2018-10-26 09:26:02 -07:00
Raymond Feng 63f0fe20ed Ren handleUndefined to normalizeUndefinedInQuery 2018-10-26 09:23:10 -07:00
Raymond Feng 89bb3079bd Report circular or deep query objects 2018-10-26 09:23:01 -07:00
Raymond Feng 71f2e54de5 Hide offending properties from the error object 2018-10-26 09:19:36 -07:00
Raymond Feng bae60d1c08 Tidy up extended operator check 2018-10-26 09:18:44 -07:00
Raymond Feng 71f1259e72 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-26 09:18:25 -07:00
Raymond Feng 97f631bd9c Report errors for missing id props for include
https://github.com/strongloop/loopback/issues/4028
2018-10-26 09:15:50 -07:00
Miroslav Bajtoš f8b0d9d274
Merge pull request #1637 from strongloop/issue-1622-3x
remove null in embedded doc properties updates
2018-10-09 15:16:45 +02:00
Dimitris 63c68bba44
remove null in embedded doc properties updates
calling patchAttributes without all embedded properties inits to null
2018-10-09 14:56:41 +02:00
Miroslav Bajtoš 936f2db0c9
3.24.1
* Update LTS versions in README (Miroslav Bajtoš)
 * Set publish tag to "lts" in package.json (Miroslav Bajtoš)
2018-10-08 15:26:08 +02:00
Miroslav Bajtoš bd0adcac54
Merge pull request #1635 from strongloop/update-lts-3x
Update LTS versions in README
2018-10-08 09:01:12 +02:00
Miroslav Bajtoš 598a562163
Update LTS versions in README 2018-10-08 08:44:47 +02:00
Miroslav Bajtoš 48782ff1c4
Set publish tag to "lts" in package.json 2018-10-04 12:06:40 +02:00
Raymond Feng fcac276955 3.24.0
* Add IBM copyright and MIT license headers (Raymond Feng)
 * Allow List to take items as instances of a class (Raymond Feng)
 * fix: ignore extra properties when strict=filter (#1423) (Tom Kirkpatrick)
 * Add EventEmitter type info to DataSource type (shimks)
2018-09-17 09:03:33 -07:00
Raymond Feng 242fd1bb56
Merge pull request #1625 from strongloop/fix-list-of-class-instances
Allow List to take items as instances of a class
2018-09-17 09:02:16 -07:00
Raymond Feng 7c7bd56b2e Add IBM copyright and MIT license headers 2018-09-17 09:00:12 -07:00
Raymond Feng 7eec7e4e34 Allow List to take items as instances of a class 2018-09-17 08:22:21 -07:00
Tom Kirkpatrick 251798c711 fix: ignore extra properties when strict=filter (#1423)
Fix for #1422
2018-08-29 22:57:37 -04:00
Kyusung Shim 2b8b6719a7
Merge pull request #1611 from strongloop/datasource-event-type
Add EventEmitter type information to DataSource type
2018-07-25 16:15:07 -04:00
shimks 1e59918c11 Add EventEmitter type info to DataSource type 2018-07-25 15:13:54 -04:00
Raymond Feng 4d14c1473f 3.23.0
* fix: update TypeScript declaration for KV (Raymond Feng)
 * Upgrade eslint-config-loopback + fix formatting (Miroslav Bajtoš)
 * Hide nyc coverage from test output (Miroslav Bajtoš)
 * Configure Mocha to use dot reporter (Miroslav Bajtoš)
2018-07-16 11:15:14 -07:00
Raymond Feng 06284be673 Merge branch 'kv-types' 2018-07-16 11:11:32 -07:00
Raymond Feng 76b87ade93 fix: update TypeScript declaration for KV 2018-07-16 11:09:29 -07:00
Raymond Feng 9717e512b4
Merge pull request #1608 from strongloop/kv-types
fix: update TypeScript declaration for KV
2018-07-16 10:43:03 -07:00
Raymond Feng 535b000195 fix: update TypeScript declaration for KV 2018-07-16 10:11:54 -07:00
Miroslav Bajtoš 3e5c805418
Merge pull request #1609 from strongloop/update-eslint-config
Upgrade eslint-config-loopback + fix formatting
2018-07-16 17:55:24 +02:00
Miroslav Bajtoš 7d50f6130b
Upgrade eslint-config-loopback + fix formatting
The new version of our config enabled function-paren-newline rule,
this commit fixes the codebase to use more consistent handling
of newlines when calling functions.
2018-07-16 08:46:25 +02:00