v1.5
v1.5.1
Bugfixes
Input.vuewas not handling empty numeric in query bound parameters, fixedQueryMethodAttributewas not added due to incorrect order, fixed- Label mode setting UX and Theme conventions were overriding label values,
fixed
- Minor breaking change:
LabeLFloatInis renamed asLabelFloatIn
- Minor breaking change:
QueryActionAsDataContainerUxFeaturewas using domain parameter name directly causing some inputs to stay on the container, fixed by using API parameter name- Descriptor errors were not breaking the build when reported directly, fixed
- Minor breaking change:
DiagnosticsResult.Errorsproperty is renamed asDiagnosticsResult.Exceptions
- Minor breaking change:
v1.5.0
Features
Labelercomponent is introduced to standardize labeling of input componentsILabelerschema interface is introduced to allow conventions to change label configuration at onceSelect,SelectButton,InputText,InputNumbernow implementsILabeler.LabelIfta(...),.LabelFloatOn(...),.LabelFloatIn(...),LabelFloatOver(...)and.LabelNone()extensions are available for any component schema that implementsILabeler
QueryMethodCodingStylefeature is now added which marks methods of a query asQueryMethodalong withsort,skipandtakeparameters- New UX features are introduced in
MonolithrecipeQuerActionAsDataContainerUxFeatureto configure descriptor properties of query methods
DataContainercomponent is added to render enumerable datas with basic input supportPageSizecomponent is added which is an override ofSelectPaginatorcomponent is added for paging
Breaking Changes
CodeGenerationnamespace is changed toBuiltime, along with its layer name and extensionsconfigurator.CodeGenerationis nowconfigurator.BuildtimeCodeGenerationLayeris nowBuildtimeLayer- Anything under
Baked.CodeGenerationis now underBaked.Buildtime
CodeGeneration.GenerateCodephase is now renamed asBuildtime.GenerateDescriptorBuilderAttributeandComponentDescriptorBuilderAttributeare renamed asGeneratorAttributeandComponentGeneratorAttributerespectivelyBuildmethod is renamed asGenerate
GetSchema,GetSchemas,GetRequiredSchema,GetComponentandGetRequiredComponentextension methods are renamed asGenerateSchema,GenerateSchemas,GenerateRequiredSchema,GenerateComponentandGenerateRequiredComponentrespectivelyFormPageschema is completely redesigned, migrate your existing configurations to match the new oneGroupAttributenow supports context based names throughthis[string context]indexer property- Use extension properties to set/get a group name for your custom context,
see
extension(GroupAttribute group) { public string MyCustomName { get => group["MyCustom"]; set => group["MyCustom"] = value; } }
- Use extension properties to set/get a group name for your custom context,
see
TabNameAttributeis now removed, instead getGroupAttributeand use itsTabNameextension propertySelect,InputText,InputNumbercomponent schemas does not requirelabel:in their component builders and constructors any moreServerPaginatoris renamed toPaginatorand converted to a componentServerPaginatoris removed fromDataTableschemaTakeis removed fromDataTableschemaSortis removed fromDataTableschema
Improvements
- Inspection mechanism
- Add trace wasn't showing up when initial value is null, fixed
- JSON serialization is restricted to only anonymous types to avoid unnecessarily long (and for some attributes failing) serializations
GiveMe.AnEnum<T>is now available, it returns the first element of given enumFormPagenow restricts tab navigation with only its inputs viav-focustrapInputnow supports numeric datas
Bugfixes
- Component action having
undefinedmodel value whenInputwas configured query bound, fixed
Library Upgrades
| NuGet Package | Old Version | New Version |
|---|---|---|
| Microsoft.Testing.Extensions.TrxReport | 2.2.1 | 2.2.2 |
| NUnit | 4.5.1 | 4.6.0 |
| System.IdentityModel.Tokens.Jwt | 8.17.0 | 8.18.0 |