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

Umbraco 15: No more UmbracoAPIController #6466

Open
10 of 13 tasks
sofietoft opened this issue Sep 26, 2024 · 0 comments
Open
10 of 13 tasks

Umbraco 15: No more UmbracoAPIController #6466

sofietoft opened this issue Sep 26, 2024 · 0 comments

Comments

@sofietoft
Copy link
Contributor

sofietoft commented Sep 26, 2024

Update code samples using the obsolete UmbracoAPIController

In Umbraco 15, we are removing the UmbracoAPIController.
This means we should remove all references to the UmbracoAPIController in the documentation.

What needs to be done

In most scenarios, the UmbracoAPIController should be directly swappable with a standard Controller.

Testing is required to ensure the code compiles after making the swap.

Use Umbraco 14, where the UmbracoAPIController is already marked as obsolete.
You can also use the Release Candidate for Umbraco 15.

Follow these steps:

  1. Locate a code snippet that uses the UmbracoAPIController
  2. Put the code into a project
  3. Swap UmbracoAPIController with Controller
  4. Run the project to test whether the code compiles

Depending on the result of this test, do the following:

  • It compiles - woohoo! 🥳
    • Make a PR for the change and keep the task in this Issue checked ✅
  • It doesn't compile 😞
    • Add the relevant information as a comment on this issue, and we'll pick it up for further investigation 🔍

Code snippets that need to be tested

I'll add checkmarks to the articles that have been updated 🙌

Tasks

No tasks being tracked yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant