Skip to content

Commit

Permalink
Merge pull request #1948 from nextcloud/dev-deprecate-jquery
Browse files Browse the repository at this point in the history
Document jquery deprecation
  • Loading branch information
ChristophWurst authored Apr 10, 2020
2 parents dc176d3 + 659cd27 commit 34c11d5
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 34c11d5

Please sign in to comment.