Repository navigation
chore(deps): upgrade to CAP 10.2 - #2966
Merged
Merged
Conversation
Bumps change-tracking 2.2.3, hana 3.1.2, ord 1.10.2, sqlite 3.1.2, telemetry 2.2.0, websocket 1.11.4. Holds @cap-js/ai at ~1.1.0 and @cap-js/mcp at 1.3.0 — both are @sap/cds >=8/9 peers (10.2-compatible) and their newer releases carry breaking changes orthogonal to the runtime upgrade: - @cap-js/mcp 1.5.0 refactored lib/tools.js, removing the deep-imported getInstructions/register* symbols used by srv/lib/mcp-compose-router.js. - @cap-js/ai 1.3.0 added startup Hugging Face model discovery requiring @huggingface/hub, turning every dev/test/CI boot into a potential HF download. Both bumps belong in dedicated follow-up issues.
srv-qa is a separate deployable CAP module with its own lockfile; the check-srv-qa-dep-parity static guard requires exact-range parity with root for @sap/cds and @cap-js/hana. Regenerated srv-qa/package-lock.json (resolves cds 10.2.2 / hana 3.1.2).
This was referenced Nov 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2908
Summary
@sap/cds+@sap/cds-dkto^10.2.0(resolves cds 10.2.2 / cds-dk 10.2.0)@cap-js/*plugins to latest 10.2-compatible: change-tracking 2.2.3, hana 3.1.2, ord 1.10.2, sqlite 3.1.2, telemetry 2.2.0, websocket 1.11.4Deliberately held back (10.2-compatible as-is; breaking changes are orthogonal to the runtime upgrade)
@cap-js/aikept at~1.1.0— 1.3.0 adds startup Hugging Face model discovery for the local sqlite embedding kind (all-MiniLM-L6-v2), which hard-fails without@huggingface/huband downloads on cache-miss environments (CI). Dev/test-only path (prod/hybrid useAICore-btpDB-nativeVECTOR_EMBEDDING), but still a boot-time network regression. Peer@sap/cds >=9→ 10.2-compatible. Bumping + proper HF pre-provisioning belongs in its own issue.@cap-js/mcpkept at1.3.0— 1.5.0 refactoredlib/tools.js, removing the deep-importedgetInstructions/register*symbols thatsrv/lib/mcp-compose-router.jsrelies on. Peer@sap/cds >=8→ 10.2-compatible. Adapting the compose router to 1.5.0's newcreate*ToolDefinition/execute*API belongs in its own issue.@cap-js/data-inspectorkept at1.0.5(2.0.1 is a major bump of a build-model plugin, out of scope).Opt-in flags deferred
cds.fiori.draft_admin_integrity/draft_orphan_cleanup— NOT adopted. AdminService has load-bearingbefore('DELETE')handlers on draft composition entities (CompletionPathItems/GroupPathItemscapture parent FK before removal;TutorialsDELETE). The release notes warn the cascade path "changes which handlers are called"; verifying safety needs HANA draft-delete testing. Should land together in a dedicated HANA-tested follow-up.@cds.autoexpose: false— additive API-export annotation, no current need.Breaking changes checked
@odata.metadataEtagremoval andCqnSelect.getTransformations()immutability are CAP Java only — no matches insrv/ortest/(this is a Node.js project).call-tool default is correctly overridden by existingcds.mcp.per_action_tool: true.Note for reviewers
The committed plan doc (
docs/superpowers/plans/2026-11-01-cap-10-2-upgrade.md) lists the intended targets (ai ^1.3.0, mcp ^1.5.0, adopt draft flags) that execution deliberately overrode after discovering the breaking changes above. The shipped code is correct; only the plan text reads ahead of reality.Test plan
cds watchdev-server smoke (reviewer)