From 659cd275e1dc293cde76b7f2e9e82c67ec1255e0 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Thu, 9 Apr 2020 17:56:25 +0200 Subject: [PATCH] Document jquery deprecation Signed-off-by: Christoph Wurst --- developer_manual/app/upgrade-guide.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/developer_manual/app/upgrade-guide.rst b/developer_manual/app/upgrade-guide.rst index be7dcf013..b2898926f 100644 --- a/developer_manual/app/upgrade-guide.rst +++ b/developer_manual/app/upgrade-guide.rst @@ -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 ^^^^^^^^^^^^^^^^ @@ -17,6 +25,7 @@ Symfony update Symfony was updated to `v4.4 `_. 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 -------------------------