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/routing
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v8.0.0-RC2
Choose a base ref
...
head repository: symfony/routing
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v8.0.0-RC3
Choose a head ref
  • 8 commits
  • 6 files changed
  • 2 contributors

Commits on Nov 21, 2025

  1. Configuration menu
    Copy the full SHA
    2d502e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2385f15 View commit details
    Browse the repository at this point in the history
  3. bug #62461 [Routing] Fix localized prefix updates breaking aliases (y…

    …oeunes)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [Routing] Fix localized prefix updates breaking aliases
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | -
    | License       | MIT
    
    When importing routes with a localized prefix, the original route is replaced by localized versions and removed. However, existing aliases pointing to that route remain unchanged, resulting in broken links to a non-existent target.
    
    This PR ensures that when a route is localized via prefix, its aliases are also localized accordingly.
    
    Commits
    -------
    
    fb9dcc214ff [Routing] Fix localized prefix updates breaking aliases
    nicolas-grekas committed Nov 21, 2025
    Configuration menu
    Copy the full SHA
    16519ed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6c11ba9 View commit details
    Browse the repository at this point in the history
  5. bug #62459 [Routing] Fix case sensitivity for static host matching in…

    … compiled routes (yoeunes)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [Routing] Fix case sensitivity for static host matching in compiled routes
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | -
    | License       | MIT
    
    `CompiledUrlMatcher` uses string comparison for static hosts, but checks lowercased request host against the original route host. This fails if the route host has uppercase letters (e.g., `'api.example.com' !== 'API.example.com'`), throwing `ResourceNotFoundException`.
    
    `UrlMatcher` avoids this via case-insensitive regex.
    
    This PR lowercases static hosts in `CompiledUrlMatcherDumper` for consistency.
    
    Commits
    -------
    
    9c33b1fdb6b [Routing] Fix case sensitivity for static host matching in compiled routes
    nicolas-grekas committed Nov 21, 2025
    Configuration menu
    Copy the full SHA
    24fb53f View commit details
    Browse the repository at this point in the history
  6. Merge branch '6.4' into 7.3

    * 6.4:
      [Routing] Fix case sensitivity for static host matching in compiled routes
      [Routing] Fix localized prefix updates breaking aliases
      [Routing] Fix addNamePrefix breaking aliases to external routes
      [Workflow] Fix MethodMarkingStore crash with inherited uninitialized properties
      [AssetMapper] Fix entrypoint status lost during update
      [Console] Fix completion for global options values
    nicolas-grekas committed Nov 21, 2025
    Configuration menu
    Copy the full SHA
    e416862 View commit details
    Browse the repository at this point in the history
  7. Merge branch '7.3' into 7.4

    * 7.3:
      [Routing] Fix case sensitivity for static host matching in compiled routes
      [Routing] Fix localized prefix updates breaking aliases
      [Routing] Fix addNamePrefix breaking aliases to external routes
      [Workflow] Fix MethodMarkingStore crash with inherited uninitialized properties
      [AssetMapper] Fix entrypoint status lost during update
      [Console] Fix completion for global options values
    nicolas-grekas committed Nov 21, 2025
    Configuration menu
    Copy the full SHA
    ea13dce View commit details
    Browse the repository at this point in the history
  8. Merge branch '7.4' into 8.0

    * 7.4:
      [Routing] Fix case sensitivity for static host matching in compiled routes
      [Routing] Fix localized prefix updates breaking aliases
      [Routing] Fix addNamePrefix breaking aliases to external routes
      [Workflow] Fix MethodMarkingStore crash with inherited uninitialized properties
      [AssetMapper] Fix entrypoint status lost during update
      [ObjectMapper] map to embedded object with property access
      [FrameworkBundle] Make `APP_*_DIR` relative to the project directory
      [Console] Fix completion for global options values
    nicolas-grekas committed Nov 21, 2025
    Configuration menu
    Copy the full SHA
    babf6b9 View commit details
    Browse the repository at this point in the history
Loading