From fac1b3b6e3b9750162738aab5cb246bcc2af2c61 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Wed, 14 May 2025 12:57:55 +0200 Subject: [PATCH] feat(developer): document `\OCP\Files\IFilenameValidator::sanitizeFilename` Signed-off-by: Ferdinand Thiessen --- .../app_upgrade_guide/upgrade_to_32.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_32.rst b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_32.rst index a861f8d09ce..56361348605 100644 --- a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_32.rst +++ b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_32.rst @@ -37,8 +37,9 @@ Added APIs ^^^^^^^^^^ - New task processing task type ``OCP\TaskProcessing\TextToSpeech`` to convert text to speech. -- New method ``\OCP\IUser::canChangeEmail`` allowing to check if the user backend allows the user to change their email address. - New interface ``\OCP\Share\IShareProviderSupportsAllSharesInFolder`` extending ``\OCP\Share\IShareProvider`` to add the method ``\OCP\Share\IShareProviderSupportsAllSharesInFolder::getAllSharesInFolder`` used for querying all shares in a folder without filtering by user. +- New method ``\OCP\IUser::canChangeEmail`` allowing to check if the user backend allows the user to change their email address. +- New method ``\OCP\Files\IFilenameValidator::sanitizeFilename`` allowing to sanitize a given filename to comply with configured constraints. Changed APIs ^^^^^^^^^^^^