Merge pull request #10582 from nextcloud/feat/upgrade-nc27-mjs

feat: Add information about module javascript to NC27 upgrade guide
This commit is contained in:
Daniel 2023-06-08 18:10:56 +02:00 committed by GitHub
commit 0e12e3cba3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -11,4 +11,9 @@ System requirements
Exposed system address book
---------------------------
Nextcloud 27 exposes the :ref:`system address book<system-address-book>`. Restrict the enumeration settings if your users should not see other users.
Nextcloud 27 exposes the :ref:`system address book<system-address-book>`. Restrict the enumeration settings if your users should not see other users.
Web server configuration
------------------------
* The recommended :ref:`nginx configuration<nginx-config>` changed as Nextcloud now supports module javascript with the ``.mjs`` extension, make sure to add this extension to the list of static files.

View File

@ -22,6 +22,11 @@ Make sure your ``appinfo/info.xml`` allows for Nextcloud 27.
Front-end changes
-----------------
General
^^^^^^^
* With Nextcloud 27 you can also provide module javascript files with the ``.mjs`` file extension. For backwards compatibilty you can provide files with the same name but the ``.js`` file extension which will be loaded for Nextcloud versions before 27.
Added APIs
^^^^^^^^^^