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