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