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
Bootstrap removed: The shipped bootstrap was only used for tooltips since ages but shipped and therefore available globally. Because the version we shipped is now EOL, we decided to remove it instead of bringing in a breaking update. For any tootltip it is recommended to just switch to the native title= HTML attribute.
Pull request by nickvergessen: Drop bootstrap #36434
Backend
Dropped support for PHP 7.4
Added support for PHP 8.2. See release notes from PHP about new deprecations.
Moved ICreateFromString::handleIMipMessage(string $name, string $calendarData): void; to its own Interface IHandleImipMessage
Pull request by miaulalala: Move iMIP to its own interface #34893
New OCP\Authentication\Token\IProvider for authentication providers: Created a new public interface OCP\Authentication\Token\IProvider with a method invalidateTokensOfUser to invalidate all tokens of a specific user. OC\Authentication\Token\Manager implements OCP\Authentication\Token\IProvider.
Pull request by individual-it: [master] invalidate existing tokens when deleting an oauth client #36033
Auto-Submitted header for emails: There now is a new method on the OCP\Mail\IMessage interface IMessage::setAutoSubmitted(). With this method you can specify that an email was an automatic email or response, to allow mail servers to better detect if an out-of-office reply should be sent, better store/filter the emails and so on. Possible values are documented in the OCP\Mail\Headers\AutoSubmitted interface.
Pull request by bennet0496: Adding option to set Auto-Submitted email header #35876
Signatures of methods of OCP\AppFramework\Db\Entity changed as follows: (ref: e91457d)
public static function fromParams(array $params) -> public static function fromParams(array $params): static
public static function fromRow(array $row) -> public static function fromRow(array $row): static
protected function setter($name, $args) -> protected function setter(string $name, array $args): void
protected function getter($name) -> protected function getter(string $name): mixed
protected function markFieldUpdated($attribute) -> protected function markFieldUpdated(string $attribute): void
Deprecated OCP\AppFramework\Db\Mapper was removed. You can easily migrate to OCP\AppFramework\Db\QBMapper, which is doing the same thing using the query builder instead of string based queries.
PR by rullzer at Remove long depreated AppFramework/Db/Mapper #34490
A new OCP API OCP\Translation was introduced allowing to register translation providers and providing a central API to translate text, as well as OCS API endpoints: feat(translations): Add translation provider API #36584
Planned removal of PSR-0 class loading: Nextcloud is still loading classes that follow the long deprecated and replaced PSR-0 standard. Nextcloud 26 is the last version that register a generic PSR-0 class loader. From Nextcloud 27 on apps have to either change class file names to match PSR-4 or ship their own (composer) class loader for PSR-0 files or.
Pull request by ChristophWurst: perf(autoloader): Drop legacy class autoloader #36114
Deprecations of Events & Hooks
Notifications jQuery event deprecated: The OCA.Notification.Action event of the notifications app is deprecated in favor of a notifications:action:executed event-bus event with Trigger a proper event-bus event notifications#728
Behavorial changes
…
Changes for admins
PHP 7.4 is not supported anymore
PHP 8.2 is now supported
The recommended webserver configuration has changed to no longer include a default redirect to the login page
For Apache this change will automatically come with the .htaccess file provided by the release
for nginx administrators should ensure that their config is up to date with the documentation
The relevant lines to remove are error_page 403 /core/templates/403.php; and error_page 404 /core/templates/404.php;
The admin panel setup checks do now expect the X-Robots-Tag header to be set to noindex, nofollow, instead of none. While both are equivalent for Google, for other search engines, e.g. Bing, they are not. The value none hence does not prevent your Nextcloud pages from being index by and presented as Bing search results: Change X-Robots-Tag header from "none" to "noindex, nofollow" #36689
Continuation of #32117
Readme
📝 Please always leave a comment when editing, so subscribed developers and admins are notified.
Front-end
title=HTML attribute.Pull request by nickvergessen: Drop bootstrap #36434
Backend
ICreateFromString::handleIMipMessage(string $name, string $calendarData): void;to its own InterfaceIHandleImipMessagePull request by miaulalala: Move iMIP to its own interface #34893
OCP\Authentication\Token\IProviderfor authentication providers: Created a new public interfaceOCP\Authentication\Token\IProviderwith a methodinvalidateTokensOfUserto invalidate all tokens of a specific user.OC\Authentication\Token\ManagerimplementsOCP\Authentication\Token\IProvider.Pull request by individual-it: [master] invalidate existing tokens when deleting an oauth client #36033
Auto-Submittedheader for emails: There now is a new method on theOCP\Mail\IMessageinterfaceIMessage::setAutoSubmitted(). With this method you can specify that an email was an automatic email or response, to allow mail servers to better detect if an out-of-office reply should be sent, better store/filter the emails and so on. Possible values are documented in theOCP\Mail\Headers\AutoSubmittedinterface.Pull request by bennet0496: Adding option to set Auto-Submitted email header #35876
OCP\BackgroundJob\IJobList::getJobsmethod was deprecated Use a Generator for job list to fix background-job:list command #36073OCP\BackgroundJob\IJobList::getJobsIteratormethod was added Use a Generator for job list to fix background-job:list command #36073OCP\BeforeSabrePubliclyLoadedEventevent dispatched on public webdav endpoints (it can be used just likeOCP\SabrePluginEventto inject additional Sabre plugins in apps for example) Rename SabrePublicPluginEvent to BeforeSabrePubliclyLoadedEvent #35789public static function fromParams(array $params)->public static function fromParams(array $params): staticpublic static function fromRow(array $row)->public static function fromRow(array $row): staticprotected function setter($name, $args)->protected function setter(string $name, array $args): voidprotected function getter($name)->protected function getter(string $name): mixedprotected function markFieldUpdated($attribute)->protected function markFieldUpdated(string $attribute): voidOCP\AppFramework\Db\Mapperwas removed. You can easily migrate toOCP\AppFramework\Db\QBMapper, which is doing the same thing using the query builder instead of string based queries.PR by rullzer at Remove long depreated AppFramework/Db/Mapper #34490
@UseSessionis deprecated. Use newUseSessionattribute instead: feat(app-framework): Add UseSession attribute to replace annotation #36363 https://docs.nextcloud.com/server/latest/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_26.html#migration-from-phpdoc-annotations-to-native-php-attributesOCP\Files\SimpleFS\ISimpleFile::getSize()may now return a float (to support sizes >2G on 32bit systems)OCP\Files\SimpleFS\InMemoryFile::getSize()may now return a float (to support sizes >2G on 32bit systems)setParsedSubjectandsetParsedMessageon notifications and activity events whensetRichSubjectandsetRichMessageare used a parsed version is computed automatically. Compute notification parsed subject from rich subject when possible #34807OCP\Translationwas introduced allowing to register translation providers and providing a central API to translate text, as well as OCS API endpoints: feat(translations): Add translation provider API #36584Removed from public namespace:
OCP\BackgroundJob\IJobList::getAllmethod was removed Use a Generator for job list to fix background-job:list command #36073php-ds/php-dswas removed chore: drop dependency php-ds #36198OCP\Contacts\IManager::getAddressBooksmethod was removed Remove some constants and functions which have been long deprecated #34329OCP\Utilloglevel constants were removed Remove some constants and functions which have been long deprecated #34329nikic/php-parserwas removed chore: drop depedency php-parser #36393OCP\Dashboardwere removed chore(OCP): Remove deprecated dashboard interfaces and classes #35966Removed from private namespace:
Deprecations
Pull request by ChristophWurst: perf(autoloader): Drop legacy class autoloader #36114
Deprecations of Events & Hooks
OCA.Notification.Actionevent of the notifications app is deprecated in favor of anotifications:action:executedevent-bus event with Trigger a proper event-bus event notifications#728Behavorial changes
Changes for admins
.htaccessfile provided by the releaseerror_page 403 /core/templates/403.php;anderror_page 404 /core/templates/404.php;X-Robots-Tagheader to be set tonoindex, nofollow, instead ofnone. While both are equivalent for Google, for other search engines, e.g. Bing, they are not. The valuenonehence does not prevent your Nextcloud pages from being index by and presented as Bing search results: Change X-Robots-Tag header from "none" to "noindex, nofollow" #36689