Version 1.0.0-beta005

Beta
Date 2022-03-09 (988 days ago)
Downloads 889 downloads
NuGet View on NuGet
GitHub View on GitHub
Target Frameworks .NET 5
Umbraco Versions Umbraco 9

New beta release 🎉

#installation">Installation

Via NuGet:

dotnet add package Limbo.Umbraco.ModelsBuilder --version 1.0.0-beta005

or:

Install-Package Limbo.Umbraco.ModelsBuilder -Version 1.0.0-beta005

#changelog">Changelog

  • Generated properties should use the new keyword (see 10da2b2)
    When extending from a custom base class, generated properties may conflict with properties of the base class. The properties of the generated model should likely be ignored, but if not, the properties will result in compile warnings. Adding the new keyword prevent these compile warnings.

  • Updates ModelsComposer to generate extension methods (see 2d58bcc and 96753a0)
    The extension methods provide a strongly typed way of getting values for a specific culture and/or segment. Idea based on question from Rosen Petrov here: https://umbracians.slack.com/archives/CH7SZDFAP/p1646165845009629

  • Updated the Skybrud.Essentials dependency (see ddd8395)
    Updated the dependency to the newest version.

  • Updated logic around lastbuild.flag file (see df2c457)
    Rather than a random text, the lastbuild.flag now contains the timestamp for when the models was last generated. This in particular useful when the file is added to version control and shared between team members, as the write time of the file then wouldn't be reliable.