Skip to content

Commit

Permalink
Merge pull request #6907 from nextcloud/enhancement/moar-nextcloud-22…
Browse files Browse the repository at this point in the history
…-changes

Document moar critical changes in Nextcloud 22
  • Loading branch information
ChristophWurst authored Jul 5, 2021
2 parents 382e9ff + 8aec37a commit c9bfcfc
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions developer_manual/app_publishing_maintenance/upgrade-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ IE11 removal

Internet Explorer 11 was phased out over the past few releases and starting with Nextcloud 22 the front-end code isn't transpiled for IE11 any longer. You may also drop IE11 from your app as core components will possibly fail with this browser anyway.

Deprecated global variables
***************************

* ``DOMPurify``: ship your own.

Back-end changes
^^^^^^^^^^^^^^^^

Expand All @@ -47,6 +52,15 @@ Removed support for database.xml

The support for an app's ``appinfo/database.xml`` has been removed.

PSR events
**********

In order to bring Nextcloud APIs closer to :ref:`psr` the base event class no longer extends the old Symfony event class but only ``\Psr\EventDispatcher\StoppableEventInterface``. From an app's perspective this change is transparent.

PSR container
*************

The :ref:`PSR 11 container interface <psr11>` was updated from version 1.0 to 1.1.

LDAP factory availability
*************************
Expand All @@ -67,7 +81,21 @@ When invalid username/password is sent to a Nextcloud API, Nextcloud will now re

Removed APIs
************

* ``\OC\Memcache\Factory::create``
* ``\OCP\User``
* ``\OCP\Util::isIe``

Deprecated APIs
***************

* ``\OCP\Log\ILogFactory::getCustomLogger``: use ``\OCP\Log\ILogFactory::getCustomPsrLogger`` to get a customized :ref:`PSR3 <psr3>` logger
* Event ``\OCP\IDBConnection::ADD_MISSING_INDEXES`` and the corresponding constant ``\OCP\IDBConnection::ADD_MISSING_INDEXES_EVENT``: internal event
* Event ``\OCP\IDBConnection::CHECK_MISSING_INDEXES`` and the corresponding constant ``\OCP\IDBConnection::CHECK_MISSING_INDEXES_EVENT``: internal event
* Event ``\OCP\IDBConnection::ADD_MISSING_PRIMARY_KEYS`` and the corresponding constant ``\OCP\IDBConnection::ADD_MISSING_PRIMARY_KEYS_EVENT``: internal event
* Event ``\OCP\IDBConnection::CHECK_MISSING_PRIMARY_KEYS`` and the corresponding constant ``\OCP\IDBConnection::CHECK_MISSING_PRIMARY_KEYS_EVENT``: internal event
* Event ``\OCP\IDBConnection::ADD_MISSING_COLUMNS_EVENT`` and the corresponding constant ``\OCP\IDBConnection::ADD_MISSING_COLUMNS``: internal event
* Event ``\OCP\IDBConnection::CHECK_MISSING_COLUMNS`` and the corresponding constant ``\OCP\IDBConnection::CHECK_MISSING_COLUMNS``: internal event

Upgrading to Nextcloud 21
-------------------------
Expand Down
2 changes: 2 additions & 0 deletions developer_manual/digging_deeper/psr.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _PSR:

===
PSR
===
Expand Down

0 comments on commit c9bfcfc

Please sign in to comment.