Skip to content

Commit

Permalink
Document jquery deprecation
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst committed Apr 10, 2020
1 parent dc176d3 commit 659cd27
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions developer_manual/app/upgrade-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ This document will cover the most important changes in Nextcloud, as well as som
Upgrading to Nextcloud 19
-------------------------

Front-end changes
^^^^^^^^^^^^^^^^^

jQuery deprecation
******************

As of Nextcloud 19, the global `jquery` and `$` are deprecated for apps. While the library won't be removed immediately to give developers time to adapt, we encourage you to either replace it with another library or simply use a bundling tool like webpack to scope it to your own. The library will be upgraded in Nextcloud in future versions of Nextcloud and there are breaking changes in the newer versions of jQuery.

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

Expand All @@ -17,6 +25,7 @@ Symfony update

Symfony was updated to `v4.4 <https://github.com/symfony/symfony/blob/4.4/CHANGELOG-4.4.md>`_. The most important change for apps is to return an int value from CLI commands. Returning null (explicitly or implicitly) won't be allowed in future versions of Symfony.


Upgrading to Nextcloud 18
-------------------------

Expand Down

0 comments on commit 659cd27

Please sign in to comment.