Merge pull request #9341 from nextcloud/enhancement/doctrine-dbal-3.0-to-3.1-changes-stable23

[stable23] Document behavior changes of dbal 3.0 to 3.1 upgrade
This commit is contained in:
Christoph Wurst 2022-11-14 12:48:23 +01:00 committed by GitHub
commit 18acfbef4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,14 @@ Deprecated APIs
* ``\OCP\Calendar\IManager::getCalendars``: use :ref:`the new calendar API<calendar-access>`
* ``\OCP\Calendar\IManager::clear``: there is no replacement
Updated core libraries
^^^^^^^^^^^^^^^^^^^^^^
``doctrine/dbal``
*****************
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 ``null`` if ``\OC\DB\QueryBuilder\QueryBuilder::setFirstResult`` wasn't called.
Upgrading to Nextcloud 22
-------------------------