umbraco-headrest
umbraco-headrest copied to clipboard
Upgrade to work with Umbraco 9.0.0+ / net5.0+
Upgrade to work with v9+ - WIP
We currently have a v8 project that we're upgrading to v11 - as Umbraco won't be releasing a headless API until v12, we thought it would be worth upgrading HeadRest to work with v11 first, and then downgrade the package versions to v9 to see if it still worked.
This is the work so far - I've got it working on a sample v11 Umbraco project, but we'll be integrating it into our upgraded v11 project in the next few weeks.
I'm raising this draft PR to see if this is something that you might be interested in - no worries if not...especially as headless is coming into core in v12!
Update: the site we're migrating from v8 > v11 is in PR and includes this version of HeadRest. It should be going through QA very soon so I'll update this with any bugfixes we make before marking it as ready for review!
Another update - our v11 project has been through QA and is going live tomorrow. I'll give it a week to settle in and then submit the PR if everything seems stable
Whoops - a bit more than a week...sorry about that! Everything seems to be working on live, so I think it seems good to go (bearing in mind we don't use all the features of HeadRest).
Is this a PR you think would be worth the effort to merge in/maintain? If so I can update some of the docs before submitting...if not, no worries 😄
Another update - our v11 project has been through QA and is going live tomorrow. I'll give it a week to settle in and then submit the PR if everything seems stable
could you share how to apply the .net core version to Umbraco 11 project? many thanks if you have any sample can share
could you share how to apply the .net core version to Umbraco 11 project? many thanks if you have any sample can share
Hi @luonghongthuan - apologies for the delayed reply, I've been away on leave!
It's been quite a while since we did the work, but I've just gone through the readme and updated it with how the configuration has changed - you can see the differences in the PR or view the updated readme here.
You can't install the package from nuget as it only exists in this PR. Instead you'll need to clone/pull down the project locally and either:
- Build the project and then copy/reference the DLLs from your own Umbraco project or
- Copy the project into your VS Solution alongside the Umbraco project and then reference the copied HeadRest project form your Umbraco project (this is what we've done).
Hope that helps!
Another update - our v11 project has been through QA and is going live tomorrow. I'll give it a week to settle in and then submit the PR if everything seems stable
Yet another update - we recently upgraded our v11 project to v13 and HeadRest is still working without any changes needed!
I also realised that I made a small change back when we upgraded to v11 which didn't get pushed, so I've just pushed that too.