@@ -33,16 +33,19 @@ UPGRADE FROM 2.0 to 2.1
3333 Retrieving the locale from a Twig template:
3434
3535 Before:` {{ app.request.session.locale }} ` or` {{ app.session.locale }} `
36+
3637 After:` {{ app.request.locale }} `
3738
3839 Retrieving the locale from a PHP template:
3940
4041 Before:` $view['session']->getLocale() `
42+
4143 After:` $view['request']->getLocale() `
4244
4345 Retrieving the locale from PHP code:
4446
4547 Before:` $session->getLocale() `
48+
4649 After:` $request->getLocale() `
4750
4851* Method` equals ` of` Symfony\Component\Security\Core\User\UserInterface ` has
@@ -138,7 +141,7 @@ UPGRADE FROM 2.0 to 2.1
138141
139142* The strategy for generating the HTML attributes "id" and "name"
140143 of choices in a choice field has changed
141-
144+
142145 Instead of appending the choice value, a generated integer is now appended
143146 by default. Take care if your Javascript relies on that. If you can
144147 guarantee that your choice values only contain ASCII letters, digits,
@@ -148,7 +151,7 @@ UPGRADE FROM 2.0 to 2.1
148151
149152* The strategy for generating the HTML attributes "value" of choices in a
150153 choice field has changed
151-
154+
152155 Instead of using the choice value, a generated integer is now stored.
153156 Again, take care if your Javascript reads this value. If your choice field
154157 is a non-expanded single-choice field, or if the choices are guaranteed not