10000 merged branch Tobion/patch-2 (PR #5663) · dirkaholic/symfony@c77d326 · GitHub
[go: up one dir, main page]

Skip to content

Commit c77d326

Browse files
committed
merged branch Tobion/patch-2 (PR symfony#5663)
This PR was merged into the master branch. Commits ------- 94f2fb9 added info to routing changelog Discussion ---------- added info to routing changelog
2 parents 4eee88f + 94f2fb9 commit c77d326

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/Symfony/Component/Routing/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
CHANGELOG
22
=========
33

4+
2.2.0
5+
-----
6+
7+
* Adjacent placeholders without separator work now, e.g. `/{x}{y}{z}.{_format}`.
8+
* Characters that function as separator between placeholders are now whitelisted
9+
to fix routes with normal text around a variable, e.g. `/prefix{var}suffix`.
10+
* [BC BREAK] The default requirement of a variable has been changed slightly.
11+
Previously it disallowed the previous and the next char around a variable. Now
12+
it disallows the slash (`/`) and the next char. Using the previous char added
13+
no value and was problematic because the route `/index.{_format}` would be
14+
matched by `/index.ht/ml`.
15+
* The default requirement now uses possesive quantifiers when possible which
16+
improves matching performance by up to 20% because it prevents backtracking
17+
when it's not needed.
18+
419
2.1.0
520
-----
621

0 commit comments

Comments
 (0)
0