Content-Length: 283354 | pFad | http://github.com/symfony/routing/compare/7.3...8.0

36 Comparing 7.3...8.0 · symfony/routing · GitHub
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
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 5 files changed
  • 2 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
Loading








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/symfony/routing/compare/7.3...8.0

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy