Repository navigation
Changes for developers & admins for Nextcloud 25 #32117
Description
Activity
- pinned this issue
on Apr 25, 2022 Probably #33320 should be mentioned, I know some applications relying on those ids
Reacted by Vincent PetryAdded:
Backend
- Dashboard widgets are soon displayed in the mobile clients. With Extend dashboard api to allow listing of widgets #33658 buttons to see more information can be added and you can now already implement your widget as an
OCP\Dashboard\IAPIWidgetso the data is available to the clients
- Dashboard widgets are soon displayed in the mobile clients. With Extend dashboard api to allow listing of widgets #33658 buttons to see more information can be added and you can now already implement your widget as an
Added:
Frontend
- A global option to disable keyboard shortcuts was added to the accessibility settings. Since it heavily depends on the screenreader and tools that you use if Ctrl and/or Alt or other things are okay to use or not and maintaining a more detailed list is too much effort, we went for a global on/off switch. Apps can use this public javascript API call to determine whether the user used the opt-out:
OCP.Accessibility.disableKeyboardShortcuts(). If that is the case, no additional shortcuts shall be registered by any app. Onlyspaceto toggle checkboxes andenterto submit the currently active buttons/links are okay: Add global setting to disable keyboad shortcuts #34081
- A global option to disable keyboard shortcuts was added to the accessibility settings. Since it heavily depends on the screenreader and tools that you use if Ctrl and/or Alt or other things are okay to use or not and maintaining a more detailed list is too much effort, we went for a global on/off switch. Apps can use this public javascript API call to determine whether the user used the opt-out:
<default_enable/>withininfo.xmlwill not work anymore. The listing of app enabled by default during installation of Nextcloud is now done withincore/shipped.json, using keydefaultEnabledAdded:
Backend
- The
christophwurst/nextcloudcomposer package was replaced with a now Nextcloud ownednextcloud/ocppackage. The content is the same and all older versions were generated, so you can transition right away no matter which versions you support. We also have a GitHub Actions cron job template available at https://github.com/nextcloud/.github/blob/master/workflow-templates/update-nextcloud-ocp.yml which updates the packages every sunday, so you can make sure your app is still compatible with the latest OCP.
- The
@nickvergessen @ChristophWurst
Added:
Backend
- The
christophwurst/nextcloudcomposer package was replaced with a now Nextcloud ownednextcloud/ocppackage. The content is the same and all older versions were generated, so you can transition right away no matter which versions you support. We also have a GitHub Actions cron job template available at https://github.com/nextcloud/.github/blob/master/workflow-templates/update-nextcloud-ocp.yml which updates the packages every sunday, so you can make sure your app is still compatible with the latest OCP.
Sorry for disturbing this meta issue, but
- there is no possibility to create issues in the new OCP repository: https://github.com/nextcloud-deps/ocp . Please allow issues over there!
- there is no (beta) release for 25 on Packagist: https://packagist.org/packages/nextcloud/ocp . Could you please release a release? That would help apps preparing for the next server release.
Thanks!
- The
there is no (beta) release for 25 on Packagist: https://packagist.org/packages/nextcloud/ocp . Could you please release a release? That would help apps preparing for the next server release.
Instead of working with releases you should use the
dev-stable25branch:
https://github.com/nextcloud/spreed/blob/stable25/composer.json#L45There is also a github action cron job available which updates this on a weekly basis so you immediately know when the target + your app is not compatible anymore.
there is no possibility to create issues in the new OCP repository: https://github.com/nextcloud-deps/ocp . Please allow issues over there!
This was because it's a fork of the old location. Enabled.
Reacted by korelstar#32363 from @CarlSchwan
Breaking change backend:
#33001 - ICreateFromString
/** * @since 25.0.0 * * @throws CalendarException */ public function handleIMipMessage(string $name, string $calendarData): void;must be supported
Added
ICreateFromString::handleIMipMessage(string $name, string $calendarData)must be supported
- changed the title
[-]Critical changes for developers & admins for Nextcloud 25[/-][+]Changes for developers & admins for Nextcloud 25[/+]on Nov 8, 2022 26 follow up in #34692
Reacted by Alexey Abel- unpinned this issue
on Mar 6, 2023
Continuation of #29914
Front-end
body.theme--darkclasses removed. See abovehttps://help.nextcloud.com/t/scss-support-dropped-with-nextcloud-25/
@nextcloud/vuecomponents are used you'll need to update to the major release 7 of the libraryNcwhich is something that would also be required if not already doneOCP.Accessibility.disableKeyboardShortcuts(). If that is the case, no additional shortcuts shall be registered by any app. Onlyspaceto toggle checkboxes andenterto submit the currently active buttons/links are okay: Add global setting to disable keyboad shortcuts #34081Backend
christophwurst/nextcloudcomposer package was replaced with a now Nextcloud ownednextcloud/ocppackage. The content is the same and all older versions were generated, so you can transition right away no matter which versions you support. We also have a GitHub Actions cron job template available at https://github.com/nextcloud/.github/blob/master/workflow-templates/update-nextcloud-ocp.yml which updates the packages every sunday, so you can make sure your app is still compatible with the latest OCP.IShareProvider::getSharesInFoldernow has a new argument$shallowto support shallow and deep searches of shares in a folder. Update owner of subdir on move into/out of share #31728IUserManager::getDisplayName(): ?stringwhen you only want the display name of the user. This will avoid fetching all the user properties and generating useless DB/LDAP queriesOCP\Dashboard\IAPIWidgetso the data is available to the clients. Also check the new documentation https://docs.nextcloud.com/server/latest/developer_manual/digging_deeper/dashboard.htmlICreateFromString::handleIMipMessage(string $name, string $calendarData)must be supportedRemoved from public namespace:
Removed from private namespace:
Deprecations
Deprecations of Events & Hooks
\OCP\Collaboration\Resources::loadAdditionalScriptsAdd event to load additional scripts for projects #32349Behavorial changes
Changes for admins