-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
Description
Continuation of #20953
Front-end
tbd
Deprecated global variables
- tbd
Backend
- Secure random params became mandatory Make $vars and $secureRandom required. #24629
- handle nested properties for contact updates handle nested properties for contact updates #23317
Removed from public namespace:
OCP\Settings\ISectionin favor ofOCP\Settings\IIconSectionRemove ISection in favor of IIconSection #23770OCP\AppFramework\Http\OCSResponseRemove deprecated OCSResponse #23827OCP\Router\IRouter::getRoutingFilesRemove some IRouter methods #21716OCP\Router\IRouter::getCacheKeyRemove some IRouter methods #21716OCP\Router\IRouter::loadRoutesRemove some IRouter methods #21716OCP\Router\IRouter::useCollectionRemove some IRouter methods #21716OCP\Router\IRouter::getCurrentCollectionRemove some IRouter methods #21716OCP\Router\IRouter::matchRemove some IRouter methods #21716OCP\Router\IRouter::getGeneratorRemove some IRouter methods #21716OCP\Router\IRouter::generateRemove some IRouter methods #21716
Removed from private namespace:
OC\Hooks\ForwardingEmitterandOC\Hooks\LegacyEmitterRemove unused private ForwardEmitter and LegacyEmitter #23766OCA\Files_External\MountConfig::registerBackend,OCA\Files_External\MountConfig::getPersonalMountPointsandOCA\Files_External\MountConfig::setUserVarsRemove unused and deprecated methods from files_external MountConfig #24038OC\Router\Router::getCacheKeyRemove some IRouter methods #21716
Deprecations
OCP\EventDispatcher\IEventDispatcher::dispatchin favor ofdispatchTypedDeprecate \OCP\EventDispatcher\IEventDispatcher::dispatch #23724OCP\Util::connectHookandOCP\Util::emitHookin favor ofaddListeneranddispatchTypedofOCP\EventDispatcher\IEventDispatcherDeprecate OCP\Util::connectHook and emitHook #23768OCP\Files\Storage\INotifyStorage::listenin favor ofOCP\Files\Storage\INotifyStorage::notify()->listen()Remove deprecated INotifyStorage::listen #23771OC_DB::prepareandOC_DB::executeAuditedDeprecate OC_DB::prepare and OC_DB::executeAudited as they leak cursors #23929- DI container names
EncryptionFileHelperandEncryptionKeyStorageare deprecated (useOCP\Encryption\IFile::classandOCP\Encryption\Keys\IStorage::classinstead) Auto-wire as much as possible in the encryption app #24064
Deprecations of Events & Hooks
| Deprecated event names | Use instead this typed event (in Nextcloud 21 onwards) | Pull request |
|---|---|---|
\OC\User::postCreateUser |
OCP\User\Events\CreateUserEvent |
#23901 |
\OC\SubAdmin::postCreateSubAdmin |
OCP\Group\Events\SubAdminAddedEvent |
#23765 |
OC_SubAdmin::post_createSubAdmin (was removed) |
OCP\Group\Events\SubAdminAddedEvent |
#23765 |
\OC\SubAdmin::postDeleteSubAdmin |
OCP\Group\Events\SubAdminRemovedEvent |
#23765 |
OC_SubAdmin::post_deleteSubAdmin (was removed) |
OCP\Group\Events\SubAdminRemovedEvent |
#23765 |
OC_Group::pre_createGroup (was removed) |
OCP\Group\Events\BeforeGroupCreatedEvent (since NC 17) |
#24041 |
OC_User::post_createGroup (was removed) |
OCP\Group\Events\GroupCreatedEvent (since NC 17) |
#24041 |
OC_Group::pre_deleteGroup (was removed) |
OCP\Group\Events\BeforeGroupDeletedEvent (since NC 17) |
#24041 |
OC_User::post_deleteGroup (was removed) |
OCP\Group\Events\GroupDeletedEvent (since NC 17) |
#24041 |
OC_Group::pre_addToGroup (was removed) |
OCP\Group\Events\BeforeUserAddedEvent (since NC 17) |
#24041 |
OC_Group::post_addToGroup (was removed) |
OCP\Group\Events\UserAddedEvent (since NC 17) |
#24041 |
\OC\User::preCreateUser |
OCP\User\Events\BeforeUserCreatedEvent (since NC18) |
#24319 |
OC_User::pre_createUser |
OCP\User\Events\BeforeUserCreatedEvent (since NC18) |
#24319 |
\OC\User::postCreateUser |
OCP\User\Events\UserCreatedEvent (since NC18) |
#24319 |
OC_User::post_createUser |
OCP\User\Events\UserCreatedEvent (since NC18) |
#24319 |
\OC\User::preDelete |
OCP\User\Events\BeforeUserDeletedEvent (since NC18) |
#24319 |
OC_User::pre_deleteUser |
OCP\User\Events\BeforeUserDeletedEvent (since NC18) |
#24319 |
\OC\User::postDelete |
OCP\User\Events\UserDeletedEvent (since NC18) |
#24319 |
OC_User::post_deleteUser |
OCP\User\Events\UserDeletedEvent (since NC18) |
#24319 |
OCP\Files\Cache\CacheInsertEvent |
OCP\Files\Cache\CacheEntryInsertedEvent |
#24113 |
OCP\Files\Cache\CacheUpdateEvent |
OCP\Files\Cache\CacheEntryUpdatedEvent |
#24113 |
Behavorial changes
- filesystem is now not initialized anymore by default Do not setup the default FS on normal routes #23821 - this has only impact on file system access that is NOT done via the public Node API but only for access via private API (nevertheless stating here for visibility)
Reactions are currently unavailable