From 4991bde9735fad892e7ca72689ab81524e542304 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/3] 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 46768851714d7d1433f9a435b2e046c539420f86 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/3] 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. From 4c1d34fd9f826b5152d31c5201433229d36d0aab Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 12 Jun 2026 13:17:37 +0200 Subject: [PATCH 3/3] chore: use anonymous references as otherwise the label "Documentation" would be duplicated Signed-off-by: Ferdinand Thiessen --- developer_manual/release_notes/new.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/developer_manual/release_notes/new.rst b/developer_manual/release_notes/new.rst index f47bed53801..2f421d79f76 100644 --- a/developer_manual/release_notes/new.rst +++ b/developer_manual/release_notes/new.rst @@ -40,7 +40,7 @@ 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. See `Documentation `_. -- ``getAppFromNamespace(string $className): ?string`` does the opposite. Less common but it is used in guests application. See `Documentation `_. +- ``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.