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: usebasenamefrom https://www.npmjs.com/package/@nextcloud/pathsOC.dirname: usedirnamefrom https://www.npmjs.com/package/@nextcloud/pathsOC.encodePath: useencodePathfrom https://www.npmjs.com/package/@nextcloud/pathsOC.isSamePath: useisSamePathfrom https://www.npmjs.com/package/@nextcloud/pathsOC.joinPaths: usejoinPathsfrom 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\EventscriptViewer binds the full file object to the views now. Variables names changed!