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.