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: 7.3
Choose a base ref
...
head repository: symfony/routing
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8.0
Choose a head ref
  • 10 commits
  • 5 files changed
  • 4 contributors

Commits on Jun 2, 2025

  1. Configuration menu
    Copy the full SHA
    9cd8dd3 View commit details
    Browse the repository at this point in the history
  2. Allow Symfony ^8.0

    nicolas-grekas committed Jun 2, 2025
    Configuration menu
    Copy the full SHA
    c715671 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2025

  1. Configuration menu
    Copy the full SHA
    608459e View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2025

  1. Configuration menu
    Copy the full SHA
    589b5de View commit details
    Browse the repository at this point in the history
  2. feature #60508 [Routing] Allow query-specific parameters in `UrlGener…

    …ator` using `_query` (BenMorel)
    
    This PR was merged into the 7.4 branch.
    
    Discussion
    ----------
    
    [Routing] Allow query-specific parameters in `UrlGenerator` using `_query`
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.4
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | Issues        | -
    | License       | MIT
    
    This PR adds support for a special `_query` key in `$parameters` of `UrlGenerator::generate()`, that is used exclusively to generate query parameters. This is useful when query parameters may conflict with route parameters of the same name.
    
    Concrete use case:
    
    My application has a route that looks like:
    
        https://{siteCode}.{domain}/admin/stats
    
    And I want to generate this URL:
    
        https://fr.example.com/admin/stats?siteCode=us
    
    With this PR, I can now call:
    
    ```php
    $urlGenerator->generate('admin_stats', [
        'siteCode' => 'fr',
        'domain' => 'example.com',
        '_query' => [
            'siteCode' => 'us',
        ]
    ]);
    ```
    
    Commits
    -------
    
    e3513bdf48c Allow query-specific parameters in URL generator using `_query`
    nicolas-grekas committed Jun 5, 2025
    Configuration menu
    Copy the full SHA
    c2f1999 View commit details
    Browse the repository at this point in the history
  3. Merge branch '7.4' into 8.0

    * 7.4:
      Test AssetMapper with and without ext-brotli/ext-zstd in one job
      [PhpUnitBridge] Add `strtotime()` to `ClockMock`
      [JsonPath] Fix typo in comment in JsonCrawler
      Allow query-specific parameters in URL generator using `_query`
    nicolas-grekas committed Jun 5, 2025
    Configuration menu
    Copy the full SHA
    4fd7468 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2025

  1. Configuration menu
    Copy the full SHA
    1366ed8 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2025

  1. Merge branch '7.4' into 8.0

    * 7.4:
      Fix-type-error-when-revealing-broken-secret
      replace expectDeprecation() with expectUserDeprecationMessage()
      fix compatibility with Relay 0.11
      [Security] Handle non-callable implementations of `FirewallListenerInterface`
      [Console] Allow Usages to be specified via #[AsCommand]
      [DomCrawler] Allow selecting `button`s by their `value`
      flip excluded properties with keys with Doctrine-style constraint config
      [JsonPath] Test against official compliance test suite
      Silence E_DEPRECATED and E_USER_DEPRECATED
      [HttpCache] Hit the backend only once after waiting for the cache lock
      fix compatibility with Symfony 7.4
      [Form] Keep submitted values when keep_as_list option of collection type is enabled
      [Form] Fix `keep_as_list` when data is not an array
      [JsonPath] Fix subexpression evaluation in filters
      [JsonPath] Fix support for comma separated indices
    nicolas-grekas committed Jun 15, 2025
    Configuration menu
    Copy the full SHA
    e05c906 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2025

  1. Configuration menu
    Copy the full SHA
    12f7de4 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2025

  1. Configuration menu
    Copy the full SHA
    6d44831 View commit details
    Browse the repository at this point in the history
Loading