Releases: limbo-works/Limbo.Umbraco.ModelsBuilder
v13.0.3
New release for Umbraco 13. This release will not work with other versions of Umbraco.
Installation
Via NuGet:
.NET CLI:
dotnet add package Limbo.Umbraco.ModelsBuilder --version 13.0.3
NuGet Package Manager:
Install-Package Limbo.Umbraco.ModelsBuilder -Version 13.0.3
Changelog
-
Static methods for properties that are ignored are no longer part of the generated files (see cc3116b)
TheModelsSourceGeneratorhas various checks to ensure that it won't generate properties that are marked as ignored, but similar checks when generating the static methods for the same properties where missing. With this release, static methods for ignored properties will no longer be included in the generated files. -
Updated the Skybrud.Essentials dependency (see 503651d)
More legacy functionality, which will eventually be removed in v1.2.0, has now been marked as obsolete in v1.1.59, making it a good idea to update the dependency.
v13.0.2
New release for Umbraco 13. This release will not work with other versions of Umbraco.
Installation
Via NuGet:
.NET CLI:
dotnet add package Limbo.Umbraco.ModelsBuilder --version 13.0.2
NuGet Package Manager:
Install-Package Limbo.Umbraco.ModelsBuilder -Version 13.0.2
Changelog
-
Misc improvements around compositions (see 181aac0)
Each composition type results in both an interface and a class that implements the interface. In previous releases, if a composition had any compositions on its own, only the generated class would implement the interfaces for those compositions, but not the generated interfaces. As of this release, the generated interface will now implement the composition interfaces instead.If a type is a composition, the properties generated for that composition will call a static method in the class for that composition. Since the composition class may be located in a different namespace, this commit will ensure that a using statement is added for the namespace if different from the model namespace.
v13.0.1
New release for Umbraco 13. This release will not work with other versions of Umbraco.
Installation
Via NuGet:
.NET CLI:
dotnet add package Limbo.Umbraco.ModelsBuilder --version 13.0.1
NuGet Package Manager:
Install-Package Limbo.Umbraco.ModelsBuilder -Version 13.0.1
-
Updated models source generator to generate properties if partial class has property with same name but it has an explicit interface specifier (see bb8fc2f)
-
Updated the information the package exposes about it self (see 282f1c8)
-
Added
TryGetMethodandTryGetPropertymethods to theClassSummaryclass (see 57214d3) -
Updated summary classes to expose the syntax instances they are based on (see 9d124a7)
v13.0.0
v2.0.5
New stable release for Umbraco 10, 11 and now 12 🎉
Installation
Via NuGet:
.NET CLI:
dotnet add package Limbo.Umbraco.ModelsBuilder --version 2.0.5
NuGet Package Manager:
Install-Package Limbo.Umbraco.ModelsBuilder -Version 2.0.5
Changelog
v2.0.4
New stable release for Umbraco 10, 11 and now 12 🎉
Installation
Via NuGet:
dotnet add package Limbo.Umbraco.ModelsBuilder --version 2.0.4
or:
Install-Package Limbo.Umbraco.ModelsBuilder -Version 2.0.4
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
PackageIdproperty in Umbraco 12 (see 20e1561)
In Umbraco 12, thePackageManifestclas now has aPackageIdproperty 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.
v2.0.3
New stable release for Umbraco 10, 11 and now 12 🎉
Installation
Via NuGet:
dotnet add package Limbo.Umbraco.ModelsBuilder --version 2.0.3
or:
Install-Package Limbo.Umbraco.ModelsBuilder -Version 2.0.3
Changelog
-
Updated the upper bound for the Umbraco dependencies to allow using the package with Umbraco 12 (see a359cb8)
As Umbraco 12 was released earlier this week, and no changes are required for the package to run on Umbraco 12, the upper bound of the Umbraco dependencies has been raised to allow running on Umbraco 12. -
Updated the Skybrud.Essentials dependency (see 2461db9)
Might as well reference the newest version.
v2.0.2
New stable release for Umbraco 10 and 11 🎉
Installation
Via NuGet:
dotnet add package Limbo.Umbraco.ModelsBuilder --version 2.0.2
or:
Install-Package Limbo.Umbraco.ModelsBuilder -Version 2.0.2
Changelog
v2.0.1
New stable release for Umbraco 10 and 11 🎉
Installation
Via NuGet:
dotnet add package Limbo.Umbraco.ModelsBuilder --version 2.0.1
or:
Install-Package Limbo.Umbraco.ModelsBuilder -Version 2.0.1
Changelog
- Added upper bound for Umbraco dependencies (see a9f5089)
As thev2releases specifically target Umbraco 10 and 11, this is now reflected by the dependencies of the NuGet package.
v1.0.1
New stable release for Umbraco 9 🎉
Installation
Via NuGet:
dotnet add package Limbo.Umbraco.ModelsBuilder --version 1.0.1
or:
Install-Package Limbo.Umbraco.ModelsBuilder -Version 1.0.1
Changelog
-
Added upper bound for Umbraco dependencies (see 7a00ed9)
As thev1releases specifically target Umbraco 9, this is now reflected by the dependencies of the NuGet package. -
Updated the Skybrud.Essentials dependency (see 4f0a013)
The Skybrud.Essentials dependency has now been updated to the newest version.