Document behavior changes of dbal 3.0 to 3.1 upgrade

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst
2022-11-14 10:18:58 +01:00
parent b8bf9625dd
commit 22e136c4a3

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.