v1.6.0
Collections
- Added
Sort
andSortDescending
extensions forObservableCollection
instances - Added
IsNullOrEmpty
validation extension forIEnumerable
instances - Added
GetValueOrDefault
extension forDictionary
instances - Removed UWP as target framework (no longer required)
Data Converters
- Added
ToFormattedString
extension tobool
and nullablebool
instances - Added
ToDelimitedString
extension forIEnumerable
objects with custom string delimiter option - Added
ToMeters
andToMiles
conversion extensions fordouble
instances - Modified the
BooleanToStringValueConverter
to extract non-platform specific logic out to be used cross-platforms - Marked the UWP specific value converters as obsolete and target the
UI.Data.Converters
library
Data Entity Framework
- Added
Page
and column name basedOrderBy
extensions for Entity FrameworkQueryable
objects to ease the implementation of paginated requests - Updated EF Core and EF Core Plus packages to latest versions
Data Serialization
- Added
Data.Serialization
library with a service for handling type migrations within JSON files saved with Type information contained within it
Data Validation
- Added
IValidationCollection
interface that can be used to create custom validation collection solution and updated theValidatorCollection
implementation to support this - Added
Base64Validator
to ensure a value is a valid bas64 string - Added
GuidValidator
to ensure a value can be parsed as a GUID - Added
LongitudeValidator
andLatitudeValidator
to ensure a value is within the expected ranges for lat and long - Added
MacAddressValidator
to ensure a value is a valid MAC address using the .NETPhysicalAddress
parser - Added
PredicateValidator
to provide a mechanism to validate objects based on custom validation logic for it - Added
WellFormedUrlValidator
to ensure a value is considered a well-formed URL (https/http/ftp/etc.) - Updated
BetweenValidator
to includeInclusive
flag to customize the min/max range of validity - Updated the
Validate
method 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.FluentValidation
library that builds on the existing Validation library to allow FluentValidation to be used as a target for validating in the UI using theInputValidator
component for Uno Platform
Runtime
- Added
GetPropertyNames
extension forobject
instances 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