tweaked UPDATE file

This commit is contained in:
Fabien Potencier 2011-07-13 16:40:15 +02:00
parent 4004b4411e
commit 0883fed86c

View File

@ -13,18 +13,24 @@ RC4 to RC5
`Symfony\Component\Security\Core\User\EntityUserProvider` to
`Symfony\Bridge\Doctrine\Security\User\EntityUserProvider`.
* Moved cookies management of HeaderBag in ResponseHeaderBag of the HttpFoundation.
To access a cookie in Request instance, please use Request::$cookies public attribute.
* Cookies access from `HeaderBag` has been removed. Accessing Request cookies
must be done via `Request::$cookies``.
* It is not possible to know if a cookie is present or get a cookie in ResponseHeaderBag
because getCookie() and hasCookie() methods were removed.
* `ResponseHeaderBag::getCookie()` and `ResponseHeaderBag::hasCookie()`
methods were removed.
* The method `ResponseHeaderBag::getCookie()` accepts an argument for the return format,
the possible values are `ResponseHeaderBag::COOKIES_FLAT` (default value) or `ResponseHeaderBag::COOKIES_ARRAY`
* ResponseHeaderBag::COOKIES_FLAT return a simple array
* array(0 => `a cookie instance`, 1 => `another cookie instance`)
* ResponseHeaderBag::COOKIES_ARRAY return a multidimensional array
* array(`the domain` => array(`the path` => array(`the cookie name` => `a cookie instance`)))
* The method `ResponseHeaderBag::getCookie()` now supports an argument for the
returned format (possible values are `ResponseHeaderBag::COOKIES_FLAT`
(default value) or `ResponseHeaderBag::COOKIES_ARRAY`).
* `ResponseHeaderBag::COOKIES_FLAT` returns a simple array (the array keys
are not cookie names anymore):
* array(0 => `a Cookie instance`, 1 => `another Cookie instance`)
* `ResponseHeaderBag::COOKIES_ARRAY` returns a multi-dimensional array:
* array(`the domain` => array(`the path` => array(`the cookie name` => `a Cookie instance`)))
* Removed the guesser for the Choice constraint as the constraint only knows
about the valid keys, and not their values.