New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Critical changes for developers & admins for Nextcloud 17 #15339
Labels
Milestone
Comments
cc @nextcloud/javascript |
I've created an ESLint plugin to automatically detect deprecated and removed APIs: https://www.npmjs.com/package/eslint-plugin-nextcloud |
@ChristophWurst @MorrisJobke Can you scan through all apps and notify developers like with Nextcloud 14? That would be immensely helpful! |
We can try. But it's a lot of work and not very accurate. |
New ticket for 18: #17131 |
see #18677 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Front-end
JavaScript
Deprecated global variables
initCore
-> don't use this internal function Move the initCore function to the bundle #15440oc_appconfig
-> useOC.appConfig
instead Move oc_appconfig/OC.appConfig to the main bundle #15354oc_appswebroots
-> useOC.appswebroots
instead Move OC.appswebroots to the bundle and deprecate oc_appswebroots #15402oc_capabilities
-> useOC.getCapabilities()
instead Move OC.getCapabilities to the bundle and deprecate OC._capabilities,… #15521oc_config
-> useOC.config
instead Move oc_config to the bundle #15293oc_current_user
-> useOC.getCurrentUser().uid
instead Deprecate oc_current_user, fix usage and move currentUser to the bundle #15427oc_debug
-> useOC.debug
instead Move oc_debug to the bundle #15297oc_isadmin
-> useOC.isUserAdmin()
instead Deprecate oc_isadmin and move OC.isUserAdmin() to the bundle #15355oc_requesttoken
-> useOC.requestToken
instead Move OC.requestToken to the bundle, deprecate oc_requesttoken #15496oc_webroot
-> useOC.getRootPath()
instead Move oc_webroot/OC.webroot to the bundle #15295OCDialogs
-> useOC.dialogs
instead Move OC.dialogs to the main bundle #15294Other deprecations
OC._capabilities
-> useOC.getCapabilities()
instead Move OC.getCapabilities to the bundle and deprecate OC._capabilities,… #15521OC.addTranslations
-> useOC.L10N.load
instead Move OC.addTranslations to the bundle and deprecate it #15523OC.coreApps
-> internal use only, no replacement Move rest of contant-like OC props to the bundle #15420OC.getHost
-> use the usewindow.location.host
directly Move OC host/port/protocol helpers to the bundle and deprecate them #15520OC.getHostName
-> use the usewindow.location.hostname
directly Move OC host/port/protocol helpers to the bundle and deprecate them #15520OC.getPort
-> use the usewindow.location.port
directly Move OC host/port/protocol helpers to the bundle and deprecate them #15520OC.getProtocol
-> use the usewindow.location.protocol.split(':')[0]
directly Move OC host/port/protocol helpers to the bundle and deprecate them #15520OC.fileIsBlacklisted
-> use the regexOC.config.blacklist_files_regex
directly Deprecate OC.fileIsBlacklisted and move it to the bundle #15524OC.redirect
-> usewindow.location
directly Deprecate window.location wrappers for redirect and reload #15859OC.reload
-> usewindow.location.reload()
directly Deprecate window.location wrappers for redirect and reload #15859Removed jQuery plugins
singleselect
-> ship your own if you really need it Remove unused singleselect script #15426Backend
Removed from public namespace:
OCP\App::checkAppEnabled
: Remove deprecated function checkAppEnabled #15781OCP\Security\StringUtils
: Remove deprecatred StringUtils class #15779OCP\Util::callCheck
: Remove deprecated function callCheck #15780Deprecations
OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowEvalScript
: This means apps should no longer use eval in their javascript. We aim to forbid this in general in a future version of Nextcloud Add deprecation warning #16924OCP\AppFramework\Utility\IControllerMethodReflector::reflect
: Will be removed in 18 Remove reflect method form public interface #16928Behavorial changes
ldapGroupMemberAssocAttr
changed fromuniqueMember
to unset. On scripted setups, it has to be set if LDAP groups should be used within Nextcloud. fixes possible override of uniqueMember by autodetection #15604['id' => $userid]
Opt-in for generation userid, requiring email addresses #15964 changes the returned key from UserID to id, in accordance with getUserData #16036The text was updated successfully, but these errors were encountered: