File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/Symfony/Component/Routing Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ CHANGELOG
1515 * The default requirement now uses possesive quantifiers when possible which
1616 improves matching performance by up to 20% because it prevents backtracking
1717 when it's not needed.
18+ * The ConfigurableRequirementsInterface can now also be used to disable the requirements
19+ check on URL generation completely by calling ` setStrictRequirements(null) ` . It
20+ improves performance in production environment as you should know that params always
21+ pass the requirements (otherwise it would break your link anyway).
1822
19232.1.0
2024-----
@@ -37,5 +41,6 @@ CHANGELOG
3741 been used anyway without creating inconsistencies
3842 * [ BC BREAK] RouteCollection::remove also removes a route from parent
3943 collections (not only from its children)
40- * added strict_requirements option to disable exceptions (and generate empty
41- URLs instead) when generating a route with an invalid parameter value
44+ * added ConfigurableRequirementsInterface that allows to disable exceptions
45+ (and generate empty URLs instead) when generating a route with an invalid
46+ parameter value
You can’t perform that action at this time.
0 commit comments