Skip to content

v1.1.54

Compare
Choose a tag to compare
@abjerner abjerner released this 13 Dec 22:57
· 27 commits to v1/main since this release

Installation

Install via NuGet - either via the .NET CLI:

dotnet add package Skybrud.Essentials --version 1.1.54

or the NuGet Package Manager:

Install-Package Skybrud.Essentials -Version 1.1.54

Changelog

  • Compile constants for .NET 5 and .NET 6 should also apply to .NET 7 and .NET 8 (see #44 and 6fe82aa)
    For the v1.1.53 I added .NET 7 as an additional target framework, but forgot updating the compile constants used throughout the package, so large portions of the package weren't part of v1.1.53 when using the .NET 7 build. This release fixes the compile constants so the missing functionality is now is back.

  • Changed compile constants used in the NameValueCollectionExtensions.cs file and similar files (see 8790b87)
    Prior to this commit, the file content has only been enabled when the NET_FRAMEWORK compile constant is set. While the NameValueCollection class isn't available in all target frameworks, it is available from .NET Standard 2.0 and up as well as .NET 5 and up. To also enabled the file content for these target frameworks, we should instead check against the I_CAN_HAS_NAME_VALUE_COLLECTION compile constant.

  • Added ToTitleCase extension methods (see fc2f736)
    The implementation uses .NET's TextInfo.ToTitleCase method to convert a string to title case.

  • Added additional extension methods for "NameValueCollection" (see a93bfd0 and a68aa06)
    This provides some additional functionality for reading and parsing values from a NameValueCollection and also matches similar named extension methods for other collection.