feat: Document new method IUser::getFirstLogin in upgrade guide

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet
2025-04-22 12:38:01 +02:00
committed by backportbot[bot]
parent 01abdb286a
commit 1329f901e6

View File

@@ -175,6 +175,7 @@ Changed APIs
- It has a new method ``getMimeType()`` to get the new property.
- ``OCP\Files\Storage::needsPartFile`` method was moved to interface ``OCP\Files\Storage\IStorage``.
- The constructor was removed from interface ``OCP\Files\Storage\IStorage`` so that wrappers can use DI in their constructor. If your storage implementation is supposed to be built by calling the constructor, please implement the new interface ``OCP\Files\Storage\IConstructableStorage``.
- ``OCP\IUser::getFirstLogin`` method was added to get first known login of a user. It will return a unix timestamp, or 0 if the user never logged in, or -1 if this data is not known (meaning the first login of this user was from before ugrading to 31).
Deprecated APIs
^^^^^^^^^^^^^^^