Skip to content

Changes for developers & admins for Nextcloud 26 #34692

Closed

Description

@nickvergessen

Continuation of #32117

Readme

📝 Please always leave a comment when editing, so subscribed developers and admins are notified.

Front-end

Backend

Removed from public namespace:

Removed from private namespace:

  • …

Deprecations

  • 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

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

Activity

  1. jancborchardt commented on Oct 20, 2022

    @jancborchardt
    Member

    Added

    The "app icons" background https://github.com/nextcloud/server/blob/stable25/core/img/background.png and https://github.com/nextcloud/server/blob/stable25/core/img/background.svg is not used anymore and will be removed (was only used on login page, where we now use the "clouds" background.

  2. szaimen commented on Nov 3, 2022

    @szaimen
    Contributor
  3. miaulalala commented on Nov 8, 2022

    @miaulalala
    Contributor

    Breaking change backend:

    #34893

    move ICreateFromString::handleIMipMessage(string $name, string $calendarData): void; to its own Interface

    Added

    • Moved ICreateFromString::handleIMipMessage(string $name, string $calendarData): void; to its own Interface IHandleImipMessage
  4. szaimen commented on Nov 8, 2022

    @szaimen
    Contributor

    @miaulalala can you also edit the first post?

  5. changed the title [-]Critical changes for developers & admins for Nextcloud 26[/-] [+]Changes for developers & admins for Nextcloud 26[/+] on Nov 8, 2022
  6. enoch85 commented on Nov 14, 2022

    @enoch85
    Member

    When will PHP 7.4 be deprecated?

  7. nickvergessen commented on Nov 14, 2022

    @nickvergessen
    MemberAuthor

    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

  8. added a commit that references this issue on Nov 14, 2022
  9. nickvergessen commented on Jan 9, 2023

    @nickvergessen
    MemberAuthor

    Added

    Backend

    • 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
  10. nickvergessen commented on Jan 9, 2023

    @nickvergessen
    MemberAuthor

    @individual-it please always leave a comment, so people are notified.

    Added

    Backend

  11. nickvergessen commented on Jan 13, 2023

    @nickvergessen
    MemberAuthor

    Backend

    Deprecations

    • 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
  12. come-nc commented on Jan 16, 2023

    @come-nc
    Contributor

    Added:

    Backend

    Removed from public namespace:

  13. come-nc commented on Jan 23, 2023

    @come-nc
    Contributor

    Added:

    Backend

    • Signatures of methods of OCP\AppFramework\Db\Entity changed as follows:
      • 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
  14. 16 remaining items

  15. narcisgarcia commented on Apr 23, 2023

    @narcisgarcia
  16. nickvergessen commented on Apr 23, 2023

    @nickvergessen
    Author
  17. narcisgarcia commented on Apr 23, 2023

    @narcisgarcia
  18. nickvergessen commented on Apr 23, 2023

    @nickvergessen
    Author
  19. reopened this on May 3, 2023
  20. skjnldsv commented on May 3, 2023

    @skjnldsv
  21. skjnldsv commented on May 3, 2023

    @skjnldsv
    Member

    27 changes: #37039

  22. paramazo commented on May 9, 2023

    @paramazo
  23. MichaIng commented on May 9, 2023

    @MichaIng
  24. narcisgarcia commented on May 9, 2023

    @narcisgarcia
  25. MichaIng commented on May 9, 2023

    @MichaIng
  26. locked as off topic and limited conversation to collaborators on May 9, 2023
  27. unpinned this issue on Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions