Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: symfony/ux
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b5d1c85
Choose a base ref
...
head repository: symfony/ux
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c2f7738
Choose a head ref
  • 3 commits
  • 39 files changed
  • 3 contributors

Commits on May 19, 2025

  1. Update versions to 2.25.0

    Symfony committed May 19, 2025
    Configuration menu
    Copy the full SHA
    4e113bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    13755d9 View commit details
    Browse the repository at this point in the history
  3. bug #2749 Remove ComponentAttributeFactory and inject EscaperRuntime …

    …directly (smnandre)
    
    This PR was squashed before being merged into the 2.x branch.
    
    Discussion
    ----------
    
    Remove ComponentAttributeFactory and inject EscaperRuntime directly
    
    Replaces the `ComponentAttributesFactory` with direct usage of the `EscaperRuntime` from Twig
    
    ### Inject `EscaperRuntime` in `ComponentAttributes`
    * Replaced `ComponentAttributesFactory` with `Twig\Environment` and `EscaperRuntime` in `AddLiveAttributesSubscriber`, `LiveComponentHydrator`, and `ChildComponentPartialRenderer`, ensuring `ComponentAttributes` is instantiated with the necessary `EscaperRuntime`.
    * Updated the `ComponentAttributes` constructor to require `EscaperRuntime` directly, removing the deprecated `HtmlAttributeEscaperInterface`.
    
    ### Remove `ComponentAttributeFactory`
    * Removed all references to `ComponentAttributesFactory` and its related logic across the codebase
    * Adjusted unit and integration tests to reflect the removal of `ComponentAttributesFactory`
    
    ### Dependency Updates
    * Updated `symfony/ux-twig-component` dependency in `composer.json` to version `^2.25.1`
    
    ### Documentation Updates
    * Added a new entry in the `CHANGELOG.md` for version `2.25.1`
    
    Commits
    -------
    
    13755d9 Remove ComponentAttributeFactory and inject EscaperRuntime directly
    fabpot committed May 19, 2025
    Configuration menu
    Copy the full SHA
    c2f7738 View commit details
    Browse the repository at this point in the history
Loading