mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Merge pull request #10484 from nextcloud/user-migration-32-bit
This commit is contained in:
@@ -46,6 +46,10 @@ Added APIs
|
||||
* New property ``$actionLabel`` has been added to the ``\OCP\Files\Template\TemplateFileCreator`` class with a respective setter ``TemplateFileCreator::setActionLabel`` and getter ``TemplateFileCreator::getActionLabel``. (`nextcloud/server#37929 <https://github.com/nextcloud/server/pull/37929>`_ + `nextcloud/server#37955 <https://github.com/nextcloud/server/pull/37955>`_)
|
||||
* A new interface ``\OCP\Group\Backend\ISearchableGroupBackend`` was added for group backends supporting new method ``searchInGroup`` to search among a group users in an efficient way. (`nextcloud/server#32866 <https://github.com/nextcloud/server/pull/32866>`_)
|
||||
|
||||
Changed APIs
|
||||
^^^^^^^^^^^^
|
||||
|
||||
* ``\OCP\UserMigration\ISizeEstimationMigrator::getEstimatedExportSize()`` now returns ``int|float`` to support 32-bit systems. (`nextcloud/server#38104 <https://github.com/nextcloud/server/pull/38104>`_)
|
||||
|
||||
Deprecated APIs
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
@@ -60,8 +60,9 @@ whenever a user export or import begins.
|
||||
* Should be fast, favor performance over accuracy.
|
||||
*
|
||||
* @since 25.0.0
|
||||
* @since 27.0.0 return value may overflow from int to float
|
||||
*/
|
||||
public function getEstimatedExportSize(IUser $user): int {
|
||||
public function getEstimatedExportSize(IUser $user): int|float {
|
||||
$size = 100; // 100KiB for user data JSON
|
||||
return $size;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user