From 4b604ad7822f42fe557128c1f4cac502f15bcbc8 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 26 Apr 2012 22:26:05 +0200 Subject: [PATCH] [Routing] added CHANGELOG --- CHANGELOG-2.1.md | 12 ----------- src/Symfony/Component/Routing/CHANGELOG.md | 23 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 12 deletions(-) create mode 100644 src/Symfony/Component/Routing/CHANGELOG.md diff --git a/CHANGELOG-2.1.md b/CHANGELOG-2.1.md index 600d11d13f..8d8098f63c 100644 --- a/CHANGELOG-2.1.md +++ b/CHANGELOG-2.1.md @@ -228,18 +228,6 @@ To get the diff between two versions, go to https://github.com/symfony/symfony/c * added method `guessPattern` to FormTypeGuesserInterface to guess which pattern to use in the HTML5 attribute "pattern" * deprecated method `guessMinLength` in favor of `guessPattern` -### Routing - - * the UrlMatcher does not throw a \LogicException any more when the required scheme is not the current one - * added a TraceableUrlMatcher - * added the possibility to define options, default values and requirements for placeholders in prefix, including imported routes - * added RouterInterface::getRouteCollection - * [BC BREAK] the UrlMatcher urldecodes the route parameters only once, they were decoded twice before. - Note that the `urldecode()` calls have been changed for a single `rawurldecode()` in order to support `+` for input paths. - * added RouteCollection::getRoot method to retrieve the root of a RouteCollection tree - * [BC BREAK] made RouteCollection::setParent private which could not have been used anyway without creating inconsistencies - * [BC BREAK] RouteCollection::remove also removes a route from parent collections (not only from its children) - ### Security * after login, the user is now redirected to `default_target_path` if `use_referer` is true and the referrer is the `login_path`. diff --git a/src/Symfony/Component/Routing/CHANGELOG.md b/src/Symfony/Component/Routing/CHANGELOG.md new file mode 100644 index 0000000000..306708b088 --- /dev/null +++ b/src/Symfony/Component/Routing/CHANGELOG.md @@ -0,0 +1,23 @@ +CHANGELOG +========= + +2.1.0 +----- + + * added RequestContext::fromRequest() + * the UrlMatcher does not throw a \LogicException anymore when the required + scheme is not the current one + * added TraceableUrlMatcher + * added the possibility to define options, default values and requirements + for placeholders in prefix, including imported routes + * added RouterInterface::getRouteCollection + * [BC BREAK] the UrlMatcher urldecodes the route parameters only once, they + were decoded twice before. Note that the `urldecode()` calls have been + changed for a single `rawurldecode()` in order to support `+` for input + paths. + * added RouteCollection::getRoot method to retrieve the root of a + RouteCollection tree + * [BC BREAK] made RouteCollection::setParent private which could not have + been used anyway without creating inconsistencies + * [BC BREAK] RouteCollection::remove also removes a route from parent + collections (not only from its children)