Releases: limbo-works/Limbo.Umbraco.ModelsBuilder
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
TryGetMethod
andTryGetProperty
methods to theClassSummary
class (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
PackageId
property in Umbraco 12 (see 20e1561)
In Umbraco 12, thePackageManifest
clas now has aPackageId
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.
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 thev2
releases 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 thev1
releases 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.
v2.0.0
First stable release for Umbraco 10 π
Installation
Via NuGet:
dotnet add package Limbo.Umbraco.ModelsBuilder --version 2.0.0
or:
Install-Package Limbo.Umbraco.ModelsBuilder -Version 2.0.0
Changelog
-
Updated dashboard UI to show an error if last build date is missing (see 5e38918)
In previous releases, a "Models are up-to-date." success message would be shown in the dashboard if last build date was unavailable. As of this release, an error will be shown instead until models are re-generated. -
Misc improvements to the dashboard UI (see 146e33b and 6753b88)
The look and feel of the dashboard has been polished a bit - eg. so that an error isn't shown before the dashboard has actually loaded. -
Added support for nullable reference types (see 390a288)
The package is it self now has nullable reference types enabled. -
Appended
global::
to type name to avoid namespace issues (see f85b569 and d3eb9d0)
The internal models source generator now prependsglobal::
to namespaces to avoid naming conflicts. -
Added logic to add
[MaybeNull]
to generated properties and methods (see 5ae8031, c9804fd and a47bd92)
Generated properties and methods where the value is a reference type are now generated with a[MaybeNull]
to indicate that values may benull
. Nullability and whether the attribute is added to a specific property can be further controlled through the packages events and notifications system.