From 29cb270f0b92bf63ef21272fde7ba604de606c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Thu, 7 May 2026 15:28:16 +0200 Subject: [PATCH 1/2] feat: Document IAppManager::getAppNamespace new method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- developer_manual/release_notes/deprecations.rst | 5 +++++ developer_manual/release_notes/new.rst | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/developer_manual/release_notes/deprecations.rst b/developer_manual/release_notes/deprecations.rst index 75965bfb926..dba1b2d72ea 100644 --- a/developer_manual/release_notes/deprecations.rst +++ b/developer_manual/release_notes/deprecations.rst @@ -26,6 +26,11 @@ New deprecations - ``\OCP\Util::isPublicLinkPasswordRequired`` is now deprecated and you need to use ``\OCP\Share\IManager::shareApiLinkEnforcePassword`` instead. - ``\OCP\Util::isDefaultExpireDateEnforced`` is now deprecated and you need to use ``\OCP\Share\IManager::shareApiLinkDefaultExpireDateEnforced`` instead. +Application management +^^^^^^^^^^^^^^^^^^^^^^ + +- ``\OCP\AppFramework\App::buildAppNamespace`` is deprecated in favor of non-static method ``\OCP\App\IAppManager::getAppNamespace`` + Older deprecations ------------------ diff --git a/developer_manual/release_notes/new.rst b/developer_manual/release_notes/new.rst index 23e7be73396..39e6ae63530 100644 --- a/developer_manual/release_notes/new.rst +++ b/developer_manual/release_notes/new.rst @@ -34,3 +34,12 @@ but they might be required to have a fully working instance later on. Expensive repair steps are only executed when explicitly requested by the administrator. See :ref:`migration-repair-steps` for details. + +Application namespace management +-------------------------------- + +``\OCP\App\IAppManager`` was extended with two new methods related to application namespaces: +- ``getAppNamespace(string $appId): string`` returns the namespace for an application from its appid +- ``getAppFromNamespace(string $className): ?string`` does the opposite. Less common but it is used in guests application. + +This replaces a static method in ``\OCP\AppFramework\App`` which is now deprecated. From 42cd8d6c9c0092df6c91f97dc0677832ad5f0b57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Tue, 19 May 2026 17:37:56 +0200 Subject: [PATCH 2/2] fix: Fix IAppManager new method documentation, add link MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- developer_manual/release_notes/new.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/developer_manual/release_notes/new.rst b/developer_manual/release_notes/new.rst index 39e6ae63530..f47bed53801 100644 --- a/developer_manual/release_notes/new.rst +++ b/developer_manual/release_notes/new.rst @@ -39,7 +39,8 @@ Application namespace management -------------------------------- ``\OCP\App\IAppManager`` was extended with two new methods related to application namespaces: -- ``getAppNamespace(string $appId): string`` returns the namespace for an application from its appid -- ``getAppFromNamespace(string $className): ?string`` does the opposite. Less common but it is used in guests application. -This replaces a static method in ``\OCP\AppFramework\App`` which is now deprecated. +- ``getAppNamespace(string $appId): string`` returns the namespace for an application from its appid. See `Documentation `_. +- ``getAppFromNamespace(string $className): ?string`` does the opposite. Less common but it is used in guests application. See `Documentation `_. + +This replaces static method ``\OCP\AppFramework\App::buildAppNamespace`` which is now deprecated.