Upgrade to Nextcloud 23
Critical changes were collected on GitHub. See the original ticket for links to the pull requests and tickets.
\OCP\User\Events\UserLoggedInEvent::getPasswordis now nullable because logins are possible without a password in SSO setups
\OCP\Calendar\IManager::search: use the new calendar search API
\OCP\Calendar\IManager::isEnabled: there is no replacement
\OCP\Calendar\IManager::registerCalendar: use calendar providers
\OCP\Calendar\IManager::unregisterCalendarthere is no replacement
\OCP\Calendar\IManager::register: use calendar providers
\OCP\Calendar\IManager::getCalendars: use the new calendar API
\OCP\Calendar\IManager::clear: there is no replacement
Updated core libraries
The Doctrine Database Abstraction Layer (dbal) powers Nextcloud’s database connection and query builder. In Nextcloud 23 this dependency was updated from 3.0 to 3.1. As a consequence the
\OC\DB\QueryBuilder\QueryBuilder::getFirstResult method now returns
0 instead of
\OC\DB\QueryBuilder\QueryBuilder::setFirstResult wasn’t called.