[Form] Prevent trigger of E_USER_DEPRECATED for new API
updated CHANGELOG for 2.0.21
updated VERSION for 2.0.21
bumped Symfony version to 2.0.21-DEV
add preferred_query option to ModelType

This enables the ModelChoiceList to use 'preferred_choices' of the parent ChoiceType.
use preferred_choices in favor of preferred_query
HttpUtils must handle RequestMatcher too
[Validator] Card validation - Italian translations
merged branch hpatoio/master (PR #6477)

This PR was merged into the master branch.

Commits
-------

0fa7378 [Validator] Card validation - Italian translations

Discussion
----------

[Validator] Card validation - Italian translations

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: no
[Routing] Used static to call constant in XmlFileLoader
[HttpKernel] changed the value of route to the pattern when it is a Route object in the data collector

This allows to have a meaningful information in the WDT when the route
in the Request is not the route name but the route object (like in
Drupal for instance).
[HttpKernel] fixed bundles var initialization
Fixed php doc of GenericEvent::__construct
merged branch lyrixx/fix-eventdispatcher (PR #6487)

This PR was merged into the 2.1 branch.

Commits
-------

abf5e51 [EventDispatcher] Fixed php doc of GenericEvent::__construct

Discussion
----------

[EventDispatcher] Fixed php doc of GenericEvent::__construct

```
Bug fix: yes (doc)
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes (no modified)
Fixes the following tickets: -
Todo: -
License of the code: MIT
```

---------------------------------------------------------------------------

by drak at 2012-12-26T21:51:54Z

Well spotted.
merged branch francisbesset/routing_constant_usage (PR #6449)

This PR was merged into the master branch.

Commits
-------

18daa10 [Routing] Used static to call constant in XmlFileLoader

Discussion
----------

[2.2][Routing] Used static to call constant in XmlFileLoader

It is more complicated to override XmlFileLoader if contants are called with `self`.
This PR replace `self` to `static`.

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
License of the code: MIT

---------------------------------------------------------------------------

by piotrpasich at 2012-12-21T08:17:14Z

+1
merged branch havvg/feature/propel1-modelchoice-preferred (PR #6454)

This PR was merged into the 2.1 branch.

Commits
-------

05fca6d use preferred_choices in favor of preferred_query
6855cff add preferred_query option to ModelType

Discussion
----------

[Propel1] add preferred_choices option to ModelType

This enables the ModelChoiceList to use 'preferred_choices' of the parent ChoiceType.

Ping @willdurand

---------------------------------------------------------------------------

by willdurand at 2012-12-22T09:39:39Z

:+1:
[Tests] Fix namespaces
Use KernelEvents constants in TraceableEventDispatcher
merged branch franmomu/fix_test_namespaces (PR #6497)

This PR was merged into the 2.1 branch.

Commits
-------

a6704f3 [Tests] Fix namespaces

Discussion
----------

[Tests] Fix namespaces
[DependencyInjection] fixed setting a synthetic service on a frozen container