Skip to content

Commit de825a1

Browse files
authored
Merge pull request #13004 from nextcloud/backport/13001/stable31
[stable31] feat: Document removal of OCP\Files\Storage in 31
2 parents 3da9469 + 9697546 commit de825a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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 namespace. 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)