Releases: MADE-Apps/MADE.NET
v2.0.0
What's Changed
This release brings support for .NET 7 & 8, as well as significant increments to package dependencies.
Support for Xamarin specific application code has been removed in this version. UWP support increases to a minimum of the last stable release of Windows 10.
- Updated minor version for dependencies by @jamesmcroft in #253
- Updated NuGet packages to latest versions by @jamesmcroft in #259
- Updated dependencies by @jamesmcroft in #263
- Updated NuGet packages by @jamesmcroft in #272
- 🧹 Code cleanup by @jamesmcroft in #274
- Added support for generic ID for EF entity by @jamesmcroft in #275
- Bump FluentValidation from 11.2.0 to 11.2.1 by @dependabot in #276
- Create codeql-analysis.yml by @jamesmcroft in #269
- Spruce up NuGet packages with README files by @jamesmcroft in #277
- Bump Microsoft.NET.Test.Sdk from 17.3.0 to 17.3.1 by @dependabot in #278
- ⬆️ Updated dependencies by @jamesmcroft in #288
- Bump Newtonsoft.Json from 13.0.1 to 13.0.2 by @dependabot in #302
- Bump Shouldly from 4.1.0 to 4.2.1 by @dependabot in #336
- Bump FluentValidation from 11.2.2 to 11.5.2 by @dependabot in #331
- Bump NUnit3TestAdapter from 4.2.1 to 4.5.0 by @dependabot in #343
- Upgrade to support .NET 7 & 8 by @jamesmcroft in #346
- Bump minimatch from 3.0.4 to 3.1.2 in /docs by @dependabot in #297
Full Changelog: v1.6.0...v2.0.0
v1.7.0-preview1
What's Changed
- Updated NuGet packages by @jamesmcroft
- 🧹 Code cleanup by @jamesmcroft in #274
- Added support for generic ID for EF entity by @jamesmcroft in #275
- Bump FluentValidation from 11.2.0 to 11.2.1 by @dependabot in #276
- Create codeql-analysis.yml by @jamesmcroft in #269
- Spruce up NuGet packages with README files by @jamesmcroft in #277
Full Changelog: v1.6.0...v1.7.0-preview1
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
v1.6.0-preview2
What's Changed
- Added IValidator support to constructor for FluentValidatorCollection by @jamesmcroft in #234
- Removed MADE.Media.Image by @jamesmcroft in #235
Full Changelog: v1.6.0-preview1...v1.6.0-preview2
v1.6.0-preview1
What's Changed
Added validation support for FluentValidation, and providing the framework to build out for other validation frameworks.
To be tested with MADE for Uno Platform.
- Added FluentValidation support for validators by @jamesmcroft in #233
Full Changelog: v1.5.0...v1.6.0-preview1
v1.5.0
- Added
AddIf
,AddRangeIf
,RemoveIf
,RemoveRangeIf
conditional collection extensions - Added
Shuffle
collection extension for randomly sorting an enumerable - Added
ToDaySuffix
date extension to provide the st, nd, rd, or th day suffix - Added
Truncate
string extension for shortening a value with an ellipsis suffix (...) - Added to/from Base 64 string conversion extensions and value converter
- Updated
EntityBase
configuration to support setting up the primary key ID - Added
IsLike
string extension for validating a wildcard LIKE style query against a specified value (e.g. "He*") - Added
JsonResult
and controller extensions to support returning the JSON result and internal server error result - Added dependency injection extensions for registering included web services such as the user accessor, and exception handling
- Updated EF NuGet packages to latest versions, supporting .NET 5 & 6 (dropped support for .NET Core 3.1)
- Added extensions for easily enabling API versioning via URL or header
- Migrated out Uno Platform / Windows specific components to MADE-Uno
What's Changed
- Updated Uno to v4 by @jamesmcroft in #199
- Improvements to MADE.NET landing page by @jamesmcroft in #201
- Updated styling for grid bordering system by @jamesmcroft in #202
- Updated getting started docs by @jamesmcroft in #209
- NuGet package update by @jamesmcroft in #210
- Bump MSBuild.Sdk.Extras from 3.0.38 to 3.0.44 by @dependabot in #206
- Bump NUnit3TestAdapter from 4.2.0 to 4.2.1 by @dependabot in #211
- Added API versioning extensions for .NET 5 applications by @jamesmcroft in #212
- Added new issue templates by @jamesmcroft in #220
- Bump coverlet.msbuild from 3.1.0 to 3.1.2 by @dependabot in #216
- Migrating Uno components from MADE.NET by @jamesmcroft in #221
- Updated EF package by @jamesmcroft in #222
- Removed .NET Core 3.1 support for EF Core library by @jamesmcroft in #227
- Bump NUnit from 3.13.2 to 3.13.3 by @dependabot in #228
- Bump minimist from 1.2.5 to 1.2.6 in /docs by @dependabot in #229
- Bump Bogus from 34.0.1 to 34.0.2 by @dependabot in #230
- Added new extensions and helpers across packages by @jamesmcroft in #232
Full Changelog: v1.4.0...v1.5.0
v1.4.0
What's Changed
Introduced .NET 6 support for the Web and Web MVC projects.
- Bump Microsoft.SourceLink.GitHub from 1.0.0 to 1.1.0 by @dependabot in #180
- Bump XPlat.Storage from 1.8.0 to 1.8.1 by @dependabot in #173
- Updated project icon by @jamesmcroft in #181
- Added .NET 6 support by @jamesmcroft in #182
Full Changelog: v1.3.2...v1.4.0
v1.3.2
What's Changed
- Add IEntityBase interface and update concrete class by @pedrolucasmr in #168
- Bump XPlat.Storage from 1.7.20109.1 to 1.8.0 by @dependabot in #170
- Updated project assets by @jamesmcroft in #171
New Contributors
- @pedrolucasmr made their first contribution in #168
Full Changelog: v1.3.1...v1.3.2
Release 1.3.1
Packages available on NuGet
What's Changed 🤔
Bump NuGet packages ☝🏻
NuGet packages have been bumped to newer minor releases. These include:
- Uno [3.9.7 => 3.10.11]
- EF Core (.NET 5) [5.0.9 => 5.0.11]
- EF Core (.NET Core 3.x) [3.1.18 => 3.1.20]
More Information 💭
Full Changelog: 1.3.0...v1.3.1
Release 1.3.0
Packages available on NuGet
Changes:
Improved Sample Application 📃
Included in this release is a new, updated sample application built with the Uno Platform 🤩
The sample application is not currently published to any app store but is available within the code base to run up when pulled or forked on a platform of choice.
The sample application is designed to highlight the features that are available throughout the MADE libraries including code samples that can be pulled into your own applications.
New packages ⭐
Taken from a few GitHub projects we've previously maintained and are currently working on, we've created 3 new library packages for you to consume in your applications.
The new packages available are:
- Foundation for providing safe API checking for MADE types in platform specific areas
- UI.Views.Dialogs for providing a simple mechanism for launching application dialogs on Windows, Android, iOS, and the Web from anywhere within application code
- UI.Views.Navigation and UI.Views.Navigation.Mvvm for providing simple page to page navigation approaches following the MVVM pattern
You can find out more about the details of these new packages in our documentation.
Doc improvements ⭐
Changes have been made to the documentation to include API reference documentation, as well as a search functionality to easily find what you're looking for!
Collection package changes ⭐
Included in this release are the following new extension methods from the Collections package:
- InsertAtPotentialIndex, allowing you to insert an item into a collection at the potential index determined by a predicate.
- PotentialIndexOf, a simple extension that returns an index for where an item could potentially be inserted into a collection by a predicate.
A new QueryableExtensions
class has also been introduced with a Chunk
method that allows a queryable object to be chunked in batch sizes.
Data.Converters package changes ⭐
Included in this release is collection of new extension methods for the DateTimeExtensions
including:
- ToNearestHour, allowing rounding a DateTime value to the nearest whole hour
- StartOfDay, returning a DateTime value based on the provided at the start of the day (e.g. midnight)
- EndOfDay, returning a DateTime value based on the provided at the end of the day (e.g. 1 tick before midnight)
- StartOfWeek, returning a DateTime value based on the provided at the start of the week (e.g. The first day of the week at midnight)
- EndOfWeek, returning a DateTime value based on the provided at the end of the week (e.g. The last day of the week at 1 tick before midnight)
- StartOfMonth, returning a DateTime value based on the provided at the start of the month (e.g. The first day of the month at midnight)
- EndOfMonth, returning a DateTime value based on the provided at the end of the month (e.g. The last day of the month at 1 tick before midnight)
- StartOfYear, returning a DateTime value based on the provided at the start of the year (e.g. The first day of the year at midnight)
- EndOfYear, returning a DateTime value based on the provided at the end of the year (e.g. The last day of the year at 1 tick before midnight)
Data.EFCore package changes ⭐
Included in this release are the following new extensions methods for DbContext values:
- TrySaveChangesAsync, attempting to save changes with error handling
- TryAsync, attempting to perform any action over a DbContext with error handling
The project has also been updated to ensure that the correct platform frameworks are made available in NuGet, i.e. netcoreapp3.1 for EF Core 3 and net5.0 for EF Core 5.
Data.Validation package changes ⭐
Included in this release are the following new extensions methods for comparable values:
- IsGreaterThanOrEqualTo, for comparing a value is greater than or equal to another
- IsLessThanOrEqualTo, for comparing a value is less than or equal to another
Also included are two new validators:
- MaxLengthValidator, for ensuring a value or collection is of a max length
- MinLengthValidator, for ensuring a value or collection is of a min length
Updated dependencies ⭐
To ensure we keep up-to-date with all the latest changes in our dependencies, this release includes a rev of the following NuGet packages:
- Uno.UI (3.7.3 -> 3.9.7)
- Affects UI, UI.Controls.FilePicker, UI.Controls.Validator, UI.Styling, UI.ViewManagement