@saptools/service-flow 0.1.58 → 0.1.60
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 +11 -0
- package/dist/{chunk-CRSSXWQ2.js → chunk-BGD7UYJN.js} +433 -166
- package/dist/chunk-BGD7UYJN.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/parsers/000-direct-query-execution.ts +2 -0
- package/src/parsers/001-query-entity-resolution.ts +622 -0
- package/src/parsers/outbound-call-parser.ts +15 -109
- package/dist/chunk-CRSSXWQ2.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.60
|
|
4
|
+
|
|
5
|
+
- Fixed RC-A by resolving remote `send({ query: ... })` entities from the original query initializer AST and its real lexical scope, removing the isolated text reparse that fabricated parameter, mutable-local, runtime-const, runtime-destructured, and shadowed entity names while preserving genuine static entities and top-level query aliases.
|
|
6
|
+
- Fixed RC-B by assigning the existing query warning to query-present remote calls whose entity stays dynamic, matching local query diagnostics without changing the `remote_query` call type, confidence, schema, linker, trace, or output shape and completing the remote identifier-reparsing follow-up documented in 0.1.59.
|
|
7
|
+
|
|
8
|
+
## 0.1.59
|
|
9
|
+
|
|
10
|
+
- Fixed RC-A by making local DB query entities lexical-binding-aware: parameters, simple mutable locals, runtime const aliases, destructuring from runtime or reassigned sources, and direct `this.<field>` targets now remain dynamic at the existing low-confidence warning path instead of becoming fabricated entities.
|
|
11
|
+
- Preserved concrete imported/global and string entities, bounded immutable aliases, literal element access, `<x>.entities.Name`, and P1/P2/P3 entity destructuring from CAP entity collections or `#cds-models`; aliased destructuring records the public source property. Direct `this.<field>` entity caches deliberately pay the fail-closed compatibility cost, including in isolated remote-query hints, while remote identifier reparsing remains a known follow-up.
|
|
12
|
+
- Fixed RC-B by recognizing `SELECT.distinct.from` and `SELECT.distinct.one.from` as CAP query-builder roots for both direct and `cds.run(...)` execution, retaining one fact per fluent statement without schema, linker, trace, or output-shape changes.
|
|
13
|
+
|
|
3
14
|
## 0.1.58
|
|
4
15
|
|
|
5
16
|
- Completed RC5 with a deterministic link-phase workspace pass that resolves package-import symbol calls to uniquely matching exported symbols in uniquely identified indexed sibling packages, including package subpath imports and receiver-qualified member calls.
|