From 70b0ca2f601ed863d6bbb372f106ea43ff879602 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 12 Jan 2015 13:21:40 +0100 Subject: [PATCH] Add some more deprecated information --- developer_manual/app/changelog.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/developer_manual/app/changelog.rst b/developer_manual/app/changelog.rst index 3098026fb..9e0bd12eb 100644 --- a/developer_manual/app/changelog.rst +++ b/developer_manual/app/changelog.rst @@ -21,6 +21,14 @@ Deprecations * `OCP\\AppFramework\\IAppContainer `_: methods **getCoreApi** and **log**. Removal planned in **8.3** * `OCP\\AppFramework\\Controller `_: methods **params**, **getParams**, **method**, **getUploadedFile**, **env**, **cookie**, **render**. Removal planned in **8.3** +.. note:: Deprecations of constants and methods with namespaces! + +* The following methods have been moved into the **OCP\\Template::** class instead of being namespaced directly: +**OCP\\image_path**, **OCP\\mimetype_icon**, **OCP\\preview_icon**, **OCP\\publicPreview_icon**, **OCP\\human_file_size**, **OCP\\relative_modified_date**, **OCP\\html_select_options**. Removal planned in **9.0** +* **OCP\\simple_file_size** has been deprecated in favour of **OCP\\Template::human_file_size**. Removal planned in **9.0** +* The **OCP\\PERMISSION_** and **OCP\\FILENAME_INVALID_CHARS** have been moved to **OCP\\Constants::**. Removal planned in **9.0** +* The **OC_GROUP_BACKEND_** and **OC_USER_BACKEND_** have been moved to **OC_Group_Backend::** and **OC_User_Backend::** respectively. Removal planned in **9.0** + Features ======== @@ -36,4 +44,4 @@ Features * The :doc:`container ` can now automatically resolve and build classes based on type hints and variable naming conventions * :doc:`Routes ` can now be returned as an array in **appinfo/routes.php** if the **** tag is set in **appinfo/info.xml**. The :doc:`container ` must either be omitted or available under **appinfo/application.php** and named **OCA\\YourApp\\YourNamespace\\AppInfo\\Application** * **vendor_script** and **vendor_style** :doc:`template functions ` have been added to load styles and scripts from your **vendor** folder -* The documentation now features an :doc:`app tutorial ` \ No newline at end of file +* The documentation now features an :doc:`app tutorial `