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: 7.4
Choose a head ref
  • 14 commits
  • 28 files changed
  • 6 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 5, 2025

  1. 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

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 Jul 8, 2025

  1. Various CS fixes

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

Commits on Jul 15, 2025

  1. optimize in_array calls

    gharlan authored and nicolas-grekas committed Jul 15, 2025
    Configuration menu
    Copy the full SHA
    74f73c5 View commit details
    Browse the repository at this point in the history
  2. Merge branch '7.3' into 7.4

    * 7.3:
      [DoctrineBridge] Prevent idle connection listener from running on subrequests
      [Routing] Add test to validate that default value is allowed to not match requirement
      fix handling required options
      Fix @var phpdoc
      [Lock] [MongoDB] Enforce readPreference=primary and writeConcern=majority
      [FrameworkBundle] fix phpdoc in `MicroKernelTrait`
      Fixed validator translations for Albanian
    nicolas-grekas committed Jul 15, 2025
    Configuration menu
    Copy the full SHA
    a610721 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2025

  1. Fix typos

    nicolas-grekas committed Jul 24, 2025
    Configuration menu
    Copy the full SHA
    aff4fac View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2025

  1. run tests using PHPUnit 11.5

    xabbuh committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    8bd9f39 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2025

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

Commits on Aug 9, 2025

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

Commits on Aug 12, 2025

  1. run tests with PHPUnit 12.3

    xabbuh committed Aug 12, 2025
    Configuration menu
    Copy the full SHA
    9adbd24 View commit details
    Browse the repository at this point in the history
  2. minor #61373 chore: PHP CS Fixer - heredoc indentation as of PHP 7.3 …

    …(keradus)
    
    This PR was merged into the 7.4 branch.
    
    Discussion
    ----------
    
     chore: PHP CS Fixer - heredoc indentation as of PHP 7.3
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.4
    | Bug fix?      | no
    | New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
    | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
    | Issues        | Fix CS <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
    | License       | MIT
    
    inspired by symfony/symfony@06e22b0#r2265021821
    
    [Possible since PHP 7.3](https://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc)
    
    with love by [PHP Coding Standards Fixer](https://cs.symfony.com/)
    
    Commits
    -------
    
    4a25a6a5785 chore: heredoc indentation as of PHP 7.3
    nicolas-grekas committed Aug 12, 2025
    Configuration menu
    Copy the full SHA
    f900a79 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2025

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