You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mail_smtpmode can no longer be set to php. As this option is lost with the upgrade of phpmailer Upgrade to swiftmailer-6 #9791
Internals stuff:
cleanup of OC_* namespace - we removed quite some classes, methods and constants from our internal namespace. If it was used by any app in the App Store we notified the owner of that app. Keep in mind that using the OC_ namespace is not official supported and can break any time without notice. So better not use it in your app.
when running occ maintenance:mode --on/--off and it was already in this state if will print Maintenance mode already enabled instead of the Maintenance mode enabled which was printed always before this change Updates the maintenance command output #10070
This ticket is to collect the critical changes for developers for Nextcloud 14.
AppFramework\Http\Request::getHeadernow really only returns string (and notnull) anymore (Request->getHeader() should always return a string #7813)Security\ICrypto::decryptnow accepts strings only and also returns string only (Adds type hinting for scalar types in ICrypto->decrypt #7825)OCP\AppFramework\Utility\ITimeFactoryis strictly typed now (Make the ITimeFactory strict + return types #7838)OCP\IL10Nis strickly types which means that thetfunction expects an array (Make OCP\IL10N strict #8476) - see also Relax what t accepts so we don't break it all #8497 for a relaxed versionRemoved from public interface
OCP\AppFramework/IAppContainer(Remove deprecated functions from DI Container #7839)OCP\Config(Remove deprecated \OCP\Config #7840)OCP\ISearch(Removed deprecated search function from ISearch #7842)OCP\Util(Remove deprecated functions for OCP\Util #7843)OCPconstantes (Remove deprecated constants #7844)OCP\Util(Remove unused and deprecated methods from OCP\Util #8783) -sendMail,encryptedFiles,getServerHost,getServerProtocol,getRequestUri,getScriptNameOCP\IHelper(Remove unused and deprecated class and interface AppHelper #8784)insertIfNotExistfromOCP\DB(Use insertIfNotExist of the new interface #8786)OCP\DB(Remove deprecated and unsused methods of OCP\DB #8787) -insertid,rollback,isErrorOCP\Response(Remove unused methods of OC_Response #8792)OCP\Util(Remove deprecated URL functions for OCP\Util #8811)OCP\Contacts(Remove deprecated OCP\Contacts #8816)OCP\BackgroundJob::registerJob(Remove old deprecated function from the BackgroundJob #8877)OCP\Files::tmpFileandOCP\Files::tmpFolder(Remove deprecated tmpFile/tmpFolder #8878)OCP\JSON(Remove unused deprecated functions from OCP\JSON #8879 & Remove \OCP\JSON #8943)beginTransaction,commitandgetErrorMessagefromOCP\DB(Remove unused and deprecated methods of OCP\DB #8914)OCP\Response(Remove deprecated and unused OCP\Response #8918)OCP\User::getDisplayNames(Remove deprecated and unused method OCP\User::getDisplayNames #8919)OCP\Share::resolveReshare(Remove unused resolveReshare of old sharing code #8853)OCP\DB(Cleanup ocp db #8985)Changed
occcommand interface:occ upgradedoes not have the option--no-app-disableanymore (it is used for PHP 7+ anyways already) (Remove not needed 3rdparty app disabling during upgrade for PHP 5.x #7955)Changed available dependencies:
$fromMailAddresswill not be available anymore - just define it in your apps dependency container if you need it (Cleanup unused parameter #8336)Changed public interfaces (that could be implemented by an app):
\OCP\Mailand the email templates got proper type hints: Make \OCP\Mail strict #8614OCP\Authentication\TwoFactorAuthgot typehints and return types: Strict 2FA #8981OCP\Migration\IMigrationStephas two new methods Add human readable description to migration steps #9167 (covered if the apps use the abstract classSimpleMigrationStepwhich is the default)OCA.Searchis nowOCA.Search.Core. New standard for global search New search standard and user search #9912EMailTemplatechild classes should use the%$1snotation for replacements to be future compatible and be able to reuse parameters EMailTemplate: Fix button background in Lotus Notes #10291Structural changes:
with-app-sidebarnot required anymore to open the sidebar only usedisappearon the sidebarsvgclasse not required anymorewith-settings,with-iconnot needed anymoreChanged behaviour:
AddUserPOST:/usersnow allow empty password iff email is set and valid Allow admin to create users without password by sending mail automatic… #8856Changed config:
bucket/containerparameter. See Swift usescontainternotbucket#8793mail_smtpmodecan no longer be set tophp. As this option is lost with the upgrade of phpmailer Upgrade to swiftmailer-6 #9791Internals stuff:
OC_*namespace - we removed quite some classes, methods and constants from our internal namespace. If it was used by any app in the App Store we notified the owner of that app. Keep in mind that using the OC_ namespace is not official supported and can break any time without notice. So better not use it in your app.OC_Group_Backendgot removed: Remove deprecated OC_Group_Backend #8988OC_Response::setStatusand the constants for status codes have been removed Replace hard coded HTTP status codes with proper calls to http_response_code #10009Added APIs:
Deprecated APIs:
OCP\Filesis deprecated Deprecated some methods of OCP\Files #8922OC_Themeclass is deprecated, settings in config.php should be used Deprecate theme sync clients #8994getGroupmethod replaced bygetGroupUsersApi: return users details by groups #8904OCP\Utilare deprecated and moved to theILoggerinterface Move log constants to ILogger #9308OCP\AppFramework\Db\Mapperis deprecated move toOCP\AppFramework\Db\QBMapperAdd a QueryBuilder based Mapper #9444Changed outside facing stuff:
Admin:
ownCloudtoNextcloud: Systemd Logger #10048occ maintenance:mode --on/--offand it was already in this state if will printMaintenance mode already enabledinstead of theMaintenance mode enabledwhich was printed always before this change Updates the maintenance command output #10070