@cap-js/db-service 1.20.1 → 1.20.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/lib/infer/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,20 @@
|
|
|
4
4
|
- The format is based on [Keep a Changelog](http://keepachangelog.com/).
|
|
5
5
|
- This project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [1.20.3](https://github.com/cap-js/cds-dbs/compare/db-service-v1.20.2...db-service-v1.20.3) (2025-08-04)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
* detect path expression inside nested xpr after `exists` ([#1293](https://github.com/cap-js/cds-dbs/issues/1293)) ([05c045d](https://github.com/cap-js/cds-dbs/commit/05c045def55862028c026ba885dcfa4cfd019efc))
|
|
13
|
+
|
|
14
|
+
## [1.20.2](https://github.com/cap-js/cds-dbs/compare/db-service-v1.20.1...db-service-v1.20.2) (2025-05-28)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
* close dependency ranges to cds^8 ([#1214](https://github.com/cap-js/cds-dbs/issues/1214)) ([a4156e8](https://github.com/cap-js/cds-dbs/commit/a4156e8db4bba8688457fe635d76aa0f1ac38d1e))
|
|
20
|
+
|
|
7
21
|
## [1.20.1](https://github.com/cap-js/cds-dbs/compare/db-service-v1.20.0...db-service-v1.20.1) (2025-05-27)
|
|
8
22
|
|
|
9
23
|
|
package/lib/infer/index.js
CHANGED
|
@@ -404,7 +404,7 @@ function infer(originalQuery, model) {
|
|
|
404
404
|
if (arg.list) arg.list.forEach(arg => inferArg(arg, null, $baseLink, context))
|
|
405
405
|
if (arg.xpr)
|
|
406
406
|
arg.xpr.forEach((token, i) =>
|
|
407
|
-
inferArg(token, queryElements, $baseLink, { ...context, inXpr: true, inExists: arg.xpr[i - 1] === 'exists' }),
|
|
407
|
+
inferArg(token, queryElements, $baseLink, { ...context, inXpr: true, inExists: inExists || arg.xpr[i - 1] === 'exists' }),
|
|
408
408
|
) // e.g. function in expression
|
|
409
409
|
|
|
410
410
|
if (!arg.ref) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cap-js/db-service",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.3",
|
|
4
4
|
"description": "CDS base database service",
|
|
5
5
|
"homepage": "https://github.com/cap-js/cds-dbs/tree/main/db-service#cds-base-database-service",
|
|
6
6
|
"repository": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"generic-pool": "^3.9.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@sap/cds": ">=7.9"
|
|
30
|
+
"@sap/cds": ">=7.9 <9"
|
|
31
31
|
},
|
|
32
32
|
"license": "SEE LICENSE"
|
|
33
33
|
}
|