mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 10:20:02 +07:00
Add some more deprecated information
This commit is contained in:
@@ -21,6 +21,14 @@ Deprecations
|
||||
* `OCP\\AppFramework\\IAppContainer <https://github.com/owncloud/core/blob/d59c4e832fea87d03d199a3211186a47fd252c32/lib/public/appframework/iappcontainer.php>`_: methods **getCoreApi** and **log**. Removal planned in **8.3**
|
||||
* `OCP\\AppFramework\\Controller <https://github.com/owncloud/core/blob/d59c4e832fea87d03d199a3211186a47fd252c32/lib/public/appframework/controller.php>`_: 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::<method>** 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_<permission>** and **OCP\\FILENAME_INVALID_CHARS** have been moved to **OCP\\Constants::<old name>**. Removal planned in **9.0**
|
||||
* The **OC_GROUP_BACKEND_<method>** and **OC_USER_BACKEND_<method>** have been moved to **OC_Group_Backend::<method>** and **OC_User_Backend::<method>** respectively. Removal planned in **9.0**
|
||||
|
||||
Features
|
||||
========
|
||||
|
||||
@@ -36,4 +44,4 @@ Features
|
||||
* The :doc:`container <container>` can now automatically resolve and build classes based on type hints and variable naming conventions
|
||||
* :doc:`Routes <routes>` can now be returned as an array in **appinfo/routes.php** if the **<namespace>** tag is set in **appinfo/info.xml**. The :doc:`container <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 <templates>` have been added to load styles and scripts from your **vendor** folder
|
||||
* The documentation now features an :doc:`app tutorial <tutorial>`
|
||||
* The documentation now features an :doc:`app tutorial <tutorial>`
|
||||
|
||||
Reference in New Issue
Block a user