Fabien Potencier 14 лет назад
Родитель
Сommit
cd256c17ae
1 измененных файлов с 17 добавлено и 13 удалено
  1. 17 13
      UPDATE.md

+ 17 - 13
UPDATE.md

@@ -6,6 +6,23 @@ one. It only discusses changes that need to be done when using the "public"
 API of the framework. If you "hack" the core, you should probably follow the
 API of the framework. If you "hack" the core, you should probably follow the
 timeline closely anyway.
 timeline closely anyway.
 
 
+PR8 to PR10
+-----------
+
+* Namespace for validators has changed from `validation` to `assert` (it was
+  announced for PR9 but it was not the case then):
+
+    Before:
+
+        @validation:NotNull
+
+    After:
+
+        @assert:NotNull
+
+    Moreover, the `Assert` prefix used for some constraints has been removed
+    (`AssertTrue` to `True`).
+
 PR8 to PR9
 PR8 to PR9
 ----------
 ----------
 
 
@@ -51,19 +68,6 @@ PR8 to PR9
         app/Resources/views/base.html.twig
         app/Resources/views/base.html.twig
         app/Resources/AcmeDemo/views/base.html.twig
         app/Resources/AcmeDemo/views/base.html.twig
 
 
-* Namespace for validators has changed from `validation` to `assert`:
-
-    Before:
-
-        @validation:NotNull
-
-    After:
-
-        @assert:NotNull
-
-    Moreover, the `Assert` prefix used for some constraints has been removed
-    (`AssertTrue` to `True`).
-
 * Bundle logical names lose their `Bundle` suffix:
 * Bundle logical names lose their `Bundle` suffix:
 
 
     *Controllers*: `BlogBundle:Post:show` -> `Blog:Post:show`
     *Controllers*: `BlogBundle:Post:show` -> `Blog:Post:show`