File tree Expand file tree Collapse file tree
developer_manual/release_notes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,12 @@ New deprecations
2020
2121.. todo :: This page needs a section for every new deprecation.
2222
23+ Application management
24+ ^^^^^^^^^^^^^^^^^^^^^^
25+
26+ - ``\OCP\AppFramework\App::buildAppNamespace `` is deprecated in favor of non-static method ``\OCP\App\IAppManager::getAppNamespace ``
27+
28+
2329Older deprecations
2430------------------
2531
Original file line number Diff line number Diff line change @@ -34,3 +34,12 @@ but they might be required to have a fully working instance later on.
3434Expensive repair steps are only executed when explicitly requested by the administrator.
3535
3636See :ref: `migration-repair-steps ` for details.
37+
38+ Application namespace management
39+ --------------------------------
40+
41+ ``\OCP\App\IAppManager `` was extended with two new methods related to application namespaces:
42+ - ``getAppNamespace(string $appId): string `` returns the namespace for an application from its appid
43+ - ``getAppFromNamespace(string $className): ?string `` does the opposite. Less common but it is used in guests application.
44+
45+ This replaces a static method in ``\OCP\AppFramework\App `` which is now deprecated.
You can’t perform that action at this time.
0 commit comments