Version 2.0.4

Date 2023-09-02 (440 days ago)
Downloads 2,637 downloads
NuGet View on NuGet
GitHub View on GitHub
Target Frameworks .NET 6
Umbraco Versions Umbraco 10 Umbraco 11 Umbraco 12

New stable release for Umbraco 10, 11 and now 12 🎉

#installation">Installation

Via NuGet:

dotnet add package Limbo.Umbraco.ModelsBuilder --version 2.0.4

or:

Install-Package Limbo.Umbraco.ModelsBuilder -Version 2.0.4

#changelog">Changelog

  • Internal code analysis now has support for file-scoped namespaces (see #18 and 8ca758c)
    As part of the models generation, the package will look for partials for generated model classes. Since C# historically only have had block-scoped namespaces, the code analysis logic in this package didn't support partial class files using file-scoped namespaces. With this release, both block-scoped and file-scoped namespaces are supported.

  • Updated package manifest filter to set PackageId property in Umbraco 12 (see 20e1561)
    In Umbraco 12, the PackageManifest clas now has a PackageId property to indicate the NuGet ID of a package. As of this release, the package uses reflection to set this property when the package is used with Umbraco 12.