Skip to content

feat: Extend versioninfo with framework information - #1681

Open
d3xter666 wants to merge 7 commits into
mainfrom
feat-extend-versioninfo-with-framework
Open

d3xter666 wants to merge 7 commits into
mainfrom
feat-extend-versioninfo-with-framework

Conversation

@d3xter666

@d3xter666 d3xter666 commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

JIRA: CPOUI5FOUNDATION-839

Adds a top-level framework: {name, version} object to the JSON produced
by the generateVersionInfo task of @ui5/builder.

Resolution order in generateVersionInfo:

  1. Explicit framework.name/framework.version from ui5.yaml: emits
    that name and version (name must be "OpenUI5" or "SAPUI5").
  2. npm-scope scan of dependency project IDs via Project.getId():
    any @sapui5/ dep wins immediately (SAPUI5, ""); @openui5/ deps
    accumulate and yield the sap.ui.core version.
  3. Fallback: name="", version="" — framework object is always present.

Note: The build is curently failing since middlewareUtil is missing an API defined in https://github.com/UI5/cli/pull/1697/changes#diff-06a9c15663418255fca0a774c361570875c054ac822c61f5b95d67fcc27b4aacR176

@d3xter666
d3xter666 requested a review from a team October 27, 2026 08:34
@d3xter666
d3xter666 force-pushed the feat-extend-versioninfo-with-framework branch from feaad4d to 81ac824 Compare October 29, 2026 13:12
@d3xter666

Copy link
Copy Markdown
Member Author

Blocked for now since it depends on: #1697

Note: this adjustment relies heavily on the implementation in #1697. Without it, the build will be failing since middlewareUtil.getResolvedFrameworkVersion() does not exists yet

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants