Skip to content

feat!: Disable generation of library manifest - #1533

Open
d3xter666 wants to merge 4 commits into
mainfrom
feat-limit-generateLibraryManifest
Open

feat!: Disable generation of library manifest#1533
d3xter666 wants to merge 4 commits into
mainfrom
feat-limit-generateLibraryManifest

Conversation

@d3xter666

@d3xter666 d3xter666 commented Aug 21, 2026

Copy link
Copy Markdown
Member

JIRA: CPOUI5FOUNDATION-1156

BREAKING CHANGE: The generateLibraryManifest build task is no longer executed for library projects using Specification Version 5.0 or higher. Libraries must provide a manifest.json directly in their source directory.
The behavior for Specification Version 4.0 and lower is unchanged.

@d3xter666
d3xter666 requested a review from KlattG August 21, 2026 11:06
@d3xter666

d3xter666 commented Aug 21, 2026

Copy link
Copy Markdown
Member Author

Hi @KlattG

Would you take a look at the modified docs:

Cheers

@d3xter666
d3xter666 requested a review from a team August 21, 2026 11:08
/**
* Task for creating a library manifest.json from its .library file.
*
* **Note:** This task is not executed for projects using Specification Version 5.0 or higher.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The task itself is independent from the decision not to run it in certain scenarios. If you call it directly, you can execute it for a library project with specVersion 5.0 or higher. Same as we will still call it for the framework libraries.

As the task itself stays independent, I would not mention anything in this JSDoc here.

<sup>5</sup> Can be enabled for framework projects via the `includeTask` option. For other projects, this task is skipped
<sup>6</sup> Disabled for the server due to a corresponding middleware producing the same output
<sup>6</sup> Disabled for the server due to a corresponding middleware producing the same output
<sup>7</sup> Enabled for Specification Version 4.0 and lower. Not executed for Specification Version 5.0 and higher — libraries must provide a `manifest.json` in their source directory

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This note is missing to explain the exception for framework projects (similar to <sup>5</sup>)


## Breaking Changes

- **@ui5/builder: `generateLibraryManifest` task is not executed for Specification Version 5.0**

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure whether this change is a breaking change of @ui5/builder, especially as the PR only adds JSDoc comments to files in the builder package, but does not adjust any code.

In addition, I'm also not sure whether this PR is a breaking change in general. It is a breaking change that comes with specVersion 5.0, but not a change that needs adjustment by consumers, unless they upgrade to specVersion 5.0. This is an important difference which allows us to make sure changes without disrupt existing projects.


## generateLibraryManifest Task No Longer Executed

With **Specification Version 5.0**, the [`generateLibraryManifest`](../api/module-@ui5_builder_tasks_generateLibraryManifest) build task is no longer executed. Libraries must provide a `manifest.json` directly in their source directory.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also mention the breaking change in the Specification Version documentation at internal/documentation/docs/pages/Configuration.md ?

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