Skip to content

Commit 2607769

Browse files
committed
feat: Document removal of OCP\Files\Storage in 31
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 parent 1975985 commit 2607769

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_31.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Changed APIs
6565
- Legacy class ``OC_Image`` was moved to ``OC\Image``. You should never use it directly but use ``new \OCP\Image()`` instead for building the object and the ``OCP\IImage`` interface for calling methods.
6666
- ``OCP\Preview\BeforePreviewFetchedEvent`` constructor has a new parameter ``$mimeType`` which should be a string or null.
6767
- It has a new method ``getMimeType()`` to get the new property.
68+
- ``OCP\Files\Storage::needsPartFile`` method was moved to interface ``OCP\Files\Storage\IStorage``.
6869

6970
Deprecated APIs
7071
^^^^^^^^^^^^^^^
@@ -86,6 +87,7 @@ Removed APIs
8687
})
8788
8889
- Legacy class ``OC_API`` was moved to a private namepsace. It should not be needed by applications.
90+
- Deprecated interface ``OCP\Files\Storage`` was removed. Use ``OCP\Files\Storage\IStorage`` instead.
8991

9092
Back-end changes
9193
----------------

0 commit comments

Comments
 (0)