Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork98
PermalinkChoose a base ref {{ refName }}default Choose a head ref {{ refName }}default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also orlearn 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
Uh oh!
There was an error while loading.Please reload this page.
base:7614b8c
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}defaultLoading
...
head repository:symfony/routing
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
Uh oh!
There was an error while loading.Please reload this page.
compare:a610721
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}defaultLoading
- 7commits
- 5files changed
- 4contributors
Commits on Jun 2, 2025
Allow query-specific parameters in URL generator using
_query
BenMorel committedJun 2, 2025 - nicolas-grekas committed
Jun 2, 2025
Commits on Jun 5, 2025
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 | MITThis 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/statsAnd I want to generate this URL:https://fr.example.com/admin/stats?siteCode=usWith 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 committedJun 5, 2025
Commits on Jun 14, 2025
replace expectDeprecation() with expectUserDeprecationMessage()
xabbuh committedJun 14, 2025
Commits on Jul 15, 2025
* 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 committedJul 15, 2025
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:git diff 7614b8c...a610721
Uh oh!
There was an error while loading.Please reload this page.