Merge pull request #9337 from nextcloud/backport/9332/stable24

[stable24] Document behavior changes of dbal 3.0 to 3.1 upgrade
This commit is contained in:
Christoph Wurst 2022-11-14 10:52:25 +01:00 committed by GitHub
commit 70cb750bee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,3 +23,10 @@ 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.