Skip to content
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 14 #7827

Closed
MorrisJobke opened this issue Jan 12, 2018 · 25 comments
Closed

Critical changes for developers & admins for Nextcloud 14 #7827

MorrisJobke opened this issue Jan 12, 2018 · 25 comments
Labels
Milestone

Comments

@MorrisJobke
Copy link
Member

MorrisJobke commented Jan 12, 2018

This ticket is to collect the critical changes for developers for Nextcloud 14.

Removed from public interface

Changed occ command interface:

Changed available dependencies:

Changed public interfaces (that could be implemented by an app):

Structural changes:

  • Structure of the whole nextcloud instance has been revised: Cleanup structure #9982
  • with-app-sidebar not required anymore to open the sidebar only use disappear on the sidebar
  • svg classe not required anymore
  • with-settings, with-icon not needed anymore

Changed behaviour:

Changed config:

Internals stuff:

Added APIs:

Deprecated APIs:

Changed outside facing stuff:

Admin:

@jospoortvliet
Copy link
Member

I put this on our forum so app devs can give input:
https://help.nextcloud.com/t/changes-coming-in-nc-14-time-to-prepare/27790/2

@nickvergessen
Copy link
Member

@jospoortvliet mind removing the actual changes, so we have only one place where we need to update stuff?

@MorrisJobke
Copy link
Member Author

@jospoortvliet mind removing the actual changes, so we have only one place where we need to update stuff?

Fixed it in the forums.

@MorrisJobke
Copy link
Member Author

We just added:

OCP\IL10N is strickly types which means that the t function expects an array (#8476) - see also #8497 for a relaxed version

But also check the OP to have the full list of changes we made so far.

@MorrisJobke
Copy link
Member Author

\OCP\Mail and the email templates got proper type hints: #8614

@MariusBluem We also need to update the "theme email template docs" then for 14 😉

@MorrisJobke
Copy link
Member Author

apps that are enabled for groups can now provide public pages, that are available even if a user is not logged in - see #8593

@jospoortvliet Also something for the release notes.

@MorrisJobke
Copy link
Member Author

Latest changes.

@MorrisJobke
Copy link
Member Author

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.

Added a note about the private namespace

@MorrisJobke
Copy link
Member Author

remove some deprecated methods of OCP\Response (#8792)

@MorrisJobke
Copy link
Member Author

MorrisJobke commented Mar 14, 2018

removed urlgenerator functions form OCP\Util (#8811)

@Fmstrat
Copy link

Fmstrat commented Aug 17, 2018

Blog posts about this right when 14 hit would have been great. I caught the one that just came out recently, and am just now realizing the OCP/DB's prepare is gone, meaning a rewrite of DB interactions. Can we start a process for blog posts on this early in the first beta?

@MorrisJobke
Copy link
Member Author

Can we start a process for blog posts on this early in the first beta?

That was the plan, but somehow slipped through and was done quite late. Also as you can see we tried to reach out to people early if we found their projects on some hosting platform (we check GitHub and Gitlab and even emailed some).

Also the prepare statement was annotated with the deprecation text for 3 years now. Typically IDEs show this to you inline so that you are aware of this.

@MorrisJobke
Copy link
Member Author

But sorry, that we missed to reach out to you :/ We try our best in the future.

@MorrisJobke
Copy link
Member Author

@Fmstrat Also the plan is to have such an overview ticket for every major release to which developer could subscribe and get the information as soon as possible.

@Fmstrat
Copy link

Fmstrat commented Aug 21, 2018

@MorrisJobke That all sounds excellent! As for IDEs, I'm old school with vim in a terminal, so no real assistance there. 😉

It would also be great if there was one ticket for all releases that was locked down, then when you open a new ticket for the next release place a link in the master one. That way developers can subscribe to the master issue and not miss when the new one is created. Thanks!

@MorrisJobke
Copy link
Member Author

It would also be great if there was one ticket for all releases that was locked down, then when you open a new ticket for the next release place a link in the master one. That way developers can subscribe to the master issue and not miss when the new one is created. Thanks!

We will have a look at this. Thanks for this valuable feedback.

@MorrisJobke
Copy link
Member Author

For 14 this one is done. I will post here also the overview ticket that is planned and then we continue with this kind of ticket in 15.

@Fmstrat
Copy link

Fmstrat commented Aug 24, 2018

@MorrisJobke Awesome, thank you! Posting the overview ticket here would be very helpful. I'll subscribe to that when it comes.

@MorrisJobke
Copy link
Member Author

The Nextcloud 16 version of this is in #12915

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants