浏览代码

udpated UPDATE file

Fabien Potencier 14 年之前
父节点
当前提交
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`