What's new in Symfony 2.1
Here are some of the new features of Symfony2.1 not in the 'upgrade' documentation.
Find them all by searching for "New in version 2.1"
This is only the first of 4 result pages on the site, there is a current bug in the documentation site which offsets the page result by (page) rather than (page*pagelength).
Underscores in Class Names:
Class names (read: Filenames) can no longer contain '_'. They shouldn't have before, but the autoloader doesn't load them any more. (so much for my _superclass)
Form Collection Prototype
The placeholder was changed from $name$ to name This will break your form - but makes for heaps easier regex later on. http://symfony.com/doc/current/cookbook/form/form_collections.html
Validations:
Range (Value is between x and y) http://symfony.com/doc/master/reference/constraints/Range.html
Count (Collection length min and max) http://symfony.com/doc/master/reference/constraints/Count.html
Length (String length min and max) http://symfony.com/doc/master/reference/constraints/Length.html
Image mime types (min/max width/height)
http://symfony.com/doc/master/reference/constraints/Image.html
The isValid method was renamed to validate
Repeated field
Allows different options for the first and second field - means you can have two different labels among other things. http://symfony.com/doc/master/reference/forms/types/repeated.html
UserInterface equals() removed
http://symfony.com/doc/master/cookbook/security/entity_provider.html
Email field types "checkHost" option
If true, then the checkdnsrr PHP function will be used to check the validity of the MX or the A or the AAAA record of the host of the given email. http://symfony.com/doc/master/reference/constraints/Email.html
Hinclude in twig
"Tired of regenerating HTML pages from templates? Want more from Web caches? HInclude makes one thing very easy; including other bits of HTML into your Web page, using the browser." http://mnot.github.com/hinclude/ http://symfony.com/doc/master/book/templating.html
Security Paths
New in version 2.1: As of Symfony 2.1, you must have routes configured for your login_path (e.g./login), check_path (e.g. /login_check) and logout (e.g. /logout - see Logging Out) URLs. http://symfony.com/doc/master/book/security.html