-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Changes for developers & admins for Nextcloud 26 #34692
Comments
Added
|
Added
|
Breaking change backend: move Added
|
@miaulalala can you also edit the first post? |
When will PHP 7.4 be deprecated? |
See https://help.nextcloud.com/t/on-the-roadmap-deprecation-of-php-7-4/149848 for more information TLDR: deprecation in 26, removal might be as well or later depending on our dependencies |
Ref nextcloud/server#34692 (comment) Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
AddedBackend
|
@individual-it please always leave a comment, so people are notified. AddedBackend
|
BackendDeprecations
|
Added: Backend
Removed from public namespace:
|
Added: Backend
|
Added by @julien-nc Backend
|
Added by rullzer Backend
|
Added by @ChristophWurst Backend
|
27 follow up in #37039 |
Added Changes for admins
|
Added
|
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
27 changes: #37039 |
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 InterfaceIHandleImipMessage
Pull request by miaulalala: Move iMIP to its own interface #34893
OCP\Authentication\Token\IProvider
for authentication providers: Created a new public interfaceOCP\Authentication\Token\IProvider
with a methodinvalidateTokensOfUser
to invalidate all tokens of a specific user.OC\Authentication\Token\Manager
implementsOCP\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 theOCP\Mail\IMessage
interfaceIMessage::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\AutoSubmitted
interface.Pull request by bennet0496: Adding option to set Auto-Submitted email header #35876
OCP\BackgroundJob\IJobList::getJobs
method was deprecated Use a Generator for job list to fix background-job:list command #36073OCP\BackgroundJob\IJobList::getJobsIterator
method was added Use a Generator for job list to fix background-job:list command #36073OCP\BeforeSabrePubliclyLoadedEvent
event dispatched on public webdav endpoints (it can be used just likeOCP\SabrePluginEvent
to inject additional Sabre plugins in apps for example) Rename SabrePublicPluginEvent to BeforeSabrePubliclyLoadedEvent #35789public 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
OCP\AppFramework\Db\Mapper
was 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
@UseSession
is deprecated. Use newUseSession
attribute 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)setParsedSubject
andsetParsedMessage
on notifications and activity events whensetRichSubject
andsetRichMessage
are used a parsed version is computed automatically. Compute notification parsed subject from rich subject when possible #34807OCP\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 #36584Removed from public namespace:
OCP\BackgroundJob\IJobList::getAll
method was removed Use a Generator for job list to fix background-job:list command #36073php-ds/php-ds
was removed chore: drop dependency php-ds #36198OCP\Contacts\IManager::getAddressBooks
method was removed Remove some constants and functions which have been long deprecated #34329OCP\Util
loglevel constants were removed Remove some constants and functions which have been long deprecated #34329nikic/php-parser
was removed chore: drop depedency php-parser #36393OCP\Dashboard
were 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.Action
event of the notifications app is deprecated in favor of anotifications:action:executed
event-bus event with Trigger a proper event-bus event notifications#728Behavorial changes
Changes for admins
.htaccess
file provided by the releaseerror_page 403 /core/templates/403.php;
anderror_page 404 /core/templates/404.php;
X-Robots-Tag
header to be set tonoindex, nofollow
, instead ofnone
. While both are equivalent for Google, for other search engines, e.g. Bing, they are not. The valuenone
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" #36689The text was updated successfully, but these errors were encountered: