v1.6.0
Collections
- Added
SortandSortDescendingextensions forObservableCollectioninstances - Added
IsNullOrEmptyvalidation extension forIEnumerableinstances - Added
GetValueOrDefaultextension forDictionaryinstances - Removed UWP as target framework (no longer required)
Data Converters
- Added
ToFormattedStringextension tobooland nullableboolinstances - Added
ToDelimitedStringextension forIEnumerableobjects with custom string delimiter option - Added
ToMetersandToMilesconversion extensions fordoubleinstances - Modified the
BooleanToStringValueConverterto extract non-platform specific logic out to be used cross-platforms - Marked the UWP specific value converters as obsolete and target the
UI.Data.Converterslibrary
Data Entity Framework
- Added
Pageand column name basedOrderByextensions for Entity FrameworkQueryableobjects to ease the implementation of paginated requests - Updated EF Core and EF Core Plus packages to latest versions
Data Serialization
- Added
Data.Serializationlibrary with a service for handling type migrations within JSON files saved with Type information contained within it
Data Validation
- Added
IValidationCollectioninterface that can be used to create custom validation collection solution and updated theValidatorCollectionimplementation to support this - Added
Base64Validatorto ensure a value is a valid bas64 string - Added
GuidValidatorto ensure a value can be parsed as a GUID - Added
LongitudeValidatorandLatitudeValidatorto ensure a value is within the expected ranges for lat and long - Added
MacAddressValidatorto ensure a value is a valid MAC address using the .NETPhysicalAddressparser - Added
PredicateValidatorto provide a mechanism to validate objects based on custom validation logic for it - Added
WellFormedUrlValidatorto ensure a value is considered a well-formed URL (https/http/ftp/etc.) - Updated
BetweenValidatorto includeInclusiveflag to customize the min/max range of validity - Updated the
Validatemethod to virtual to allow custom pre or post validation logic for custom built regular expression validators - Removed UWP as target framework (no longer required)
Data Validation for Fluent Validation
- Added
Data.Validation.FluentValidationlibrary that builds on the existing Validation library to allow FluentValidation to be used as a target for validating in the UI using theInputValidatorcomponent for Uno Platform
Runtime
- Added
GetPropertyNamesextension forobjectinstances to get all the property names from the specified object as a list of strings
What's Changed
- Added FluentValidation support for validators by @jamesmcroft in #233
- Added IValidator support to constructor for FluentValidatorCollection by @jamesmcroft in #234
- Removed MADE.Media.Image by @jamesmcroft in #235
- Bump FluentValidation from 10.4.0 to 11.0.0 by @dependabot in #236
- Added pagination and ordering extensions for EF queries by @jamesmcroft in #237
- Updated NuGet packages by @jamesmcroft in #243
- Updated packages by @jamesmcroft in #246
- #247 - Added JSON.NET Type migration binder by @jamesmcroft in #248
- Added collection of new data validators by @jamesmcroft in #249
- Alteration to mark Windows specifics as Obsolete by @jamesmcroft in #250
- Port of usable components from personal archived projects by @jamesmcroft in #251
Full Changelog: v1.5.0...v1.6.0