merged branch Tobion/patch-2 (PR #5663)

This PR was merged into the master branch.

Commits
-------

94f2fb9 added info to routing changelog

Discussion
----------

added info to routing changelog
This commit is contained in:
Fabien Potencier 2012-10-03 19:07:09 +02:00
commit c77d326157

View File

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