Nikcio.UHeadless.Core.Umbraco 3.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Nikcio.UHeadless.Core.Umbraco --version 3.1.0                
NuGet\Install-Package Nikcio.UHeadless.Core.Umbraco -Version 3.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nikcio.UHeadless.Core.Umbraco" Version="3.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nikcio.UHeadless.Core.Umbraco --version 3.1.0                
#r "nuget: Nikcio.UHeadless.Core.Umbraco, 3.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Nikcio.UHeadless.Core.Umbraco as a Cake Addin
#addin nuget:?package=Nikcio.UHeadless.Core.Umbraco&version=3.1.0

// Install Nikcio.UHeadless.Core.Umbraco as a Cake Tool
#tool nuget:?package=Nikcio.UHeadless.Core.Umbraco&version=3.1.0                

Nikcio.UHeadless

Codacy Badge Maintainability Build UHeadless Nuget Downloads Nuget Version Nuget (with prereleases)

😄 If you use and like Nikcio.UHeadless please consider becoming a GitHub Sponsor 😄

This repository creates an easy setup solution for making Umbraco headless. It comes with a wide range of extensibility options that can be tailored to your needs.

Works on

  • Umbraco 9 (v1.x.x & v2.x.x)
  • Umbraco 10 (v2.x.x & v3.x.x)
  • Umbraco 11 (v3.x.x)

See more under Versioning

Setup

Install the package:

dotnet add Nikcio.UHeadless

Find it on Nuget

Add the extensions to the Startup.cs file:

using Nikcio.UHeadless.Extensions;

public void ConfigureServices(IServiceCollection services)
        {
            services.AddUmbraco(_env, _config)
                /* Code obmitted for clarity */
                .AddUHeadless()
                /* Code obmitted for clarity */
        }

public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
    /* Code obmitted for clarity */

    app.UseUHeadlessGraphQLEndpoint();

    app.UseUmbraco()
    /* etc... */
}

Now your content will be avalible at /graphql

To get started try adding some content to the root and run the following query:

{
  contentAtRoot {
    nodes {
      id,
      name
    }
  }
}

Documentation

Find the docs here

Extending packages

See How to use a extending package

Package name Status
Nikcio.UHeadless.Content Included*
Nikcio.UHeadless.Media Included*
Nikcio.UHeadless.ContentTypes Included*
Nikcio.UHeadless.Members Available
Nikcio.UHeadless.DataTypes Not started
Nikcio.UHeadless.Dictionary Not started
Nikcio.UHeadless.MediaTypes Not started
Nikcio.UHeadless.MemberTypes Not started

*Included means that the package is included in the Nikcio.UHeadless Nuget package.

**Preview means that the package is ready in a preview version.

Note: If a Nikcio.UHeadless.* package is not found in the list above it's not ready for use or is a core/base package used in the packages above.

Versioning

UHeadless following to the best of abillity Semantic Versioning. This means that the version numbers have the following meaning

vX.Y.Z

  • X (Major - Breaking change)
  • Y (Minor - Feature change)
  • Z (Patch - Bug fixes)

This also means that versions doesn't follow Umbracos major versions. To avoid supporting to many major versions the following versioning tactic has been choosen.

Versioning tactic

Each Umbraco LTS version will have a accompanying LTS UHeadless version. All other UHeadless majors not marked as LTS will stop support when a new major is released. In this way you as a developer can choose how often you expect to be updating UHeadless and Umbraco.

The two versioning tracks can be found in the table here:

Track UHeadless version Supported Umbraco version
LTS v3.x.x v10.x.x & v11.x.x
Edge v3.x.x v10.x.x & v11.x.x
Current stable v3.x.x v10.x.x & v11.x.x

Do note that LTS versions will not actively get new featues but will be bugfixed when a newer major is present

Contributing

This package is very much open for contribution see the Contributing Guide


😄 If you use and like Nikcio.UHeadless please consider becoming a GitHub Sponsor 😄

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.3.1 1,112 6/2/2023
3.3.0 4,598 1/18/2023
3.2.0 5,187 11/22/2022
3.1.0 873 11/16/2022
3.0.6 1,057 11/3/2022
3.0.5 1,129 10/18/2022
3.0.4 1,421 10/5/2022
3.0.3 1,072 10/5/2022
3.0.2 1,211 9/19/2022
3.0.1 1,210 9/3/2022
3.0.0 1,592 8/3/2022
3.0.0-preview003 275 8/3/2022
3.0.0-preview002 293 7/16/2022
3.0.0-preview001 208 7/16/2022
3.0.0-preview000 204 7/16/2022