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
  • 20 commits
  • 25 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 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

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
  3. Merge branch '7.4' into 8.0

    * 7.4:
      [HttpKernel][Security] Refactor: use `getAttributes` with argument
      mark getRequiredOptions()/getDefaultOption() of UniqueEntity as deprecated
      do not install ext-zstd on PHP 8.5
      [DoctrineBridge] Prevent idle connection listener from running on subrequests
      optimize `in_array` calls
      [Routing] Add test to validate that default value is allowed to not match requirement
      [DependencyInjection] Fix proxying services defined with an abstract class and a factory
      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
    fcd5440 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 28, 2025

  1. Merge branch '7.4' into 8.0

    * 7.4:
      [Serializer] Make data provider return type match its PHPDoc
      fix fixture files locations
      resolve conflict
      [Console] Fix `TreeHelper::addChild` when providing a string
      [Serializer] Handle invalid mapping type property type
      [Config] Do not generate unreachable configuration paths
      [WebProfilerBundle] Fix missing indent on non php files opended in the profiler
      [Serializer] Add missing CHANGELOG entry
      [Validator] Add `min` and `max` in both error messages of `LengthValidator`
      remove docblocks for deprecated argument types
      [ObjectMapper] skip reading uninitialized values
      [Security] Support union type for `#[CurrentUser]` attribute
      Fix typos
      [Serializer] Add CDATA_WRAPPING_NAME_PATTERN support to XmlEncoder
      [JsonPath] Fix parsing invalid Unicode codepoints
      [FrameworkBundle] Fix cache warmers tests
      [AssetMapper] Add support for loading JSON using import statements
      [BrowserKit] Add PHPUnit constraints: `BrowserHistoryIsOnFirstPage` and `BrowserHistoryIsOnLastPage`
    xabbuh committed Jul 28, 2025
    Configuration menu
    Copy the full SHA
    130d38c 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 1, 2025

  1. Merge branch '7.4' into 8.0

    * 7.4:
      run tests using PHPUnit 11.5
      make data provider static
      [Lock] Fix using fractional TTLs on all platforms
      [Lock] Fixes an issue with PostgreSQL when using fractional TTLs
      [Console][Table] Fix unnecessary wrapping
      [DependencyInjection] Deprecate registering a service without a class when its id is a non-existing FQCN
      disable detecting modified indexes with DBAL 4.3
      [cache] RedisTrait::doFetch should use pipeline instead of mget for Relay\Cluster
      relax assertions for forward compatibility with Symfony 7.4
      [Console][Table] Fix invalid UTF-8 due to text wrapping
    nicolas-grekas committed Aug 1, 2025
    Configuration menu
    Copy the full SHA
    aa4a8fe 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
  2. Merge branch '7.4' into 8.0

    * 7.4:
      replace PHPUnit annotations with attributes
    nicolas-grekas committed Aug 4, 2025
    Configuration menu
    Copy the full SHA
    3a94277 View commit details
    Browse the repository at this point in the history
Loading