Upgrade to Nextcloud 18
Note
Critical changes were collected on GitHub. See the original ticket for links to the pull requests and tickets.
Front-end changes
CSS
- Overall font-size was increased. Please make sure you use relative units like rem instead of pixels. 
Deprecated global variables
- Backbone: ship your own.
- Clipboard: ship your own.
- ClipboardJs: ship your own.
- DOMPurify: ship your own.
- Handlebars: ship your own.
- jstimezonedetect: ship your own.
- jstz: ship your own.
- md5: ship your own.
- moment: ship your own.
- OC.basename: use- basenamefrom https://www.npmjs.com/package/@nextcloud/paths
- OC.dirname: use- dirnamefrom https://www.npmjs.com/package/@nextcloud/paths
- OC.encodePath: use- encodePathfrom https://www.npmjs.com/package/@nextcloud/paths
- OC.isSamePath: use- isSamePathfrom https://www.npmjs.com/package/@nextcloud/paths
- OC.joinPaths: use- joinPathsfrom https://www.npmjs.com/package/@nextcloud/paths
Back-end changes
New APIs
- \OCP\WorkflowEnginenamespace
Deprecations
- \OCP\Collaboration\Resources\IManager::registerResourceProvider: use- \OCP\Collaboration\Resources\IProviderManager::registerResourceProviderinstead.
Behavioral changes
- Email shares and link shares now share the same config. You cannot create mail shares if the share links are disabled by your administrator 
- Please register new sidebar tabs scripts with the - OCA\Files\Event\LoadSidebar\Eventscript
- Viewer binds the full file object to the views now. Variables names changed!