Skip to content

XRENDERING-803: Add support for overwriting the list of transformations to execute from the transformation context#370

Merged
mflorea merged 4 commits intomasterfrom
XRENDERING-803
Feb 13, 2026
Merged

XRENDERING-803: Add support for overwriting the list of transformations to execute from the transformation context#370
mflorea merged 4 commits intomasterfrom
XRENDERING-803

Conversation

@mflorea
Copy link
Copy Markdown
Member

@mflorea mflorea commented Feb 10, 2026

Jira URL

https://jira.xwiki.org/browse/XRENDERING-803

Changes

Description

Adds two methods to the TransformationContext:

TransformationContext#setTransformationNames(List<String>)
TransformationContext#getTransformationNames()

Updates the DefaultTransformationManager to take into account the new context information.

Clarifications

This is needed for the new $services.rendering.transform() API that will allow specifying the list of transformations to execute.

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches:
    • N/A

…ns to execute from the transformation context
@mflorea mflorea requested review from tmortagne and vmassol February 10, 2026 16:53
@mflorea mflorea self-assigned this Feb 10, 2026
…ns to execute from the transformation context

* Providing an empty list should skip the transformation execution.
* Use Optional to make it more clear that the list might not be set on the transformation context.
@mflorea mflorea merged commit 46e0bcd into master Feb 13, 2026
2 checks passed
@mflorea mflorea deleted the XRENDERING-803 branch February 13, 2026 08:14
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.

3 participants